| GET | /report/uplift |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GenerateUpliftReport
{
public Integer upliftId = null;
public Integer getUpliftId() { return upliftId; }
public GenerateUpliftReport setUpliftId(Integer value) { this.upliftId = value; return this; }
}
public static class GetResourceResponse
{
public HashMap<String,String> options = null;
public HashMap<String,String> getOptions() { return options; }
public GetResourceResponse setOptions(HashMap<String,String> value) { this.options = value; return this; }
}
}
Java GenerateUpliftReport DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /report/uplift HTTP/1.1 Host: antel.api.dev.86degrees.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{Unable to show example output for type 'GetResourceResponse' using the custom 'csv' filter}Cannot dynamically create an instance of type 'WebService.ServiceModel.Base.GetResourceResponse'. Reason: No parameterless constructor defined.