| GET | /{Workspace}/PricingListReport/{StartDate}/{EndDate} |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
/**
* Returns an HTML report showing the pricing list report. For week, specify the date as yyyymmdd. This date represents Sunday (1st day of the week) for the week to return. For month, specify the date as yyyymm. For year, specify the date as yyyy. Alternatively, these services email a recipient with the report in .csv or .html format. i.e. /{Workspace}/Mileage/Week/{Date}/{Recipient}/?format=CSV/{Workspace}/Mileage/Week/{Date}/{Recipient}/?format=HTML
*/
public static class PricingListReport
{
public String StartDate = null;
public String EndDate = null;
public String Workspace = null;
public String Recipient = null;
public String RequestKey = null;
public String getStartDate() { return StartDate; }
public PricingListReport setStartDate(String value) { this.StartDate = value; return this; }
public String getEndDate() { return EndDate; }
public PricingListReport setEndDate(String value) { this.EndDate = value; return this; }
public String getWorkspace() { return Workspace; }
public PricingListReport setWorkspace(String value) { this.Workspace = value; return this; }
public String getRecipient() { return Recipient; }
public PricingListReport setRecipient(String value) { this.Recipient = value; return this; }
public String getRequestKey() { return RequestKey; }
public PricingListReport setRequestKey(String value) { this.RequestKey = 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}/PricingListReport/{StartDate}/{EndDate} HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/jsv