Trendsic Platform Service

<back to all web services

AssignedFactFinderCodeRequest

Requires Authentication
Requires any of the roles:Worker, Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/AssignedFactFinderCode
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class AssignedFactFinderCodeRequest
    {
        
    }

    public static class AssignedFactFinderCodeResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<FactFinderCodeSet> Assigned = new ArrayList<FactFinderCodeSet>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public AssignedFactFinderCodeResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<FactFinderCodeSet> getAssigned() { return Assigned; }
        public AssignedFactFinderCodeResponse setAssigned(ArrayList<FactFinderCodeSet> value) { this.Assigned = value; return this; }
    }

    public static class FactFinderCodeSet
    {
        public Integer AgentId = null;
        public String AgentName = null;
        public String TrackingNumber = null;
        public String ShipDate = null;
        public Date CreatedDate = null;
        public Integer StartCode = null;
        public Integer EndCode = null;
        public Integer Count = null;
        
        public Integer getAgentId() { return AgentId; }
        public FactFinderCodeSet setAgentId(Integer value) { this.AgentId = value; return this; }
        public String getAgentName() { return AgentName; }
        public FactFinderCodeSet setAgentName(String value) { this.AgentName = value; return this; }
        public String getTrackingNumber() { return TrackingNumber; }
        public FactFinderCodeSet setTrackingNumber(String value) { this.TrackingNumber = value; return this; }
        public String getShipDate() { return ShipDate; }
        public FactFinderCodeSet setShipDate(String value) { this.ShipDate = value; return this; }
        public Date getCreatedDate() { return CreatedDate; }
        public FactFinderCodeSet setCreatedDate(Date value) { this.CreatedDate = value; return this; }
        public Integer getStartCode() { return StartCode; }
        public FactFinderCodeSet setStartCode(Integer value) { this.StartCode = value; return this; }
        public Integer getEndCode() { return EndCode; }
        public FactFinderCodeSet setEndCode(Integer value) { this.EndCode = value; return this; }
        public Integer getCount() { return Count; }
        public FactFinderCodeSet setCount(Integer value) { this.Count = value; return this; }
    }

}

Java AssignedFactFinderCodeRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/AssignedFactFinderCode 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
		}
	},
	Assigned: 
	[
		{
			AgentId: 0,
			AgentName: String,
			TrackingNumber: String,
			ShipDate: String,
			CreatedDate: 0001-01-01,
			StartCode: 0,
			EndCode: 0,
			Count: 0
		}
	]
}