| GET,POST,PUT,DELETE,OPTIONS | /v1/ProjectStatus/{ProjectStatusID} | ||
|---|---|---|---|
| GET,POST,PUT,DELETE,OPTIONS | /v1/ProjectStatus |
"use strict";
export class ProjectStatus {
/** @param {{ProjectStatusID?:number,StatusName?:string,StatusDescription?:string,ProgressionOrder?:number,EndOfLine?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ProjectStatusID;
/** @type {string} */
StatusName;
/** @type {string} */
StatusDescription;
/** @type {number} */
ProgressionOrder;
/** @type {boolean} */
EndOfLine;
}
export class ProjectStatusResponse {
/** @param {{ResponseStatus?:ResponseStatus,ProjectStatus?:ProjectStatus[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {ProjectStatus[]} */
ProjectStatus = [];
}
export class ProjectStatusRequest {
/** @param {{ProjectStatusID?:number,ProjectStatus?:ProjectStatus[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
ProjectStatusID;
/** @type {ProjectStatus[]} */
ProjectStatus = [];
}
JavaScript ProjectStatusRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /v1/ProjectStatus/{ProjectStatusID} HTTP/1.1
Host: api.dev.dynamics.trendsic.com
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length
{"ProjectStatusID":0,"ProjectStatus":[{"ProjectStatusID":0,"StatusName":"String","StatusDescription":"String","ProgressionOrder":0,"EndOfLine":false}]}
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"}},"ProjectStatus":[{"ProjectStatusID":0,"StatusName":"String","StatusDescription":"String","ProgressionOrder":0,"EndOfLine":false}]}