| Requires any of the roles: | Worker, Agent, Administrator |
| GET,OPTIONS | /v1/IssuePaidAgentSummary | ||
|---|---|---|---|
| GET,OPTIONS | /v1/IssuePaidAgentSummary/{AgentId}/{StartDate}/{EndDate} |
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class IssuePaidAgentSummaryRequest
{
open var AgentId:Int? = null
open var StartDate:Date? = null
open var EndDate:Date? = null
}
open class IssuePaidAgentSummaryResponse
{
open var result:ArrayList<IssuePaidAgentSummary> = ArrayList<IssuePaidAgentSummary>()
open var ResponseStatus:ResponseStatus? = null
}
open class IssuePaidAgentSummary
{
open var PolicyType:String? = null
open var PolicyCount:Int? = null
open var PremiumFlow:BigDecimal? = null
open var PremiumFlowRenewal:BigDecimal? = null
open var PremiumTransfer:BigDecimal? = null
open var PremiumLife:BigDecimal? = null
open var PremiumLifeRenewal:BigDecimal? = null
open var Amount:BigDecimal? = null
open var Gross:BigDecimal? = null
open var DateStart:Date? = null
open var DateEnd:Date? = null
}
Kotlin IssuePaidAgentSummaryRequest 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/IssuePaidAgentSummary HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
result:
[
{
PolicyType: String,
PolicyCount: 0,
PremiumFlow: 0,
PremiumFlowRenewal: 0,
PremiumTransfer: 0,
PremiumLife: 0,
PremiumLifeRenewal: 0,
Amount: 0,
Gross: 0,
DateStart: 0001-01-01,
DateEnd: 0001-01-01
}
],
ResponseStatus:
{
ErrorCode: String,
Message: String,
StackTrace: String,
Errors:
[
{
ErrorCode: String,
FieldName: String,
Message: String,
Meta:
{
String: String
}
}
],
Meta:
{
String: String
}
}
}