| 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 .csv suffix or ?format=csv
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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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}]}}