Trendsic Platform Service

<back to all web services

AgentNBCDrilldownRequest

Requires Authentication
Requires any of the roles:Worker, Agent, Administrator
The following routes are available for this service:
GET,OPTIONS/v1/AgentNBCDrilldown
GET,OPTIONS/v1/AgentNBCDrilldown/{AgentId}/{PolicyType}
"use strict";
export class AgentNBCDrilldownItem {
    /** @param {{FirstName?:string,LastName?:string,PolicyNumber?:string,Amount?:string,AltAmount?:string,Phase?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {string} */
    FirstName;
    /** @type {string} */
    LastName;
    /** @type {string} */
    PolicyNumber;
    /** @type {string} */
    Amount;
    /** @type {string} */
    AltAmount;
    /** @type {string} */
    Phase;
}
export class AgentNBCDrilldownResponse {
    /** @param {{ResponseStatus?:ResponseStatus,result?:AgentNBCDrilldownItem[]}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {ResponseStatus} */
    ResponseStatus;
    /** @type {AgentNBCDrilldownItem[]} */
    result = [];
}
export class AgentNBCDrilldownRequest {
    /** @param {{AgentId?:number,PolicyType?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /** @type {number} */
    AgentId;
    /** @type {string} */
    PolicyType;
}

JavaScript AgentNBCDrilldownRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/AgentNBCDrilldown HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"result":[{"FirstName":"String","LastName":"String","PolicyNumber":"String","Amount":"String","AltAmount":"String","Phase":"String"}]}