Trendsic Platform Service

<back to all web services

FactFinderCodeStartRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
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 .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/FactFinderCodeStart HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<FactFinderCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <FactFinderCode>
    <FactFinderCode>
      <AgentId>0</AgentId>
      <AgentName>String</AgentName>
      <AssignedDate>0001-01-01T00:00:00</AssignedDate>
      <ContactId>0</ContactId>
      <ContactName>String</ContactName>
      <CreatedDate>0001-01-01T00:00:00</CreatedDate>
      <Id>0</Id>
      <SerialNumber>0</SerialNumber>
      <ShipDate>0001-01-01T00:00:00</ShipDate>
      <TrackingNumber>String</TrackingNumber>
    </FactFinderCode>
  </FactFinderCode>
  <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>
</FactFinderCodeResponse>