Trendsic Platform Service

<back to all web services

AgentRegistrationTempRequest

The following routes are available for this service:
POST,OPTIONS/v1/AgentRegistrationTemp
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class AgentRegistrationTempRequest : AgentRegistrationTemp()
{
}

open class AgentRegistrationTemp
{
    open var AgentRegistrationTempId:Int? = null
    open var ApplicationId:String? = null
    open var Company:String? = null
    open var EIN:String? = null
    open var FirstName:String? = null
    open var MiddleName:String? = null
    open var LastName:String? = null
    open var Address1:String? = null
    open var Address2:String? = null
    open var City:String? = null
    open var State:String? = null
    open var Zip:String? = null
    open var Email:String? = null
    open var HomePhone:String? = null
    open var CellPhone:String? = null
    open var WorkPhone:String? = null
    open var AgreeToDisclosures:Boolean? = null
    open var AgreeToDate:Date? = null
    open var PaidDate:Date? = null
    open var AgentNumber:String? = null
    open var Upline1Name:String? = null
    open var Upline1:Int? = null
    open var Upline2Name:String? = null
    open var Upline2:Int? = null
    open var RecruitedBy:String? = null
    open var CreatedDate:Date? = null
    open var DOB:Date? = null
    open var SSN:String? = null
    open var Password:String? = null
    open var Upline1Percent:BigDecimal? = null
    open var Upline2Percent:BigDecimal? = null
    open var AgentId:Int? = null
    open var AccountName:String? = null
    open var AccountType:String? = null
    open var AccountNumber:String? = null
    open var AccountRouting:String? = null
    open var w9_1:String? = null
    open var w9_2:String? = null
    open var w9_3_1:String? = null
    open var w9_3_2:String? = null
    open var w9_3_3:String? = null
    open var w9_3_4:String? = null
    open var w9_3_5:String? = null
    open var w9_3_6:String? = null
    open var w9_3_7:String? = null
    open var w9_3_8:String? = null
    open var w9_4_1:String? = null
    open var w9_4_2:String? = null
    open var w9_5:String? = null
    open var w9_6:String? = null
    open var w9_7:String? = null
    open var IsSecurityLicensed:Boolean? = null
    open var SecurityLicense:String? = null
    open var Position:String? = null
    open var School:String? = null
    open var District:String? = null
    open var StoreName:String? = null
}

open class AgentRegistrationTempResponse
{
    open var Success:Boolean? = null
    open var Message:String? = null
    open var ResponseStatus:ResponseStatus? = null
    open var AgentRegistrationTempId:Int? = null
}

Kotlin AgentRegistrationTempRequest 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.

POST /v1/AgentRegistrationTemp HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<AgentRegistrationTempRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <AccountName>String</AccountName>
  <AccountNumber>String</AccountNumber>
  <AccountRouting>String</AccountRouting>
  <AccountType>String</AccountType>
  <Address1>String</Address1>
  <Address2>String</Address2>
  <AgentId>0</AgentId>
  <AgentNumber>String</AgentNumber>
  <AgentRegistrationTempId>0</AgentRegistrationTempId>
  <AgreeToDate>0001-01-01T00:00:00</AgreeToDate>
  <AgreeToDisclosures>false</AgreeToDisclosures>
  <ApplicationId>String</ApplicationId>
  <CellPhone>String</CellPhone>
  <City>String</City>
  <Company>String</Company>
  <CreatedDate>0001-01-01T00:00:00</CreatedDate>
  <DOB>0001-01-01T00:00:00</DOB>
  <District>String</District>
  <EIN>String</EIN>
  <Email>String</Email>
  <FirstName>String</FirstName>
  <HomePhone>String</HomePhone>
  <IsSecurityLicensed>false</IsSecurityLicensed>
  <LastName>String</LastName>
  <MiddleName>String</MiddleName>
  <PaidDate>0001-01-01T00:00:00</PaidDate>
  <Password>String</Password>
  <Position>String</Position>
  <RecruitedBy>String</RecruitedBy>
  <SSN>String</SSN>
  <School>String</School>
  <SecurityLicense>String</SecurityLicense>
  <State>String</State>
  <StoreName>String</StoreName>
  <Upline1>0</Upline1>
  <Upline1Name>String</Upline1Name>
  <Upline1Percent>0</Upline1Percent>
  <Upline2>0</Upline2>
  <Upline2Name>String</Upline2Name>
  <Upline2Percent>0</Upline2Percent>
  <WorkPhone>String</WorkPhone>
  <Zip>String</Zip>
  <w9_1>String</w9_1>
  <w9_2>String</w9_2>
  <w9_3_1>String</w9_3_1>
  <w9_3_2>String</w9_3_2>
  <w9_3_3>String</w9_3_3>
  <w9_3_4>String</w9_3_4>
  <w9_3_5>String</w9_3_5>
  <w9_3_6>String</w9_3_6>
  <w9_3_7>String</w9_3_7>
  <w9_3_8>String</w9_3_8>
  <w9_4_1>String</w9_4_1>
  <w9_4_2>String</w9_4_2>
  <w9_5>String</w9_5>
  <w9_6>String</w9_6>
  <w9_7>String</w9_7>
</AgentRegistrationTempRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AgentRegistrationTempResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <AgentRegistrationTempId>0</AgentRegistrationTempId>
  <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>
  <Success>false</Success>
</AgentRegistrationTempResponse>