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 .jsv suffix or ?format=jsv

HTTP + JSV

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: 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
		}
	},
	Operations: 
	{
		OverdueCheckouts: 0,
		CheckoutRef: String,
		CheckoutWho: String,
		CheckoutSince: String,
		CheckoutDaysOver: 0,
		OverdueRequests: 0,
		RequestRef: String,
		RequestWhat: String,
		RequestDaysOver: 0,
		QaOpen: 0,
		QaBatch: String,
		QaLands: 0,
		Delivered90: 0,
		OnTime90: 0,
		Evidence: 
		[
			{
				Period: String,
				Months: String,
				Certs: 0,
				Sessions: 0,
				Requests: 0,
				Holds: 0,
				TrailRows: 0
			}
		]
	}
}