| GET,OPTIONS | /v1/plansets/{PlanSetUID}/status |
|---|
"use strict";
export class PlanSetStatusResponse {
/** @param {{ResponseStatus?:ResponseStatus,PlanSetUID?:string,Status?:string,Progress?:number,PageCount?:number,SheetCount?:number,ErrorText?:string,StageLabel?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {string} */
PlanSetUID;
/** @type {string} */
Status;
/** @type {number} */
Progress;
/** @type {number} */
PageCount;
/** @type {number} */
SheetCount;
/** @type {string} */
ErrorText;
/** @type {string} */
StageLabel;
}
export class PlanSetStatusRequest {
/** @param {{PlanSetUID?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
PlanSetUID;
}
JavaScript PlanSetStatusRequest 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/plansets/{PlanSetUID}/status 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
}
},
PlanSetUID: 00000000000000000000000000000000,
Status: String,
Progress: 0,
PageCount: 0,
SheetCount: 0,
ErrorText: String,
StageLabel: String
}