Trendsic Platform Service

<back to all web services

ComplianceOperationsRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/records/compliance/operations
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


open class ComplianceOperationsRequest
{
}

open class ComplianceOperationsResponse
{
    open var ResponseStatus:ResponseStatus? = null
    open var Operations:ComplianceOperationsDto? = null
}

open class ComplianceOperationsDto
{
    open var OverdueCheckouts:Int? = null
    open var CheckoutRef:String? = null
    open var CheckoutWho:String? = null
    open var CheckoutSince:String? = null
    open var CheckoutDaysOver:Int? = null
    open var OverdueRequests:Int? = null
    open var RequestRef:String? = null
    open var RequestWhat:String? = null
    open var RequestDaysOver:Int? = null
    open var QaOpen:Int? = null
    open var QaBatch:String? = null
    open var QaLands:Int? = null
    open var Delivered90:Int? = null
    open var OnTime90:Int? = null
    open var Evidence:ArrayList<ComplianceEvidenceDto> = ArrayList<ComplianceEvidenceDto>()
}

open class ComplianceEvidenceDto
{
    open var Period:String? = null
    open var Months:String? = null
    open var Certs:Int? = null
    open var Sessions:Int? = null
    open var Requests:Int? = null
    open var Holds:Int? = null
    open var TrailRows:Int? = null
}

Kotlin ComplianceOperationsRequest DTOs

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

HTTP + XML

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

GET /v1/records/compliance/operations HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ComplianceOperationsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
  <Operations>
    <CheckoutDaysOver>0</CheckoutDaysOver>
    <CheckoutRef>String</CheckoutRef>
    <CheckoutSince>String</CheckoutSince>
    <CheckoutWho>String</CheckoutWho>
    <Delivered90>0</Delivered90>
    <Evidence>
      <ComplianceEvidenceDto>
        <Certs>0</Certs>
        <Holds>0</Holds>
        <Months>String</Months>
        <Period>String</Period>
        <Requests>0</Requests>
        <Sessions>0</Sessions>
        <TrailRows>0</TrailRows>
      </ComplianceEvidenceDto>
    </Evidence>
    <OnTime90>0</OnTime90>
    <OverdueCheckouts>0</OverdueCheckouts>
    <OverdueRequests>0</OverdueRequests>
    <QaBatch>String</QaBatch>
    <QaLands>0</QaLands>
    <QaOpen>0</QaOpen>
    <RequestDaysOver>0</RequestDaysOver>
    <RequestRef>String</RequestRef>
    <RequestWhat>String</RequestWhat>
  </Operations>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
</ComplianceOperationsResponse>