| Requires any of the roles: | Agent, Administrator |
| GET | /v1/FactFinderCodeStart |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class FactFinderCodeStartRequest
{
}
public static class FactFinderCodeResponse
{
public ResponseStatus ResponseStatus = null;
public ArrayList<FactFinderCode> FactFinderCode = new ArrayList<FactFinderCode>();
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public FactFinderCodeResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public ArrayList<FactFinderCode> getFactFinderCode() { return FactFinderCode; }
public FactFinderCodeResponse setFactFinderCode(ArrayList<FactFinderCode> value) { this.FactFinderCode = value; return this; }
}
public static class FactFinderCode
{
public Integer Id = null;
public Integer AgentId = null;
public Integer SerialNumber = null;
public Date ShipDate = null;
public String TrackingNumber = null;
public Date CreatedDate = null;
public Integer ContactId = null;
public Date AssignedDate = null;
public String AgentName = null;
public String ContactName = null;
public Integer getId() { return Id; }
public FactFinderCode setId(Integer value) { this.Id = value; return this; }
public Integer getAgentId() { return AgentId; }
public FactFinderCode setAgentId(Integer value) { this.AgentId = value; return this; }
public Integer getSerialNumber() { return SerialNumber; }
public FactFinderCode setSerialNumber(Integer value) { this.SerialNumber = value; return this; }
public Date getShipDate() { return ShipDate; }
public FactFinderCode setShipDate(Date value) { this.ShipDate = value; return this; }
public String getTrackingNumber() { return TrackingNumber; }
public FactFinderCode setTrackingNumber(String value) { this.TrackingNumber = value; return this; }
public Date getCreatedDate() { return CreatedDate; }
public FactFinderCode setCreatedDate(Date value) { this.CreatedDate = value; return this; }
public Integer getContactId() { return ContactId; }
public FactFinderCode setContactId(Integer value) { this.ContactId = value; return this; }
public Date getAssignedDate() { return AssignedDate; }
public FactFinderCode setAssignedDate(Date value) { this.AssignedDate = value; return this; }
public String getAgentName() { return AgentName; }
public FactFinderCode setAgentName(String value) { this.AgentName = value; return this; }
public String getContactName() { return ContactName; }
public FactFinderCode setContactName(String value) { this.ContactName = value; return this; }
}
}
Java FactFinderCodeStartRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/FactFinderCodeStart HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"FactFinderCode":[{"Id":0,"AgentId":0,"SerialNumber":0,"ShipDate":"0001-01-01T00:00:00.0000000","TrackingNumber":"String","CreatedDate":"0001-01-01T00:00:00.0000000","ContactId":0,"AssignedDate":"0001-01-01T00:00:00.0000000","AgentName":"String","ContactName":"String"}]}