| Requires any of the roles: | Worker, Agent, Administrator |
| 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 .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/AgentNBCDrilldown 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
}
},
result:
[
{
FirstName: String,
LastName: String,
PolicyNumber: String,
Amount: String,
AltAmount: String,
Phase: String
}
]
}