Trendsic Platform Service

<back to all web services

ComplianceSummaryRequest

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

public class dtos
{

    public static class ComplianceSummaryRequest
    {
        
    }

    public static class ComplianceSummaryResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ComplianceSummaryDto Summary = null;
        public ArrayList<ComplianceExceptionDto> Exceptions = new ArrayList<ComplianceExceptionDto>();
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public ComplianceSummaryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ComplianceSummaryDto getSummary() { return Summary; }
        public ComplianceSummaryResponse setSummary(ComplianceSummaryDto value) { this.Summary = value; return this; }
        public ArrayList<ComplianceExceptionDto> getExceptions() { return Exceptions; }
        public ComplianceSummaryResponse setExceptions(ArrayList<ComplianceExceptionDto> value) { this.Exceptions = value; return this; }
    }

    public static class ComplianceSummaryDto
    {
        public Integer Total = null;
        public Integer Eligible = null;
        public Integer Held = null;
        public Integer Unscheduled = null;
        public Integer PendingTrigger = null;
        public Integer Running = null;
        public Integer OverdueCheckouts = null;
        public Integer OverdueRequests = null;
        public Integer QaOpen = null;
        public Integer RequestsOnTime90d = null;
        public Integer Sessions90d = null;
        public Integer Certs90d = null;
        
        public Integer getTotal() { return Total; }
        public ComplianceSummaryDto setTotal(Integer value) { this.Total = value; return this; }
        public Integer getEligible() { return Eligible; }
        public ComplianceSummaryDto setEligible(Integer value) { this.Eligible = value; return this; }
        public Integer getHeld() { return Held; }
        public ComplianceSummaryDto setHeld(Integer value) { this.Held = value; return this; }
        public Integer getUnscheduled() { return Unscheduled; }
        public ComplianceSummaryDto setUnscheduled(Integer value) { this.Unscheduled = value; return this; }
        public Integer getPendingTrigger() { return PendingTrigger; }
        public ComplianceSummaryDto setPendingTrigger(Integer value) { this.PendingTrigger = value; return this; }
        public Integer getRunning() { return Running; }
        public ComplianceSummaryDto setRunning(Integer value) { this.Running = value; return this; }
        public Integer getOverdueCheckouts() { return OverdueCheckouts; }
        public ComplianceSummaryDto setOverdueCheckouts(Integer value) { this.OverdueCheckouts = value; return this; }
        public Integer getOverdueRequests() { return OverdueRequests; }
        public ComplianceSummaryDto setOverdueRequests(Integer value) { this.OverdueRequests = value; return this; }
        public Integer getQaOpen() { return QaOpen; }
        public ComplianceSummaryDto setQaOpen(Integer value) { this.QaOpen = value; return this; }
        public Integer getRequestsOnTime90d() { return RequestsOnTime90d; }
        public ComplianceSummaryDto setRequestsOnTime90d(Integer value) { this.RequestsOnTime90d = value; return this; }
        public Integer getSessions90d() { return Sessions90d; }
        public ComplianceSummaryDto setSessions90d(Integer value) { this.Sessions90d = value; return this; }
        public Integer getCerts90d() { return Certs90d; }
        public ComplianceSummaryDto setCerts90d(Integer value) { this.Certs90d = value; return this; }
    }

    public static class ComplianceExceptionDto
    {
        public String Kind = null;
        public Integer Count = null;
        public String RefRoute = null;
        
        public String getKind() { return Kind; }
        public ComplianceExceptionDto setKind(String value) { this.Kind = value; return this; }
        public Integer getCount() { return Count; }
        public ComplianceExceptionDto setCount(Integer value) { this.Count = value; return this; }
        public String getRefRoute() { return RefRoute; }
        public ComplianceExceptionDto setRefRoute(String value) { this.RefRoute = value; return this; }
    }

}

Java ComplianceSummaryRequest 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/summary 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"}},"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"}]}