| POST,OPTIONS | /v1/AgentRegistrationTemp |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class AgentRegistrationTempRequest : AgentRegistrationTemp()
{
}
open class AgentRegistrationTemp
{
open var AgentRegistrationTempId:Int? = null
open var ApplicationId:String? = null
open var Company:String? = null
open var EIN:String? = null
open var FirstName:String? = null
open var MiddleName:String? = null
open var LastName:String? = null
open var Address1:String? = null
open var Address2:String? = null
open var City:String? = null
open var State:String? = null
open var Zip:String? = null
open var Email:String? = null
open var HomePhone:String? = null
open var CellPhone:String? = null
open var WorkPhone:String? = null
open var AgreeToDisclosures:Boolean? = null
open var AgreeToDate:Date? = null
open var PaidDate:Date? = null
open var AgentNumber:String? = null
open var Upline1Name:String? = null
open var Upline1:Int? = null
open var Upline2Name:String? = null
open var Upline2:Int? = null
open var RecruitedBy:String? = null
open var CreatedDate:Date? = null
open var DOB:Date? = null
open var SSN:String? = null
open var Password:String? = null
open var Upline1Percent:BigDecimal? = null
open var Upline2Percent:BigDecimal? = null
open var AgentId:Int? = null
open var AccountName:String? = null
open var AccountType:String? = null
open var AccountNumber:String? = null
open var AccountRouting:String? = null
open var w9_1:String? = null
open var w9_2:String? = null
open var w9_3_1:String? = null
open var w9_3_2:String? = null
open var w9_3_3:String? = null
open var w9_3_4:String? = null
open var w9_3_5:String? = null
open var w9_3_6:String? = null
open var w9_3_7:String? = null
open var w9_3_8:String? = null
open var w9_4_1:String? = null
open var w9_4_2:String? = null
open var w9_5:String? = null
open var w9_6:String? = null
open var w9_7:String? = null
open var IsSecurityLicensed:Boolean? = null
open var SecurityLicense:String? = null
open var Position:String? = null
open var School:String? = null
open var District:String? = null
open var StoreName:String? = null
}
open class AgentRegistrationTempResponse
{
open var Success:Boolean? = null
open var Message:String? = null
open var ResponseStatus:ResponseStatus? = null
open var AgentRegistrationTempId:Int? = null
}
Kotlin AgentRegistrationTempRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}