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.*;

public class dtos
{

    public static class ComplianceOperationsRequest
    {
        
    }

    public static class ComplianceOperationsResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ComplianceOperationsDto Operations = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public ComplianceOperationsResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ComplianceOperationsDto getOperations() { return Operations; }
        public ComplianceOperationsResponse setOperations(ComplianceOperationsDto value) { this.Operations = value; return this; }
    }

    public static class ComplianceOperationsDto
    {
        public Integer OverdueCheckouts = null;
        public String CheckoutRef = null;
        public String CheckoutWho = null;
        public String CheckoutSince = null;
        public Integer CheckoutDaysOver = null;
        public Integer OverdueRequests = null;
        public String RequestRef = null;
        public String RequestWhat = null;
        public Integer RequestDaysOver = null;
        public Integer QaOpen = null;
        public String QaBatch = null;
        public Integer QaLands = null;
        public Integer Delivered90 = null;
        public Integer OnTime90 = null;
        public ArrayList<ComplianceEvidenceDto> Evidence = new ArrayList<ComplianceEvidenceDto>();
        
        public Integer getOverdueCheckouts() { return OverdueCheckouts; }
        public ComplianceOperationsDto setOverdueCheckouts(Integer value) { this.OverdueCheckouts = value; return this; }
        public String getCheckoutRef() { return CheckoutRef; }
        public ComplianceOperationsDto setCheckoutRef(String value) { this.CheckoutRef = value; return this; }
        public String getCheckoutWho() { return CheckoutWho; }
        public ComplianceOperationsDto setCheckoutWho(String value) { this.CheckoutWho = value; return this; }
        public String getCheckoutSince() { return CheckoutSince; }
        public ComplianceOperationsDto setCheckoutSince(String value) { this.CheckoutSince = value; return this; }
        public Integer getCheckoutDaysOver() { return CheckoutDaysOver; }
        public ComplianceOperationsDto setCheckoutDaysOver(Integer value) { this.CheckoutDaysOver = value; return this; }
        public Integer getOverdueRequests() { return OverdueRequests; }
        public ComplianceOperationsDto setOverdueRequests(Integer value) { this.OverdueRequests = value; return this; }
        public String getRequestRef() { return RequestRef; }
        public ComplianceOperationsDto setRequestRef(String value) { this.RequestRef = value; return this; }
        public String getRequestWhat() { return RequestWhat; }
        public ComplianceOperationsDto setRequestWhat(String value) { this.RequestWhat = value; return this; }
        public Integer getRequestDaysOver() { return RequestDaysOver; }
        public ComplianceOperationsDto setRequestDaysOver(Integer value) { this.RequestDaysOver = value; return this; }
        public Integer getQaOpen() { return QaOpen; }
        public ComplianceOperationsDto setQaOpen(Integer value) { this.QaOpen = value; return this; }
        public String getQaBatch() { return QaBatch; }
        public ComplianceOperationsDto setQaBatch(String value) { this.QaBatch = value; return this; }
        public Integer getQaLands() { return QaLands; }
        public ComplianceOperationsDto setQaLands(Integer value) { this.QaLands = value; return this; }
        public Integer getDelivered90() { return Delivered90; }
        public ComplianceOperationsDto setDelivered90(Integer value) { this.Delivered90 = value; return this; }
        public Integer getOnTime90() { return OnTime90; }
        public ComplianceOperationsDto setOnTime90(Integer value) { this.OnTime90 = value; return this; }
        public ArrayList<ComplianceEvidenceDto> getEvidence() { return Evidence; }
        public ComplianceOperationsDto setEvidence(ArrayList<ComplianceEvidenceDto> value) { this.Evidence = value; return this; }
    }

    public static class ComplianceEvidenceDto
    {
        public String Period = null;
        public String Months = null;
        public Integer Certs = null;
        public Integer Sessions = null;
        public Integer Requests = null;
        public Integer Holds = null;
        public Integer TrailRows = null;
        
        public String getPeriod() { return Period; }
        public ComplianceEvidenceDto setPeriod(String value) { this.Period = value; return this; }
        public String getMonths() { return Months; }
        public ComplianceEvidenceDto setMonths(String value) { this.Months = value; return this; }
        public Integer getCerts() { return Certs; }
        public ComplianceEvidenceDto setCerts(Integer value) { this.Certs = value; return this; }
        public Integer getSessions() { return Sessions; }
        public ComplianceEvidenceDto setSessions(Integer value) { this.Sessions = value; return this; }
        public Integer getRequests() { return Requests; }
        public ComplianceEvidenceDto setRequests(Integer value) { this.Requests = value; return this; }
        public Integer getHolds() { return Holds; }
        public ComplianceEvidenceDto setHolds(Integer value) { this.Holds = value; return this; }
        public Integer getTrailRows() { return TrailRows; }
        public ComplianceEvidenceDto setTrailRows(Integer value) { this.TrailRows = value; return this; }
    }

}

Java 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>