| Required role: | Administrator |
| GET | /v1/AgentRegistrationTempReport |
|---|
"use strict";
export class AgentRegistrationTemp {
/** @param {{AgentRegistrationTempId?:number,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?:boolean,AgreeToDate?:string,PaidDate?:string,AgentNumber?:string,Upline1Name?:string,Upline1?:number,Upline2Name?:string,Upline2?:number,RecruitedBy?:string,CreatedDate?:string,DOB?:string,SSN?:string,Password?:string,Upline1Percent?:number,Upline2Percent?:number,AgentId?:number,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?:boolean,SecurityLicense?:string,Position?:string,School?:string,District?:string,StoreName?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
AgentRegistrationTempId;
/** @type {string} */
ApplicationId;
/** @type {string} */
Company;
/** @type {string} */
EIN;
/** @type {string} */
FirstName;
/** @type {string} */
MiddleName;
/** @type {string} */
LastName;
/** @type {string} */
Address1;
/** @type {string} */
Address2;
/** @type {string} */
City;
/** @type {string} */
State;
/** @type {string} */
Zip;
/** @type {string} */
Email;
/** @type {string} */
HomePhone;
/** @type {string} */
CellPhone;
/** @type {string} */
WorkPhone;
/** @type {boolean} */
AgreeToDisclosures;
/** @type {string} */
AgreeToDate;
/** @type {string} */
PaidDate;
/** @type {string} */
AgentNumber;
/** @type {string} */
Upline1Name;
/** @type {number} */
Upline1;
/** @type {string} */
Upline2Name;
/** @type {number} */
Upline2;
/** @type {string} */
RecruitedBy;
/** @type {string} */
CreatedDate;
/** @type {?string} */
DOB;
/** @type {string} */
SSN;
/** @type {string} */
Password;
/** @type {number} */
Upline1Percent;
/** @type {number} */
Upline2Percent;
/** @type {number} */
AgentId;
/** @type {string} */
AccountName;
/** @type {string} */
AccountType;
/** @type {string} */
AccountNumber;
/** @type {string} */
AccountRouting;
/** @type {string} */
w9_1;
/** @type {string} */
w9_2;
/** @type {string} */
w9_3_1;
/** @type {string} */
w9_3_2;
/** @type {string} */
w9_3_3;
/** @type {string} */
w9_3_4;
/** @type {string} */
w9_3_5;
/** @type {string} */
w9_3_6;
/** @type {string} */
w9_3_7;
/** @type {string} */
w9_3_8;
/** @type {string} */
w9_4_1;
/** @type {string} */
w9_4_2;
/** @type {string} */
w9_5;
/** @type {string} */
w9_6;
/** @type {string} */
w9_7;
/** @type {boolean} */
IsSecurityLicensed;
/** @type {string} */
SecurityLicense;
/** @type {string} */
Position;
/** @type {string} */
School;
/** @type {string} */
District;
/** @type {string} */
StoreName;
}
export class AgentRegistrationTempExtended extends AgentRegistrationTemp {
/** @param {{FullName?:string,Address?:string,ContractingComplete?:string,PackageMailed?:string,TrackingNum?:string,Upline1AgentName?:string,Upline2AgentName?:string,HasAgreement?:boolean,IsAgent?:boolean,AgentRegistrationTempId?:number,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?:boolean,AgreeToDate?:string,PaidDate?:string,AgentNumber?:string,Upline1Name?:string,Upline1?:number,Upline2Name?:string,Upline2?:number,RecruitedBy?:string,CreatedDate?:string,DOB?:string,SSN?:string,Password?:string,Upline1Percent?:number,Upline2Percent?:number,AgentId?:number,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?:boolean,SecurityLicense?:string,Position?:string,School?:string,District?:string,StoreName?:string}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {string} */
FullName;
/** @type {string} */
Address;
/** @type {string} */
ContractingComplete;
/** @type {string} */
PackageMailed;
/** @type {string} */
TrackingNum;
/** @type {string} */
Upline1AgentName;
/** @type {string} */
Upline2AgentName;
/** @type {boolean} */
HasAgreement;
/** @type {boolean} */
IsAgent;
}
export class AgentRegistrationTempReportResponse {
/** @param {{ResponseStatus?:ResponseStatus,ReportData?:AgentRegistrationTempExtended[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {AgentRegistrationTempExtended[]} */
ReportData = [];
}
export class AgentRegistrationTempReportRequest {
constructor(init) { Object.assign(this, init) }
}
JavaScript AgentRegistrationTempReportRequest 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.
GET /v1/AgentRegistrationTempReport HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
String
String, String String",
ContractingComplete: 0001-01-01,
PackageMailed: 0001-01-01,
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-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
}
]
}