| GET,OPTIONS | /v1/records/compliance/summary |
|---|
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
open class ComplianceSummaryRequest
{
}
open class ComplianceSummaryResponse
{
open var ResponseStatus:ResponseStatus? = null
open var Summary:ComplianceSummaryDto? = null
open var Exceptions:ArrayList<ComplianceExceptionDto> = ArrayList<ComplianceExceptionDto>()
}
open class ComplianceSummaryDto
{
open var Total:Int? = null
open var Eligible:Int? = null
open var Held:Int? = null
open var Unscheduled:Int? = null
open var PendingTrigger:Int? = null
open var Running:Int? = null
open var OverdueCheckouts:Int? = null
open var OverdueRequests:Int? = null
open var QaOpen:Int? = null
open var RequestsOnTime90d:Int? = null
open var Sessions90d:Int? = null
open var Certs90d:Int? = null
}
open class ComplianceExceptionDto
{
open var Kind:String? = null
open var Count:Int? = null
open var RefRoute:String? = null
}
Kotlin ComplianceSummaryRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /v1/records/compliance/summary HTTP/1.1 Host: api.dev.dynamics.trendsic.com Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Summary":{"Total":0,"Eligible":0,"Held":0,"Unscheduled":0,"PendingTrigger":0,"Running":0,"OverdueCheckouts":0,"OverdueRequests":0,"QaOpen":0,"RequestsOnTime90d":0,"Sessions90d":0,"Certs90d":0},"Exceptions":[{"Kind":"String","Count":0,"RefRoute":"String"}]}