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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AssignedFactFinderCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <Assigned>
    <FactFinderCodeSet>
      <AgentId>0</AgentId>
      <AgentName>String</AgentName>
      <Count>0</Count>
      <CreatedDate>0001-01-01T00:00:00</CreatedDate>
      <EndCode>0</EndCode>
      <ShipDate>String</ShipDate>
      <StartCode>0</StartCode>
      <TrackingNumber>String</TrackingNumber>
    </FactFinderCodeSet>
  </Assigned>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
</AssignedFactFinderCodeResponse>