| Requires any of the roles: | Agent, Administrator |
| GET,OPTIONS | /v1/Report/ContactCategorization |
|---|
"use strict";
export class ContactCategorization {
/** @param {{AgentId?:number,FirstName?:string,LastName?:string,AgentStatus?:string,TotalContacts?:number,TotalUncategorized?:number,TotalA?:number,TotalB?:number,TotalC?:number,TotalD?:number,TotalI?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
AgentId;
/** @type {string} */
FirstName;
/** @type {string} */
LastName;
/** @type {string} */
AgentStatus;
/** @type {number} */
TotalContacts;
/** @type {number} */
TotalUncategorized;
/** @type {number} */
TotalA;
/** @type {number} */
TotalB;
/** @type {number} */
TotalC;
/** @type {number} */
TotalD;
/** @type {number} */
TotalI;
}
export class ContactCategorizationResponse {
/** @param {{ResponseStatus?:ResponseStatus,ContactCategorizations?:ContactCategorization[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {ContactCategorization[]} */
ContactCategorizations = [];
}
export class ContactCategorizationRequest {
constructor(init) { Object.assign(this, init) }
}
JavaScript ContactCategorizationRequest 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/ContactCategorization 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
}
},
ContactCategorizations:
[
{
AgentId: 0,
FirstName: String,
LastName: String,
AgentStatus: String,
TotalContacts: 0,
TotalUncategorized: 0,
TotalA: 0,
TotalB: 0,
TotalC: 0,
TotalD: 0,
TotalI: 0
}
]
}