Trendsic Platform Service

<back to all web services

ContactCategorizationRequest

Requires Authentication
Requires any of the roles:Agent, Administrator
The following routes are available for this service:
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 .other suffix or ?format=other

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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}]}