| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/AgentRecruit |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AgentRecruit | query | List<AgentRecruit> | 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 | |
| Company | form | string | 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 | |
| Country | form | string | No | |
| form | string | No | ||
| HomePhone | form | string | No | |
| CellPhone | form | string | No | |
| WorkPhone | form | string | No | |
| AgentNumber | form | string | No | |
| PlacementAgentName | form | string | No | |
| PlacementAgent | form | string | No | |
| CreatedDate | form | DateTime | No | |
| Level | form | string | No | |
| LastLoginDate | form | DateTime | No | |
| Package | form | string | No | |
| AppCount | form | decimal | No | |
| Cashflow | form | decimal | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| AgentRecruit | form | List<AgentRecruit> | 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/AgentRecruit 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
}
},
AgentRecruit:
[
{
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,
Company: String,
FirstName: String,
LastName: String,
MiddleInitial: String,
Address1: String,
Address2: String,
City: String,
State: String,
Zip: String,
Country: String,
Email: String,
HomePhone: String,
CellPhone: String,
WorkPhone: String,
AgentNumber: String,
PlacementAgentName: String,
PlacementAgent: String,
CreatedDate: 0001-01-01,
Level: 0,
LastLoginDate: 0001-01-01,
Package: String,
AppCount: 0,
Cashflow: 0
}
]
}