| GET | /v1/RegistrationDisclosure |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class RegistrationDisclosureRequest
{
}
public static class DisclosureResponse
{
public ResponseStatus ResponseStatus = null;
public ArrayList<Disclosure> Disclosure = new ArrayList<Disclosure>();
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public DisclosureResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public ArrayList<Disclosure> getDisclosure() { return Disclosure; }
public DisclosureResponse setDisclosure(ArrayList<Disclosure> value) { this.Disclosure = value; return this; }
}
public static class Disclosure
{
public Integer DisclosureId = null;
public Date BeginDate = null;
public Date ExpireDate = null;
public String DisclosureText = null;
public Integer DisplayOrder = null;
public String DisclosureTitle = null;
public Integer getDisclosureId() { return DisclosureId; }
public Disclosure setDisclosureId(Integer value) { this.DisclosureId = value; return this; }
public Date getBeginDate() { return BeginDate; }
public Disclosure setBeginDate(Date value) { this.BeginDate = value; return this; }
public Date getExpireDate() { return ExpireDate; }
public Disclosure setExpireDate(Date value) { this.ExpireDate = value; return this; }
public String getDisclosureText() { return DisclosureText; }
public Disclosure setDisclosureText(String value) { this.DisclosureText = value; return this; }
public Integer getDisplayOrder() { return DisplayOrder; }
public Disclosure setDisplayOrder(Integer value) { this.DisplayOrder = value; return this; }
public String getDisclosureTitle() { return DisclosureTitle; }
public Disclosure setDisclosureTitle(String value) { this.DisclosureTitle = value; return this; }
}
}
Java RegistrationDisclosureRequest 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 /v1/RegistrationDisclosure HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Disclosure":[{"DisclosureId":0,"BeginDate":"0001-01-01T00:00:00.0000000","ExpireDate":"0001-01-01T00:00:00.0000000","DisclosureText":"String","DisplayOrder":0,"DisclosureTitle":"String"}]}