| GET,OPTIONS | /v1/records/compliance/operations |
|---|
"use strict";
export class ComplianceEvidenceDto {
/** @param {{Period?:string,Months?:string,Certs?:number,Sessions?:number,Requests?:number,Holds?:number,TrailRows?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Period;
/** @type {string} */
Months;
/** @type {number} */
Certs;
/** @type {number} */
Sessions;
/** @type {number} */
Requests;
/** @type {number} */
Holds;
/** @type {number} */
TrailRows;
}
export class ComplianceOperationsDto {
/** @param {{OverdueCheckouts?:number,CheckoutRef?:string,CheckoutWho?:string,CheckoutSince?:string,CheckoutDaysOver?:number,OverdueRequests?:number,RequestRef?:string,RequestWhat?:string,RequestDaysOver?:number,QaOpen?:number,QaBatch?:string,QaLands?:number,Delivered90?:number,OnTime90?:number,Evidence?:ComplianceEvidenceDto[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
OverdueCheckouts;
/** @type {string} */
CheckoutRef;
/** @type {string} */
CheckoutWho;
/** @type {string} */
CheckoutSince;
/** @type {number} */
CheckoutDaysOver;
/** @type {number} */
OverdueRequests;
/** @type {string} */
RequestRef;
/** @type {string} */
RequestWhat;
/** @type {number} */
RequestDaysOver;
/** @type {number} */
QaOpen;
/** @type {string} */
QaBatch;
/** @type {number} */
QaLands;
/** @type {number} */
Delivered90;
/** @type {number} */
OnTime90;
/** @type {ComplianceEvidenceDto[]} */
Evidence = [];
}
export class ComplianceOperationsResponse {
/** @param {{ResponseStatus?:ResponseStatus,Operations?:ComplianceOperationsDto}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {ComplianceOperationsDto} */
Operations;
}
export class ComplianceOperationsRequest {
constructor(init) { Object.assign(this, init) }
}
JavaScript ComplianceOperationsRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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
}
]
}
}