Trendsic Platform Service

<back to all web services

AgentRecruitRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/AgentRecruit
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class AgentRecruitRequest
    {
        public ArrayList<AgentRecruit> AgentRecruit = new ArrayList<AgentRecruit>();
        public Date StartDate = null;
        public Date EndDate = null;
        
        public ArrayList<AgentRecruit> getAgentRecruit() { return AgentRecruit; }
        public AgentRecruitRequest setAgentRecruit(ArrayList<AgentRecruit> value) { this.AgentRecruit = value; return this; }
        public Date getStartDate() { return StartDate; }
        public AgentRecruitRequest setStartDate(Date value) { this.StartDate = value; return this; }
        public Date getEndDate() { return EndDate; }
        public AgentRecruitRequest setEndDate(Date value) { this.EndDate = value; return this; }
    }

    public static class AgentRecruit
    {
        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 Company = 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 Country = null;
        public String Email = null;
        public String HomePhone = null;
        public String CellPhone = null;
        public String WorkPhone = null;
        public String AgentNumber = null;
        public String PlacementAgentName = null;
        public String PlacementAgent = null;
        public Date CreatedDate = null;
        public String Level = null;
        public Date LastLoginDate = null;
        public String Package = null;
        public BigDecimal AppCount = null;
        public BigDecimal Cashflow = null;
        
        public String getRank() { return Rank; }
        public AgentRecruit setRank(String value) { this.Rank = value; return this; }
        public String getAgentLevel() { return AgentLevel; }
        public AgentRecruit setAgentLevel(String value) { this.AgentLevel = value; return this; }
        public String getUL1FirstName() { return UL1FirstName; }
        public AgentRecruit setUL1FirstName(String value) { this.UL1FirstName = value; return this; }
        public String getUL1MiddleName() { return UL1MiddleName; }
        public AgentRecruit setUL1MiddleName(String value) { this.UL1MiddleName = value; return this; }
        public String getUL1LastName() { return UL1LastName; }
        public AgentRecruit setUL1LastName(String value) { this.UL1LastName = value; return this; }
        public String getUL2FirstName() { return UL2FirstName; }
        public AgentRecruit setUL2FirstName(String value) { this.UL2FirstName = value; return this; }
        public String getUL2MiddleName() { return UL2MiddleName; }
        public AgentRecruit setUL2MiddleName(String value) { this.UL2MiddleName = value; return this; }
        public String getUL2LastName() { return UL2LastName; }
        public AgentRecruit setUL2LastName(String value) { this.UL2LastName = value; return this; }
        public String getUL3FirstName() { return UL3FirstName; }
        public AgentRecruit setUL3FirstName(String value) { this.UL3FirstName = value; return this; }
        public String getUL3MiddleName() { return UL3MiddleName; }
        public AgentRecruit setUL3MiddleName(String value) { this.UL3MiddleName = value; return this; }
        public String getUL3LastName() { return UL3LastName; }
        public AgentRecruit setUL3LastName(String value) { this.UL3LastName = value; return this; }
        public String getUL4FirstName() { return UL4FirstName; }
        public AgentRecruit setUL4FirstName(String value) { this.UL4FirstName = value; return this; }
        public String getUL4MiddleName() { return UL4MiddleName; }
        public AgentRecruit setUL4MiddleName(String value) { this.UL4MiddleName = value; return this; }
        public String getUL4LastName() { return UL4LastName; }
        public AgentRecruit setUL4LastName(String value) { this.UL4LastName = value; return this; }
        public String getCompany() { return Company; }
        public AgentRecruit setCompany(String value) { this.Company = value; return this; }
        public String getFirstName() { return FirstName; }
        public AgentRecruit setFirstName(String value) { this.FirstName = value; return this; }
        public String getLastName() { return LastName; }
        public AgentRecruit setLastName(String value) { this.LastName = value; return this; }
        public String getMiddleInitial() { return MiddleInitial; }
        public AgentRecruit setMiddleInitial(String value) { this.MiddleInitial = value; return this; }
        public String getAddress1() { return Address1; }
        public AgentRecruit setAddress1(String value) { this.Address1 = value; return this; }
        public String getAddress2() { return Address2; }
        public AgentRecruit setAddress2(String value) { this.Address2 = value; return this; }
        public String getCity() { return City; }
        public AgentRecruit setCity(String value) { this.City = value; return this; }
        public String getState() { return State; }
        public AgentRecruit setState(String value) { this.State = value; return this; }
        public String getZip() { return Zip; }
        public AgentRecruit setZip(String value) { this.Zip = value; return this; }
        public String getCountry() { return Country; }
        public AgentRecruit setCountry(String value) { this.Country = value; return this; }
        public String getEmail() { return Email; }
        public AgentRecruit setEmail(String value) { this.Email = value; return this; }
        public String getHomePhone() { return HomePhone; }
        public AgentRecruit setHomePhone(String value) { this.HomePhone = value; return this; }
        public String getCellPhone() { return CellPhone; }
        public AgentRecruit setCellPhone(String value) { this.CellPhone = value; return this; }
        public String getWorkPhone() { return WorkPhone; }
        public AgentRecruit setWorkPhone(String value) { this.WorkPhone = value; return this; }
        public String getAgentNumber() { return AgentNumber; }
        public AgentRecruit setAgentNumber(String value) { this.AgentNumber = value; return this; }
        public String getPlacementAgentName() { return PlacementAgentName; }
        public AgentRecruit setPlacementAgentName(String value) { this.PlacementAgentName = value; return this; }
        public String getPlacementAgent() { return PlacementAgent; }
        public AgentRecruit setPlacementAgent(String value) { this.PlacementAgent = value; return this; }
        public Date getCreatedDate() { return CreatedDate; }
        public AgentRecruit setCreatedDate(Date value) { this.CreatedDate = value; return this; }
        public String getLevel() { return Level; }
        public AgentRecruit setLevel(String value) { this.Level = value; return this; }
        public Date getLastLoginDate() { return LastLoginDate; }
        public AgentRecruit setLastLoginDate(Date value) { this.LastLoginDate = value; return this; }
        public String getPackage() { return Package; }
        public AgentRecruit setPackage(String value) { this.Package = value; return this; }
        public BigDecimal getAppCount() { return AppCount; }
        public AgentRecruit setAppCount(BigDecimal value) { this.AppCount = value; return this; }
        public BigDecimal getCashflow() { return Cashflow; }
        public AgentRecruit setCashflow(BigDecimal value) { this.Cashflow = value; return this; }
    }

    public static class AgentRecruitResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<AgentRecruit> AgentRecruit = new ArrayList<AgentRecruit>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public AgentRecruitResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<AgentRecruit> getAgentRecruit() { return AgentRecruit; }
        public AgentRecruitResponse setAgentRecruit(ArrayList<AgentRecruit> value) { this.AgentRecruit = value; return this; }
    }

}

Java AgentRecruitRequest 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/AgentRecruit 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"}},"AgentRecruit":[{"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","Company":"String","FirstName":"String","LastName":"String","MiddleInitial":"String","Address1":"String","Address2":"String","City":"String","State":"String","Zip":"String","Country":"String","Email":"String","HomePhone":"String","CellPhone":"String","WorkPhone":"String","AgentNumber":"String","PlacementAgentName":"String","PlacementAgent":"String","CreatedDate":"0001-01-01T00:00:00.0000000","Level":"0","LastLoginDate":"0001-01-01T00:00:00.0000000","Package":"String","AppCount":0,"Cashflow":0}]}