Trendsic Platform Service

<back to all web services

AgentRegistrationTempRequest

The following routes are available for this service:
POST,OPTIONS/v1/AgentRegistrationTemp
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class AgentRegistrationTempRequest extends AgentRegistrationTemp
    {
        
    }

    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; }
    }

    public static class AgentRegistrationTempResponse
    {
        public Boolean Success = null;
        public String Message = null;
        public ResponseStatus ResponseStatus = null;
        public Integer AgentRegistrationTempId = null;
        
        public Boolean isSuccess() { return Success; }
        public AgentRegistrationTempResponse setSuccess(Boolean value) { this.Success = value; return this; }
        public String getMessage() { return Message; }
        public AgentRegistrationTempResponse setMessage(String value) { this.Message = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public AgentRegistrationTempResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public Integer getAgentRegistrationTempId() { return AgentRegistrationTempId; }
        public AgentRegistrationTempResponse setAgentRegistrationTempId(Integer value) { this.AgentRegistrationTempId = value; return this; }
    }

}

Java AgentRegistrationTempRequest DTOs

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

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /v1/AgentRegistrationTemp HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	AgentRegistrationTempId: 0,
	ApplicationId: String,
	Company: String,
	EIN: String,
	FirstName: String,
	MiddleName: String,
	LastName: String,
	Address1: String,
	Address2: String,
	City: String,
	State: String,
	Zip: String,
	Email: String,
	HomePhone: String,
	CellPhone: String,
	WorkPhone: String,
	AgreeToDisclosures: False,
	AgreeToDate: 0001-01-01,
	PaidDate: 0001-01-01,
	AgentNumber: String,
	Upline1Name: String,
	Upline1: 0,
	Upline2Name: String,
	Upline2: 0,
	RecruitedBy: String,
	CreatedDate: 0001-01-01,
	DOB: 0001-01-01,
	SSN: String,
	Password: String,
	Upline1Percent: 0,
	Upline2Percent: 0,
	AgentId: 0,
	AccountName: String,
	AccountType: String,
	AccountNumber: String,
	AccountRouting: String,
	w9_1: String,
	w9_2: String,
	w9_3_1: String,
	w9_3_2: String,
	w9_3_3: String,
	w9_3_4: String,
	w9_3_5: String,
	w9_3_6: String,
	w9_3_7: String,
	w9_3_8: String,
	w9_4_1: String,
	w9_4_2: String,
	w9_5: String,
	w9_6: String,
	w9_7: String,
	IsSecurityLicensed: False,
	SecurityLicense: String,
	Position: String,
	School: String,
	District: String,
	StoreName: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Success: False,
	Message: String,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	},
	AgentRegistrationTempId: 0
}