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
Imports System
Imports System.IO
Imports System.Collections
Imports System.Collections.Generic
Imports System.Runtime.Serialization
Imports ServiceStack
Imports ServiceStack.DataAnnotations
Imports CRM.AgencyPlatform.API.Internal

Namespace Global

    Namespace CRM.AgencyPlatform.API.Internal

        Public Partial Class ComplianceEvidenceDto
            Public Overridable Property Period As String
            Public Overridable Property Months As String
            Public Overridable Property Certs As Integer
            Public Overridable Property Sessions As Integer
            Public Overridable Property Requests As Integer
            Public Overridable Property Holds As Integer
            Public Overridable Property TrailRows As Integer
        End Class

        Public Partial Class ComplianceOperationsDto
            Public Overridable Property OverdueCheckouts As Integer
            Public Overridable Property CheckoutRef As String
            Public Overridable Property CheckoutWho As String
            Public Overridable Property CheckoutSince As String
            Public Overridable Property CheckoutDaysOver As Integer
            Public Overridable Property OverdueRequests As Integer
            Public Overridable Property RequestRef As String
            Public Overridable Property RequestWhat As String
            Public Overridable Property RequestDaysOver As Integer
            Public Overridable Property QaOpen As Integer
            Public Overridable Property QaBatch As String
            Public Overridable Property QaLands As Integer
            Public Overridable Property Delivered90 As Integer
            Public Overridable Property OnTime90 As Integer
            Public Overridable Property Evidence As List(Of ComplianceEvidenceDto) = New List(Of ComplianceEvidenceDto)
        End Class

        Public Partial Class ComplianceOperationsRequest
        End Class

        Public Partial Class ComplianceOperationsResponse
            Public Overridable Property ResponseStatus As ResponseStatus
            Public Overridable Property Operations As ComplianceOperationsDto
        End Class
    End Namespace
End Namespace

VB.NET ComplianceOperationsRequest DTOs

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

HTTP + OTHER

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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
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}]}}