| POST,OPTIONS | /v1/AgentRegistrationTemp |
|---|
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal
Namespace Global
Namespace CRM.AgencyPlatform.API.Internal
Public Partial Class AgentRegistrationTemp
Public Overridable Property AgentRegistrationTempId As Integer
Public Overridable Property ApplicationId As String
Public Overridable Property Company As String
Public Overridable Property EIN As String
Public Overridable Property FirstName As String
Public Overridable Property MiddleName As String
Public Overridable Property LastName As String
Public Overridable Property Address1 As String
Public Overridable Property Address2 As String
Public Overridable Property City As String
Public Overridable Property State As String
Public Overridable Property Zip As String
Public Overridable Property Email As String
Public Overridable Property HomePhone As String
Public Overridable Property CellPhone As String
Public Overridable Property WorkPhone As String
Public Overridable Property AgreeToDisclosures As Boolean
Public Overridable Property AgreeToDate As Date
Public Overridable Property PaidDate As Date
Public Overridable Property AgentNumber As String
Public Overridable Property Upline1Name As String
Public Overridable Property Upline1 As Integer
Public Overridable Property Upline2Name As String
Public Overridable Property Upline2 As Integer
Public Overridable Property RecruitedBy As String
Public Overridable Property CreatedDate As Date
Public Overridable Property DOB As Date?
Public Overridable Property SSN As String
Public Overridable Property Password As String
Public Overridable Property Upline1Percent As Decimal
Public Overridable Property Upline2Percent As Decimal
Public Overridable Property AgentId As Integer
Public Overridable Property AccountName As String
Public Overridable Property AccountType As String
Public Overridable Property AccountNumber As String
Public Overridable Property AccountRouting As String
Public Overridable Property w9_1 As String
Public Overridable Property w9_2 As String
Public Overridable Property w9_3_1 As String
Public Overridable Property w9_3_2 As String
Public Overridable Property w9_3_3 As String
Public Overridable Property w9_3_4 As String
Public Overridable Property w9_3_5 As String
Public Overridable Property w9_3_6 As String
Public Overridable Property w9_3_7 As String
Public Overridable Property w9_3_8 As String
Public Overridable Property w9_4_1 As String
Public Overridable Property w9_4_2 As String
Public Overridable Property w9_5 As String
Public Overridable Property w9_6 As String
Public Overridable Property w9_7 As String
Public Overridable Property IsSecurityLicensed As Boolean
Public Overridable Property SecurityLicense As String
Public Overridable Property Position As String
Public Overridable Property School As String
Public Overridable Property District As String
Public Overridable Property StoreName As String
End Class
Public Partial Class AgentRegistrationTempRequest
Inherits AgentRegistrationTemp
End Class
Public Partial Class AgentRegistrationTempResponse
Public Overridable Property Success As Boolean
Public Overridable Property Message As String
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property AgentRegistrationTempId As Integer
End Class
End Namespace
End Namespace
VB.NET 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
}