| Requires any of the roles: | Worker, Agent, Administrator |
| GET,OPTIONS | /v1/AgentCrmRecruit/{AgentId} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AgentID | path | int | No | |
| AgentCrmRecruit | query | List<AgentCrmRecruit> | No | |
| StartDate | query | DateTime | No | |
| EndDate | query | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Rank | form | string | No | |
| AgentLevel | form | string | No | |
| UL1FirstName | form | string | No | |
| UL1MiddleName | form | string | No | |
| UL1LastName | form | string | No | |
| UL2FirstName | form | string | No | |
| UL2MiddleName | form | string | No | |
| UL2LastName | form | string | No | |
| UL3FirstName | form | string | No | |
| UL3MiddleName | form | string | No | |
| UL3LastName | form | string | No | |
| UL4FirstName | form | string | No | |
| UL4MiddleName | form | string | No | |
| UL4LastName | form | string | No | |
| firstMVP | form | string | No | |
| lastMVP | form | string | No | |
| firstAVP | form | string | No | |
| lastAVP | form | string | No | |
| firstRVP | form | string | No | |
| lastRVP | form | string | No | |
| ResidentLicenseState | form | string | No | |
| ResidentLicenseExpirationDate | form | string | No | |
| AgentId | form | int | No | |
| AgentStatus | form | string | No | |
| Office | form | string | No | |
| Upline1Percent | form | decimal | No | |
| Upline2Percent | form | decimal | No | |
| Upline3Percent | form | decimal | No | |
| Upline4Percent | form | decimal | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| MiddleInitial | form | string | No | |
| Address1 | form | string | No | |
| Address2 | form | string | No | |
| City | form | string | No | |
| State | form | string | No | |
| Zip | form | string | No | |
| form | string | No | ||
| BusinessEmail | form | string | No | |
| HomePhone | form | string | No | |
| CellPhone | form | string | No | |
| WorkPhone | form | string | No | |
| Fax | form | string | No | |
| AgentNumber | form | string | No | |
| PlacementAgent | form | string | No | |
| CreatedDate | form | DateTime | No | |
| Level | form | string | No | |
| Package | form | string | No | |
| AppCount | form | decimal | No | |
| Cashflow | form | decimal | No | |
| TimeZone | form | string | No | |
| Tags | form | string | No | |
| Longitude | form | decimal | No | |
| Latitude | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| AgentCrmRecruit | form | List<AgentCrmRecruit> | No |
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/AgentCrmRecruit/{AgentId} 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
}
},
AgentCrmRecruit:
[
{
Rank: String,
AgentLevel: String,
UL1FirstName: String,
UL1MiddleName: String,
UL1LastName: String,
UL2FirstName: String,
UL2MiddleName: String,
UL2LastName: String,
UL3FirstName: String,
UL3MiddleName: String,
UL3LastName: String,
UL4FirstName: String,
UL4MiddleName: String,
UL4LastName: String,
firstMVP: String,
lastMVP: String,
firstAVP: String,
lastAVP: String,
firstRVP: String,
lastRVP: String,
ResidentLicenseState: String,
ResidentLicenseExpirationDate: String,
AgentId: 0,
AgentStatus: String,
Office: String,
Upline1Percent: 0,
Upline2Percent: 0,
Upline3Percent: 0,
Upline4Percent: 0,
FirstName: String,
LastName: String,
MiddleInitial: String,
Address1: String,
Address2: String,
City: String,
State: String,
Zip: String,
Email: String,
BusinessEmail: String,
HomePhone: String,
CellPhone: String,
WorkPhone: String,
Fax: String,
AgentNumber: String,
PlacementAgent: String,
CreatedDate: 0001-01-01,
Level: String,
Package: String,
AppCount: 0,
Cashflow: 0,
TimeZone: String,
Tags: String,
Longitude: 0,
Latitude: 0
}
]
}