| Requires any of the roles: | Agent, Administrator |
| GET | /v1/Application/GetDropdowns | ||
|---|---|---|---|
| GET | /v1/Application/GetDropdowns/{PortalID} | ||
| GET | /v1/Application/GetDropdowns/{PortalID}/{CarrierID} |
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class ApplicationGetDropdownsRequest
{
public String PortalID = null;
public String CarrierID = null;
public String getPortalID() { return PortalID; }
public ApplicationGetDropdownsRequest setPortalID(String value) { this.PortalID = value; return this; }
public String getCarrierID() { return CarrierID; }
public ApplicationGetDropdownsRequest setCarrierID(String value) { this.CarrierID = value; return this; }
}
public static class ApplicationGetDropdownsResponse
{
public ResponseStatus ResponseStatus = null;
public ArrayList<ApplicationDropdown> Dropdowns = new ArrayList<ApplicationDropdown>();
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public ApplicationGetDropdownsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public ArrayList<ApplicationDropdown> getDropdowns() { return Dropdowns; }
public ApplicationGetDropdownsResponse setDropdowns(ArrayList<ApplicationDropdown> value) { this.Dropdowns = value; return this; }
}
public static class ApplicationDropdown
{
public String ID = null;
public String Name = null;
public String getId() { return ID; }
public ApplicationDropdown setId(String value) { this.ID = value; return this; }
public String getName() { return Name; }
public ApplicationDropdown setName(String value) { this.Name = value; return this; }
}
}
Java ApplicationGetDropdownsRequest DTOs
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 /v1/Application/GetDropdowns HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
},
Dropdowns:
[
{
ID: String,
Name: String
}
]
}