Trendsic Platform Service

<back to all web services

AgentCrmRecruitRequest

Requires Authentication
Requires any of the roles:Worker, Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/AgentCrmRecruit/{AgentId}
AgentCrmRecruitRequest Parameters:
NameParameterData TypeRequiredDescription
AgentIDpathintNo
AgentCrmRecruitqueryList<AgentCrmRecruit>No
StartDatequeryDateTimeNo
EndDatequeryDateTimeNo
AgentCrmRecruit Parameters:
NameParameterData TypeRequiredDescription
RankformstringNo
AgentLevelformstringNo
UL1FirstNameformstringNo
UL1MiddleNameformstringNo
UL1LastNameformstringNo
UL2FirstNameformstringNo
UL2MiddleNameformstringNo
UL2LastNameformstringNo
UL3FirstNameformstringNo
UL3MiddleNameformstringNo
UL3LastNameformstringNo
UL4FirstNameformstringNo
UL4MiddleNameformstringNo
UL4LastNameformstringNo
firstMVPformstringNo
lastMVPformstringNo
firstAVPformstringNo
lastAVPformstringNo
firstRVPformstringNo
lastRVPformstringNo
ResidentLicenseStateformstringNo
ResidentLicenseExpirationDateformstringNo
AgentIdformintNo
AgentStatusformstringNo
OfficeformstringNo
Upline1PercentformdecimalNo
Upline2PercentformdecimalNo
Upline3PercentformdecimalNo
Upline4PercentformdecimalNo
FirstNameformstringNo
LastNameformstringNo
MiddleInitialformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
EmailformstringNo
BusinessEmailformstringNo
HomePhoneformstringNo
CellPhoneformstringNo
WorkPhoneformstringNo
FaxformstringNo
AgentNumberformstringNo
PlacementAgentformstringNo
CreatedDateformDateTimeNo
LevelformstringNo
PackageformstringNo
AppCountformdecimalNo
CashflowformdecimalNo
TimeZoneformstringNo
TagsformstringNo
LongitudeformdecimalNo
LatitudeformdecimalNo
AgentCrmRecruitResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
AgentCrmRecruitformList<AgentCrmRecruit>No

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/AgentCrmRecruit/{AgentId} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AgentCrmRecruitResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <AgentCrmRecruit>
    <AgentCrmRecruit>
      <Address1>String</Address1>
      <Address2>String</Address2>
      <AgentId>0</AgentId>
      <AgentLevel>String</AgentLevel>
      <AgentNumber>String</AgentNumber>
      <AgentStatus>String</AgentStatus>
      <AppCount>0</AppCount>
      <BusinessEmail>String</BusinessEmail>
      <Cashflow>0</Cashflow>
      <CellPhone>String</CellPhone>
      <City>String</City>
      <CreatedDate>0001-01-01T00:00:00</CreatedDate>
      <Email>String</Email>
      <Fax>String</Fax>
      <FirstName>String</FirstName>
      <HomePhone>String</HomePhone>
      <LastName>String</LastName>
      <Latitude>0</Latitude>
      <Level>String</Level>
      <Longitude>0</Longitude>
      <MiddleInitial>String</MiddleInitial>
      <Office>String</Office>
      <Package>String</Package>
      <PlacementAgent>String</PlacementAgent>
      <Rank>String</Rank>
      <ResidentLicenseExpirationDate>String</ResidentLicenseExpirationDate>
      <ResidentLicenseState>String</ResidentLicenseState>
      <State>String</State>
      <Tags>String</Tags>
      <TimeZone>String</TimeZone>
      <UL1FirstName>String</UL1FirstName>
      <UL1LastName>String</UL1LastName>
      <UL1MiddleName>String</UL1MiddleName>
      <UL2FirstName>String</UL2FirstName>
      <UL2LastName>String</UL2LastName>
      <UL2MiddleName>String</UL2MiddleName>
      <UL3FirstName>String</UL3FirstName>
      <UL3LastName>String</UL3LastName>
      <UL3MiddleName>String</UL3MiddleName>
      <UL4FirstName>String</UL4FirstName>
      <UL4LastName>String</UL4LastName>
      <UL4MiddleName>String</UL4MiddleName>
      <Upline1Percent>0</Upline1Percent>
      <Upline2Percent>0</Upline2Percent>
      <Upline3Percent>0</Upline3Percent>
      <Upline4Percent>0</Upline4Percent>
      <WorkPhone>String</WorkPhone>
      <Zip>String</Zip>
      <firstAVP>String</firstAVP>
      <firstMVP>String</firstMVP>
      <firstRVP>String</firstRVP>
      <lastAVP>String</lastAVP>
      <lastMVP>String</lastMVP>
      <lastRVP>String</lastRVP>
    </AgentCrmRecruit>
  </AgentCrmRecruit>
  <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>
</AgentCrmRecruitResponse>