| Required role: | Administrator |
| GET | /v1/AgentRegistrationLiteReport |
|---|
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 AgentRegistrationLiteReportRequest
End Class
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 AgentRegistrationTempExtended
Inherits AgentRegistrationTemp
Public Overridable Property FullName As String
Public Overridable Property Address As String
Public Overridable Property ContractingComplete As Date
Public Overridable Property PackageMailed As Date
Public Overridable Property TrackingNum As String
Public Overridable Property Upline1AgentName As String
Public Overridable Property Upline2AgentName As String
Public Overridable Property HasAgreement As Boolean
Public Overridable Property IsAgent As Boolean
End Class
Public Partial Class AgentRegistrationTempReportResponse
Public Overridable Property ResponseStatus As ResponseStatus
Public Overridable Property ReportData As List(Of AgentRegistrationTempExtended) = New List(Of AgentRegistrationTempExtended)
End Class
End Namespace
End Namespace
VB.NET AgentRegistrationLiteReportRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
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: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"ReportData":[{"FullName":"String String","Address":"String\r\nString\r\nString, String String","ContractingComplete":"0001-01-01T00:00:00.0000000","PackageMailed":"0001-01-01T00:00:00.0000000","TrackingNum":"String","Upline1AgentName":"String","Upline2AgentName":"String","HasAgreement":false,"IsAgent":false,"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-01T00:00:00.0000000","PaidDate":"0001-01-01T00:00:00.0000000","AgentNumber":"String","Upline1Name":"String","Upline1":0,"Upline2Name":"String","Upline2":0,"RecruitedBy":"String","CreatedDate":"0001-01-01T00:00:00.0000000","DOB":"0001-01-01T00:00:00.0000000","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"}]}