| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Report/PeraContactTracking/{ParamStartDate}/{ParamEndDate}/{AgentID} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/Report/PeraContactTracking/{ParamStartDate}/{ParamEndDate} |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ParamStartDate | path | DateTime | No | |
| ParamEndDate | path | DateTime | No | |
| AgentID | path | int | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| AFPeraContact | form | List<PeraContactTracking> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Agent | form | string | No | |
| FollowUpDate | form | DateTime | No | |
| District | form | string | No | |
| Note | form | string | No | |
| EventTypeName | form | string | No | |
| AVP | form | string | No | |
| RVP | form | string | No | |
| MVP | form | string | No | |
| Sale | form | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PeraContactId | form | int | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| AppointmentDateTime | form | DateTime | No | |
| DateCreated | form | DateTime | No | |
| AgentId | form | int | 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/Report/PeraContactTracking/{ParamStartDate}/{ParamEndDate}/{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
}
},
AFPeraContact:
[
{
Agent: String,
FollowUpDate: 0001-01-01,
District: String,
Note: String,
EventTypeName: String,
AVP: String,
RVP: String,
MVP: String,
Sale: String,
PeraContactId: 0,
FirstName: String,
LastName: String,
AppointmentDateTime: 0001-01-01,
DateCreated: 0001-01-01,
AgentId: 0
}
]
}