| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Report/PeraContactTracking/{ParamStartDate}/{ParamEndDate}/{AgentID} | ||
|---|---|---|---|
| GET,OPTIONS | /v1/Report/PeraContactTracking/{ParamStartDate}/{ParamEndDate} |
"use strict";
export class AFPeraContact {
/** @param {{PeraContactId?:number,FirstName?:string,LastName?:string,AppointmentDateTime?:string,DateCreated?:string,AgentId?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
PeraContactId;
/** @type {string} */
FirstName;
/** @type {string} */
LastName;
/** @type {string} */
AppointmentDateTime;
/** @type {string} */
DateCreated;
/** @type {number} */
AgentId;
}
export class PeraContactTracking extends AFPeraContact {
/** @param {{Agent?:string,FollowUpDate?:string,District?:string,Note?:string,EventTypeName?:string,AVP?:string,RVP?:string,MVP?:string,Sale?:string,PeraContactId?:number,FirstName?:string,LastName?:string,AppointmentDateTime?:string,DateCreated?:string,AgentId?:number}} [init] */
constructor(init) { super(init); Object.assign(this, init) }
/** @type {string} */
Agent;
/** @type {string} */
FollowUpDate;
/** @type {string} */
District;
/** @type {string} */
Note;
/** @type {string} */
EventTypeName;
/** @type {string} */
AVP;
/** @type {string} */
RVP;
/** @type {string} */
MVP;
/** @type {string} */
Sale;
}
export class PeraContactTrackingResponse {
/** @param {{ResponseStatus?:ResponseStatus,AFPeraContact?:PeraContactTracking[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {PeraContactTracking[]} */
AFPeraContact = [];
}
export class PeraContactTrackingRequest {
/** @param {{ParamStartDate?:string,ParamEndDate?:string,AgentID?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
ParamStartDate;
/** @type {string} */
ParamEndDate;
/** @type {number} */
AgentID;
}
JavaScript PeraContactTrackingRequest 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/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
}
]
}