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}
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class AgentNBCDrilldownRequest
{
    open var AgentId:Int? = null
    open var PolicyType:String? = null
}

open class AgentNBCDrilldownResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var result:ArrayList<AgentNBCDrilldownItem> = ArrayList<AgentNBCDrilldownItem>()
}

open class AgentNBCDrilldownItem
{
    open var FirstName:String? = null
    open var LastName:String? = null
    open var PolicyNumber:String? = null
    open var Amount:String? = null
    open var AltAmount:String? = null
    open var Phase:String? = null
}

Kotlin 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"}]}