| Requires any of the roles: | Agent, Administrator |
| GET | /v1/FFSectionType |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class FFSectionTypeRequest
{
}
public static class FFSectionTypeResponse
{
public ResponseStatus ResponseStatus = null;
public ArrayList<FFSectionType> FFSectionType = new ArrayList<FFSectionType>();
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public FFSectionTypeResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public ArrayList<FFSectionType> getFfSectionType() { return FFSectionType; }
public FFSectionTypeResponse setFfSectionType(ArrayList<FFSectionType> value) { this.FFSectionType = value; return this; }
}
public static class FFSectionType
{
public Integer Id = null;
public String Name = null;
public Boolean CanDuplicate = null;
public Integer getId() { return Id; }
public FFSectionType setId(Integer value) { this.Id = value; return this; }
public String getName() { return Name; }
public FFSectionType setName(String value) { this.Name = value; return this; }
public Boolean isCanDuplicate() { return CanDuplicate; }
public FFSectionType setCanDuplicate(Boolean value) { this.CanDuplicate = value; return this; }
}
}
Java FFSectionTypeRequest 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/FFSectionType 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
}
},
FFSectionType:
[
{
Id: 0,
Name: String,
CanDuplicate: False
}
]
}