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}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class AgentCrmRecruitRequest
    {
        public Integer AgentID = null;
        public ArrayList<AgentCrmRecruit> AgentCrmRecruit = new ArrayList<AgentCrmRecruit>();
        public Date StartDate = null;
        public Date EndDate = null;
        
        public Integer getAgentID() { return AgentID; }
        public AgentCrmRecruitRequest setAgentID(Integer value) { this.AgentID = value; return this; }
        public ArrayList<AgentCrmRecruit> getAgentCrmRecruit() { return AgentCrmRecruit; }
        public AgentCrmRecruitRequest setAgentCrmRecruit(ArrayList<AgentCrmRecruit> value) { this.AgentCrmRecruit = value; return this; }
        public Date getStartDate() { return StartDate; }
        public AgentCrmRecruitRequest setStartDate(Date value) { this.StartDate = value; return this; }
        public Date getEndDate() { return EndDate; }
        public AgentCrmRecruitRequest setEndDate(Date value) { this.EndDate = value; return this; }
    }

    public static class AgentCrmRecruit
    {
        public String Rank = null;
        public String AgentLevel = null;
        public String UL1FirstName = null;
        public String UL1MiddleName = null;
        public String UL1LastName = null;
        public String UL2FirstName = null;
        public String UL2MiddleName = null;
        public String UL2LastName = null;
        public String UL3FirstName = null;
        public String UL3MiddleName = null;
        public String UL3LastName = null;
        public String UL4FirstName = null;
        public String UL4MiddleName = null;
        public String UL4LastName = null;
        public String firstMVP = null;
        public String lastMVP = null;
        public String firstAVP = null;
        public String lastAVP = null;
        public String firstRVP = null;
        public String lastRVP = null;
        public String ResidentLicenseState = null;
        public String ResidentLicenseExpirationDate = null;
        public Integer AgentId = null;
        public String AgentStatus = null;
        public String Office = null;
        public BigDecimal Upline1Percent = null;
        public BigDecimal Upline2Percent = null;
        public BigDecimal Upline3Percent = null;
        public BigDecimal Upline4Percent = null;
        public String FirstName = null;
        public String LastName = null;
        public String MiddleInitial = null;
        public String Address1 = null;
        public String Address2 = null;
        public String City = null;
        public String State = null;
        public String Zip = null;
        public String Email = null;
        public String BusinessEmail = null;
        public String HomePhone = null;
        public String CellPhone = null;
        public String WorkPhone = null;
        public String Fax = null;
        public String AgentNumber = null;
        public String PlacementAgent = null;
        public Date CreatedDate = null;
        public String Level = null;
        public String Package = null;
        public BigDecimal AppCount = null;
        public BigDecimal Cashflow = null;
        public String TimeZone = null;
        public String Tags = null;
        public BigDecimal Longitude = null;
        public BigDecimal Latitude = null;
        
        public String getRank() { return Rank; }
        public AgentCrmRecruit setRank(String value) { this.Rank = value; return this; }
        public String getAgentLevel() { return AgentLevel; }
        public AgentCrmRecruit setAgentLevel(String value) { this.AgentLevel = value; return this; }
        public String getUL1FirstName() { return UL1FirstName; }
        public AgentCrmRecruit setUL1FirstName(String value) { this.UL1FirstName = value; return this; }
        public String getUL1MiddleName() { return UL1MiddleName; }
        public AgentCrmRecruit setUL1MiddleName(String value) { this.UL1MiddleName = value; return this; }
        public String getUL1LastName() { return UL1LastName; }
        public AgentCrmRecruit setUL1LastName(String value) { this.UL1LastName = value; return this; }
        public String getUL2FirstName() { return UL2FirstName; }
        public AgentCrmRecruit setUL2FirstName(String value) { this.UL2FirstName = value; return this; }
        public String getUL2MiddleName() { return UL2MiddleName; }
        public AgentCrmRecruit setUL2MiddleName(String value) { this.UL2MiddleName = value; return this; }
        public String getUL2LastName() { return UL2LastName; }
        public AgentCrmRecruit setUL2LastName(String value) { this.UL2LastName = value; return this; }
        public String getUL3FirstName() { return UL3FirstName; }
        public AgentCrmRecruit setUL3FirstName(String value) { this.UL3FirstName = value; return this; }
        public String getUL3MiddleName() { return UL3MiddleName; }
        public AgentCrmRecruit setUL3MiddleName(String value) { this.UL3MiddleName = value; return this; }
        public String getUL3LastName() { return UL3LastName; }
        public AgentCrmRecruit setUL3LastName(String value) { this.UL3LastName = value; return this; }
        public String getUL4FirstName() { return UL4FirstName; }
        public AgentCrmRecruit setUL4FirstName(String value) { this.UL4FirstName = value; return this; }
        public String getUL4MiddleName() { return UL4MiddleName; }
        public AgentCrmRecruit setUL4MiddleName(String value) { this.UL4MiddleName = value; return this; }
        public String getUL4LastName() { return UL4LastName; }
        public AgentCrmRecruit setUL4LastName(String value) { this.UL4LastName = value; return this; }
        public String getFirstMVP() { return firstMVP; }
        public AgentCrmRecruit setFirstMVP(String value) { this.firstMVP = value; return this; }
        public String getLastMVP() { return lastMVP; }
        public AgentCrmRecruit setLastMVP(String value) { this.lastMVP = value; return this; }
        public String getFirstAVP() { return firstAVP; }
        public AgentCrmRecruit setFirstAVP(String value) { this.firstAVP = value; return this; }
        public String getLastAVP() { return lastAVP; }
        public AgentCrmRecruit setLastAVP(String value) { this.lastAVP = value; return this; }
        public String getFirstRVP() { return firstRVP; }
        public AgentCrmRecruit setFirstRVP(String value) { this.firstRVP = value; return this; }
        public String getLastRVP() { return lastRVP; }
        public AgentCrmRecruit setLastRVP(String value) { this.lastRVP = value; return this; }
        public String getResidentLicenseState() { return ResidentLicenseState; }
        public AgentCrmRecruit setResidentLicenseState(String value) { this.ResidentLicenseState = value; return this; }
        public String getResidentLicenseExpirationDate() { return ResidentLicenseExpirationDate; }
        public AgentCrmRecruit setResidentLicenseExpirationDate(String value) { this.ResidentLicenseExpirationDate = value; return this; }
        public Integer getAgentId() { return AgentId; }
        public AgentCrmRecruit setAgentId(Integer value) { this.AgentId = value; return this; }
        public String getAgentStatus() { return AgentStatus; }
        public AgentCrmRecruit setAgentStatus(String value) { this.AgentStatus = value; return this; }
        public String getOffice() { return Office; }
        public AgentCrmRecruit setOffice(String value) { this.Office = value; return this; }
        public BigDecimal getUpline1Percent() { return Upline1Percent; }
        public AgentCrmRecruit setUpline1Percent(BigDecimal value) { this.Upline1Percent = value; return this; }
        public BigDecimal getUpline2Percent() { return Upline2Percent; }
        public AgentCrmRecruit setUpline2Percent(BigDecimal value) { this.Upline2Percent = value; return this; }
        public BigDecimal getUpline3Percent() { return Upline3Percent; }
        public AgentCrmRecruit setUpline3Percent(BigDecimal value) { this.Upline3Percent = value; return this; }
        public BigDecimal getUpline4Percent() { return Upline4Percent; }
        public AgentCrmRecruit setUpline4Percent(BigDecimal value) { this.Upline4Percent = value; return this; }
        public String getFirstName() { return FirstName; }
        public AgentCrmRecruit setFirstName(String value) { this.FirstName = value; return this; }
        public String getLastName() { return LastName; }
        public AgentCrmRecruit setLastName(String value) { this.LastName = value; return this; }
        public String getMiddleInitial() { return MiddleInitial; }
        public AgentCrmRecruit setMiddleInitial(String value) { this.MiddleInitial = value; return this; }
        public String getAddress1() { return Address1; }
        public AgentCrmRecruit setAddress1(String value) { this.Address1 = value; return this; }
        public String getAddress2() { return Address2; }
        public AgentCrmRecruit setAddress2(String value) { this.Address2 = value; return this; }
        public String getCity() { return City; }
        public AgentCrmRecruit setCity(String value) { this.City = value; return this; }
        public String getState() { return State; }
        public AgentCrmRecruit setState(String value) { this.State = value; return this; }
        public String getZip() { return Zip; }
        public AgentCrmRecruit setZip(String value) { this.Zip = value; return this; }
        public String getEmail() { return Email; }
        public AgentCrmRecruit setEmail(String value) { this.Email = value; return this; }
        public String getBusinessEmail() { return BusinessEmail; }
        public AgentCrmRecruit setBusinessEmail(String value) { this.BusinessEmail = value; return this; }
        public String getHomePhone() { return HomePhone; }
        public AgentCrmRecruit setHomePhone(String value) { this.HomePhone = value; return this; }
        public String getCellPhone() { return CellPhone; }
        public AgentCrmRecruit setCellPhone(String value) { this.CellPhone = value; return this; }
        public String getWorkPhone() { return WorkPhone; }
        public AgentCrmRecruit setWorkPhone(String value) { this.WorkPhone = value; return this; }
        public String getFax() { return Fax; }
        public AgentCrmRecruit setFax(String value) { this.Fax = value; return this; }
        public String getAgentNumber() { return AgentNumber; }
        public AgentCrmRecruit setAgentNumber(String value) { this.AgentNumber = value; return this; }
        public String getPlacementAgent() { return PlacementAgent; }
        public AgentCrmRecruit setPlacementAgent(String value) { this.PlacementAgent = value; return this; }
        public Date getCreatedDate() { return CreatedDate; }
        public AgentCrmRecruit setCreatedDate(Date value) { this.CreatedDate = value; return this; }
        public String getLevel() { return Level; }
        public AgentCrmRecruit setLevel(String value) { this.Level = value; return this; }
        public String getPackage() { return Package; }
        public AgentCrmRecruit setPackage(String value) { this.Package = value; return this; }
        public BigDecimal getAppCount() { return AppCount; }
        public AgentCrmRecruit setAppCount(BigDecimal value) { this.AppCount = value; return this; }
        public BigDecimal getCashflow() { return Cashflow; }
        public AgentCrmRecruit setCashflow(BigDecimal value) { this.Cashflow = value; return this; }
        public String getTimeZone() { return TimeZone; }
        public AgentCrmRecruit setTimeZone(String value) { this.TimeZone = value; return this; }
        public String getTags() { return Tags; }
        public AgentCrmRecruit setTags(String value) { this.Tags = value; return this; }
        public BigDecimal getLongitude() { return Longitude; }
        public AgentCrmRecruit setLongitude(BigDecimal value) { this.Longitude = value; return this; }
        public BigDecimal getLatitude() { return Latitude; }
        public AgentCrmRecruit setLatitude(BigDecimal value) { this.Latitude = value; return this; }
    }

    public static class AgentCrmRecruitResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<AgentCrmRecruit> AgentCrmRecruit = new ArrayList<AgentCrmRecruit>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public AgentCrmRecruitResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<AgentCrmRecruit> getAgentCrmRecruit() { return AgentCrmRecruit; }
        public AgentCrmRecruitResponse setAgentCrmRecruit(ArrayList<AgentCrmRecruit> value) { this.AgentCrmRecruit = value; return this; }
    }

}

Java AgentCrmRecruitRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

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: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"AgentCrmRecruit":[{"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":0,"AgentStatus":"String","Office":"String","Upline1Percent":0,"Upline2Percent":0,"Upline3Percent":0,"Upline4Percent":0,"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":"0001-01-01T00:00:00.0000000","Level":"String","Package":"String","AppCount":0,"Cashflow":0,"TimeZone":"String","Tags":"String","Longitude":0,"Latitude":0}]}