Trendsic Platform Service

<back to all web services

FormGoSentRequest

Requires Authentication
The following routes are available for this service:
GET/v1/forms/go-sent
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class FormGoSentRequest
    {
        public UUID FormUID = null;
        
        public UUID getFormUID() { return FormUID; }
        public FormGoSentRequest setFormUID(UUID value) { this.FormUID = value; return this; }
    }

    public static class FormGoSentResponse
    {
        public ArrayList<FormGoSentRow> Rows = new ArrayList<FormGoSentRow>();
        public String Message = null;
        public ResponseStatus ResponseStatus = null;
        
        public ArrayList<FormGoSentRow> getRows() { return Rows; }
        public FormGoSentResponse setRows(ArrayList<FormGoSentRow> value) { this.Rows = value; return this; }
        public String getMessage() { return Message; }
        public FormGoSentResponse setMessage(String value) { this.Message = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public FormGoSentResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class FormGoSentRow
    {
        public Integer Id = null;
        public String Name = null;
        public String Position = null;
        public String FirstSentAt = null;
        public String FirstSentBy = null;
        public String LastSentAt = null;
        public String LastSentBy = null;
        public Integer Times = null;
        public String How = null;
        public String Went = null;
        public String Where = null;
        public Boolean CanRemove = null;
        
        public Integer getId() { return Id; }
        public FormGoSentRow setId(Integer value) { this.Id = value; return this; }
        public String getName() { return Name; }
        public FormGoSentRow setName(String value) { this.Name = value; return this; }
        public String getPosition() { return Position; }
        public FormGoSentRow setPosition(String value) { this.Position = value; return this; }
        public String getFirstSentAt() { return FirstSentAt; }
        public FormGoSentRow setFirstSentAt(String value) { this.FirstSentAt = value; return this; }
        public String getFirstSentBy() { return FirstSentBy; }
        public FormGoSentRow setFirstSentBy(String value) { this.FirstSentBy = value; return this; }
        public String getLastSentAt() { return LastSentAt; }
        public FormGoSentRow setLastSentAt(String value) { this.LastSentAt = value; return this; }
        public String getLastSentBy() { return LastSentBy; }
        public FormGoSentRow setLastSentBy(String value) { this.LastSentBy = value; return this; }
        public Integer getTimes() { return Times; }
        public FormGoSentRow setTimes(Integer value) { this.Times = value; return this; }
        public String getHow() { return How; }
        public FormGoSentRow setHow(String value) { this.How = value; return this; }
        public String getWent() { return Went; }
        public FormGoSentRow setWent(String value) { this.Went = value; return this; }
        public String getWhere() { return Where; }
        public FormGoSentRow setWhere(String value) { this.Where = value; return this; }
        public Boolean isCanRemove() { return CanRemove; }
        public FormGoSentRow setCanRemove(Boolean value) { this.CanRemove = value; return this; }
    }

}

Java FormGoSentRequest 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/forms/go-sent HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<FormGoSentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <Message>String</Message>
  <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>
  <Rows>
    <FormGoSentRow>
      <CanRemove>false</CanRemove>
      <FirstSentAt>String</FirstSentAt>
      <FirstSentBy>String</FirstSentBy>
      <How>String</How>
      <Id>0</Id>
      <LastSentAt>String</LastSentAt>
      <LastSentBy>String</LastSentBy>
      <Name>String</Name>
      <Position>String</Position>
      <Times>0</Times>
      <Went>String</Went>
      <Where>String</Where>
    </FormGoSentRow>
  </Rows>
</FormGoSentResponse>