| GET | /{Workspace}/UserSummary/{StartDate}/{EndDate}/{Period} | ||
|---|---|---|---|
| GET | /{Workspace}/UserSummary/{StartDate}/{EndDate}/{Period}/{Recipient} |
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
/**
* Returns a user summary report for the period. Date format is yyyymmdd.
*/
public static class UserSummary
{
public String StartDate = null;
public String EndDate = null;
public String Period = null;
public String Workspace = null;
public String Recipient = null;
public String getStartDate() { return StartDate; }
public UserSummary setStartDate(String value) { this.StartDate = value; return this; }
public String getEndDate() { return EndDate; }
public UserSummary setEndDate(String value) { this.EndDate = value; return this; }
public String getPeriod() { return Period; }
public UserSummary setPeriod(String value) { this.Period = value; return this; }
public String getWorkspace() { return Workspace; }
public UserSummary setWorkspace(String value) { this.Workspace = value; return this; }
public String getRecipient() { return Recipient; }
public UserSummary setRecipient(String value) { this.Recipient = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /{Workspace}/UserSummary/{StartDate}/{EndDate}/{Period} HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/jsv