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}
"use strict";
export class AgentCrmRecruit {
    /** @param {{Rank?:string,AgentLevel?:string,UL1FirstName?:string,UL1MiddleName?:string,UL1LastName?:string,UL2FirstName?:string,UL2MiddleName?:string,UL2LastName?:string,UL3FirstName?:string,UL3MiddleName?:string,UL3LastName?:string,UL4FirstName?:string,UL4MiddleName?:string,UL4LastName?:string,firstMVP?:string,lastMVP?:string,firstAVP?:string,lastAVP?:string,firstRVP?:string,lastRVP?:string,ResidentLicenseState?:string,ResidentLicenseExpirationDate?:string,AgentId?:number,AgentStatus?:string,Office?:string,Upline1Percent?:number,Upline2Percent?:number,Upline3Percent?:number,Upline4Percent?:number,FirstName?:string,LastName?:string,MiddleInitial?:string,Address1?:string,Address2?:string,City?:string,State?:string,Zip?:string,Email?:string,BusinessEmail?:string,HomePhone?:string,CellPhone?:string,WorkPhone?:string,Fax?:string,AgentNumber?:string,PlacementAgent?:string,CreatedDate?:string,Level?:string,Package?:string,AppCount?:number,Cashflow?:number,TimeZone?:string,Tags?:string,Longitude?:number,Latitude?:number}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    Rank;
    /** @type {string} */
    AgentLevel;
    /** @type {string} */
    UL1FirstName;
    /** @type {string} */
    UL1MiddleName;
    /** @type {string} */
    UL1LastName;
    /** @type {string} */
    UL2FirstName;
    /** @type {string} */
    UL2MiddleName;
    /** @type {string} */
    UL2LastName;
    /** @type {string} */
    UL3FirstName;
    /** @type {string} */
    UL3MiddleName;
    /** @type {string} */
    UL3LastName;
    /** @type {string} */
    UL4FirstName;
    /** @type {string} */
    UL4MiddleName;
    /** @type {string} */
    UL4LastName;
    /** @type {string} */
    firstMVP;
    /** @type {string} */
    lastMVP;
    /** @type {string} */
    firstAVP;
    /** @type {string} */
    lastAVP;
    /** @type {string} */
    firstRVP;
    /** @type {string} */
    lastRVP;
    /** @type {string} */
    ResidentLicenseState;
    /** @type {string} */
    ResidentLicenseExpirationDate;
    /** @type {number} */
    AgentId;
    /** @type {string} */
    AgentStatus;
    /** @type {string} */
    Office;
    /** @type {number} */
    Upline1Percent;
    /** @type {number} */
    Upline2Percent;
    /** @type {number} */
    Upline3Percent;
    /** @type {number} */
    Upline4Percent;
    /** @type {string} */
    FirstName;
    /** @type {string} */
    LastName;
    /** @type {string} */
    MiddleInitial;
    /** @type {string} */
    Address1;
    /** @type {string} */
    Address2;
    /** @type {string} */
    City;
    /** @type {string} */
    State;
    /** @type {string} */
    Zip;
    /** @type {string} */
    Email;
    /** @type {string} */
    BusinessEmail;
    /** @type {string} */
    HomePhone;
    /** @type {string} */
    CellPhone;
    /** @type {string} */
    WorkPhone;
    /** @type {string} */
    Fax;
    /** @type {string} */
    AgentNumber;
    /** @type {string} */
    PlacementAgent;
    /** @type {string} */
    CreatedDate;
    /** @type {string} */
    Level;
    /** @type {string} */
    Package;
    /** @type {number} */
    AppCount;
    /** @type {number} */
    Cashflow;
    /** @type {string} */
    TimeZone;
    /** @type {string} */
    Tags;
    /** @type {number} */
    Longitude;
    /** @type {number} */
    Latitude;
}
export class AgentCrmRecruitResponse {
    /** @param {{ResponseStatus?:ResponseStatus,AgentCrmRecruit?:AgentCrmRecruit[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    ResponseStatus;
    /** @type {AgentCrmRecruit[]} */
    AgentCrmRecruit = [];
}
export class AgentCrmRecruitRequest {
    /** @param {{AgentID?:number,AgentCrmRecruit?:AgentCrmRecruit[],StartDate?:string,EndDate?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    AgentID;
    /** @type {AgentCrmRecruit[]} */
    AgentCrmRecruit = [];
    /** @type {string} */
    StartDate;
    /** @type {string} */
    EndDate;
}

JavaScript AgentCrmRecruitRequest 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/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>