Trendsic Platform Service

<back to all web services

AgentRegistrationLiteReportRequest

Requires Authentication
Required role:Administrator
The following routes are available for this service:
GET/v1/AgentRegistrationLiteReport
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class AgentRegistrationLiteReportRequest
    {
        
    }

    public static class AgentRegistrationTempReportResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<AgentRegistrationTempExtended> ReportData = new ArrayList<AgentRegistrationTempExtended>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public AgentRegistrationTempReportResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<AgentRegistrationTempExtended> getReportData() { return ReportData; }
        public AgentRegistrationTempReportResponse setReportData(ArrayList<AgentRegistrationTempExtended> value) { this.ReportData = value; return this; }
    }

    public static class AgentRegistrationTempExtended extends AgentRegistrationTemp
    {
        public String FullName = null;
        public String Address = null;
        public Date ContractingComplete = null;
        public Date PackageMailed = null;
        public String TrackingNum = null;
        public String Upline1AgentName = null;
        public String Upline2AgentName = null;
        public Boolean HasAgreement = null;
        public Boolean IsAgent = null;
        
        public String getFullName() { return FullName; }
        public AgentRegistrationTempExtended setFullName(String value) { this.FullName = value; return this; }
        public String getAddress() { return Address; }
        public AgentRegistrationTempExtended setAddress(String value) { this.Address = value; return this; }
        public Date getContractingComplete() { return ContractingComplete; }
        public AgentRegistrationTempExtended setContractingComplete(Date value) { this.ContractingComplete = value; return this; }
        public Date getPackageMailed() { return PackageMailed; }
        public AgentRegistrationTempExtended setPackageMailed(Date value) { this.PackageMailed = value; return this; }
        public String getTrackingNum() { return TrackingNum; }
        public AgentRegistrationTempExtended setTrackingNum(String value) { this.TrackingNum = value; return this; }
        public String getUpline1AgentName() { return Upline1AgentName; }
        public AgentRegistrationTempExtended setUpline1AgentName(String value) { this.Upline1AgentName = value; return this; }
        public String getUpline2AgentName() { return Upline2AgentName; }
        public AgentRegistrationTempExtended setUpline2AgentName(String value) { this.Upline2AgentName = value; return this; }
        public Boolean isHasAgreement() { return HasAgreement; }
        public AgentRegistrationTempExtended setHasAgreement(Boolean value) { this.HasAgreement = value; return this; }
        public Boolean getIsAgent() { return IsAgent; }
        public AgentRegistrationTempExtended setIsAgent(Boolean value) { this.IsAgent = value; return this; }
    }

    public static class AgentRegistrationTemp
    {
        public Integer AgentRegistrationTempId = null;
        public String ApplicationId = null;
        public String Company = null;
        public String EIN = null;
        public String FirstName = null;
        public String MiddleName = null;
        public String LastName = 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 HomePhone = null;
        public String CellPhone = null;
        public String WorkPhone = null;
        public Boolean AgreeToDisclosures = null;
        public Date AgreeToDate = null;
        public Date PaidDate = null;
        public String AgentNumber = null;
        public String Upline1Name = null;
        public Integer Upline1 = null;
        public String Upline2Name = null;
        public Integer Upline2 = null;
        public String RecruitedBy = null;
        public Date CreatedDate = null;
        public Date DOB = null;
        public String SSN = null;
        public String Password = null;
        public BigDecimal Upline1Percent = null;
        public BigDecimal Upline2Percent = null;
        public Integer AgentId = null;
        public String AccountName = null;
        public String AccountType = null;
        public String AccountNumber = null;
        public String AccountRouting = null;
        public String w9_1 = null;
        public String w9_2 = null;
        public String w9_3_1 = null;
        public String w9_3_2 = null;
        public String w9_3_3 = null;
        public String w9_3_4 = null;
        public String w9_3_5 = null;
        public String w9_3_6 = null;
        public String w9_3_7 = null;
        public String w9_3_8 = null;
        public String w9_4_1 = null;
        public String w9_4_2 = null;
        public String w9_5 = null;
        public String w9_6 = null;
        public String w9_7 = null;
        public Boolean IsSecurityLicensed = null;
        public String SecurityLicense = null;
        public String Position = null;
        public String School = null;
        public String District = null;
        public String StoreName = null;
        
        public Integer getAgentRegistrationTempId() { return AgentRegistrationTempId; }
        public AgentRegistrationTemp setAgentRegistrationTempId(Integer value) { this.AgentRegistrationTempId = value; return this; }
        public String getApplicationId() { return ApplicationId; }
        public AgentRegistrationTemp setApplicationId(String value) { this.ApplicationId = value; return this; }
        public String getCompany() { return Company; }
        public AgentRegistrationTemp setCompany(String value) { this.Company = value; return this; }
        public String getEin() { return EIN; }
        public AgentRegistrationTemp setEin(String value) { this.EIN = value; return this; }
        public String getFirstName() { return FirstName; }
        public AgentRegistrationTemp setFirstName(String value) { this.FirstName = value; return this; }
        public String getMiddleName() { return MiddleName; }
        public AgentRegistrationTemp setMiddleName(String value) { this.MiddleName = value; return this; }
        public String getLastName() { return LastName; }
        public AgentRegistrationTemp setLastName(String value) { this.LastName = value; return this; }
        public String getAddress1() { return Address1; }
        public AgentRegistrationTemp setAddress1(String value) { this.Address1 = value; return this; }
        public String getAddress2() { return Address2; }
        public AgentRegistrationTemp setAddress2(String value) { this.Address2 = value; return this; }
        public String getCity() { return City; }
        public AgentRegistrationTemp setCity(String value) { this.City = value; return this; }
        public String getState() { return State; }
        public AgentRegistrationTemp setState(String value) { this.State = value; return this; }
        public String getZip() { return Zip; }
        public AgentRegistrationTemp setZip(String value) { this.Zip = value; return this; }
        public String getEmail() { return Email; }
        public AgentRegistrationTemp setEmail(String value) { this.Email = value; return this; }
        public String getHomePhone() { return HomePhone; }
        public AgentRegistrationTemp setHomePhone(String value) { this.HomePhone = value; return this; }
        public String getCellPhone() { return CellPhone; }
        public AgentRegistrationTemp setCellPhone(String value) { this.CellPhone = value; return this; }
        public String getWorkPhone() { return WorkPhone; }
        public AgentRegistrationTemp setWorkPhone(String value) { this.WorkPhone = value; return this; }
        public Boolean isAgreeToDisclosures() { return AgreeToDisclosures; }
        public AgentRegistrationTemp setAgreeToDisclosures(Boolean value) { this.AgreeToDisclosures = value; return this; }
        public Date getAgreeToDate() { return AgreeToDate; }
        public AgentRegistrationTemp setAgreeToDate(Date value) { this.AgreeToDate = value; return this; }
        public Date getPaidDate() { return PaidDate; }
        public AgentRegistrationTemp setPaidDate(Date value) { this.PaidDate = value; return this; }
        public String getAgentNumber() { return AgentNumber; }
        public AgentRegistrationTemp setAgentNumber(String value) { this.AgentNumber = value; return this; }
        public String getUpline1Name() { return Upline1Name; }
        public AgentRegistrationTemp setUpline1Name(String value) { this.Upline1Name = value; return this; }
        public Integer getUpline1() { return Upline1; }
        public AgentRegistrationTemp setUpline1(Integer value) { this.Upline1 = value; return this; }
        public String getUpline2Name() { return Upline2Name; }
        public AgentRegistrationTemp setUpline2Name(String value) { this.Upline2Name = value; return this; }
        public Integer getUpline2() { return Upline2; }
        public AgentRegistrationTemp setUpline2(Integer value) { this.Upline2 = value; return this; }
        public String getRecruitedBy() { return RecruitedBy; }
        public AgentRegistrationTemp setRecruitedBy(String value) { this.RecruitedBy = value; return this; }
        public Date getCreatedDate() { return CreatedDate; }
        public AgentRegistrationTemp setCreatedDate(Date value) { this.CreatedDate = value; return this; }
        public Date getDob() { return DOB; }
        public AgentRegistrationTemp setDob(Date value) { this.DOB = value; return this; }
        public String getSsn() { return SSN; }
        public AgentRegistrationTemp setSsn(String value) { this.SSN = value; return this; }
        public String getPassword() { return Password; }
        public AgentRegistrationTemp setPassword(String value) { this.Password = value; return this; }
        public BigDecimal getUpline1Percent() { return Upline1Percent; }
        public AgentRegistrationTemp setUpline1Percent(BigDecimal value) { this.Upline1Percent = value; return this; }
        public BigDecimal getUpline2Percent() { return Upline2Percent; }
        public AgentRegistrationTemp setUpline2Percent(BigDecimal value) { this.Upline2Percent = value; return this; }
        public Integer getAgentId() { return AgentId; }
        public AgentRegistrationTemp setAgentId(Integer value) { this.AgentId = value; return this; }
        public String getAccountName() { return AccountName; }
        public AgentRegistrationTemp setAccountName(String value) { this.AccountName = value; return this; }
        public String getAccountType() { return AccountType; }
        public AgentRegistrationTemp setAccountType(String value) { this.AccountType = value; return this; }
        public String getAccountNumber() { return AccountNumber; }
        public AgentRegistrationTemp setAccountNumber(String value) { this.AccountNumber = value; return this; }
        public String getAccountRouting() { return AccountRouting; }
        public AgentRegistrationTemp setAccountRouting(String value) { this.AccountRouting = value; return this; }
        public String getW91() { return w9_1; }
        public AgentRegistrationTemp setW91(String value) { this.w9_1 = value; return this; }
        public String getW92() { return w9_2; }
        public AgentRegistrationTemp setW92(String value) { this.w9_2 = value; return this; }
        public String getW931() { return w9_3_1; }
        public AgentRegistrationTemp setW931(String value) { this.w9_3_1 = value; return this; }
        public String getW932() { return w9_3_2; }
        public AgentRegistrationTemp setW932(String value) { this.w9_3_2 = value; return this; }
        public String getW933() { return w9_3_3; }
        public AgentRegistrationTemp setW933(String value) { this.w9_3_3 = value; return this; }
        public String getW934() { return w9_3_4; }
        public AgentRegistrationTemp setW934(String value) { this.w9_3_4 = value; return this; }
        public String getW935() { return w9_3_5; }
        public AgentRegistrationTemp setW935(String value) { this.w9_3_5 = value; return this; }
        public String getW936() { return w9_3_6; }
        public AgentRegistrationTemp setW936(String value) { this.w9_3_6 = value; return this; }
        public String getW937() { return w9_3_7; }
        public AgentRegistrationTemp setW937(String value) { this.w9_3_7 = value; return this; }
        public String getW938() { return w9_3_8; }
        public AgentRegistrationTemp setW938(String value) { this.w9_3_8 = value; return this; }
        public String getW941() { return w9_4_1; }
        public AgentRegistrationTemp setW941(String value) { this.w9_4_1 = value; return this; }
        public String getW942() { return w9_4_2; }
        public AgentRegistrationTemp setW942(String value) { this.w9_4_2 = value; return this; }
        public String getW95() { return w9_5; }
        public AgentRegistrationTemp setW95(String value) { this.w9_5 = value; return this; }
        public String getW96() { return w9_6; }
        public AgentRegistrationTemp setW96(String value) { this.w9_6 = value; return this; }
        public String getW97() { return w9_7; }
        public AgentRegistrationTemp setW97(String value) { this.w9_7 = value; return this; }
        public Boolean getIsSecurityLicensed() { return IsSecurityLicensed; }
        public AgentRegistrationTemp setIsSecurityLicensed(Boolean value) { this.IsSecurityLicensed = value; return this; }
        public String getSecurityLicense() { return SecurityLicense; }
        public AgentRegistrationTemp setSecurityLicense(String value) { this.SecurityLicense = value; return this; }
        public String getPosition() { return Position; }
        public AgentRegistrationTemp setPosition(String value) { this.Position = value; return this; }
        public String getSchool() { return School; }
        public AgentRegistrationTemp setSchool(String value) { this.School = value; return this; }
        public String getDistrict() { return District; }
        public AgentRegistrationTemp setDistrict(String value) { this.District = value; return this; }
        public String getStoreName() { return StoreName; }
        public AgentRegistrationTemp setStoreName(String value) { this.StoreName = value; return this; }
    }

}

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

<AgentRegistrationTempReportResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <ReportData>
    <AgentRegistrationTempExtended>
      <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>
      <ContractingComplete>0001-01-01T00:00:00</ContractingComplete>
      <HasAgreement>false</HasAgreement>
      <IsAgent>false</IsAgent>
      <PackageMailed>0001-01-01T00:00:00</PackageMailed>
      <TrackingNum>String</TrackingNum>
      <Upline1AgentName>String</Upline1AgentName>
      <Upline2AgentName>String</Upline2AgentName>
    </AgentRegistrationTempExtended>
  </ReportData>
  <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>
</AgentRegistrationTempReportResponse>