| GET,OPTIONS | /v1/staff/board/{ProjectUID} |
|---|
"use strict";
export class StaffPosition {
/** @param {{PlaceholderContactID?:number,JobID?:number,ProjectID?:number,JobName?:string,PositionTag?:string,Skills?:string[],BudgetedHours?:number,TargetRate?:number,StartDate?:string,EndDate?:string,WindowText?:string,ResponsesActionable?:number,PostingStatus?:string,ApplicantTotal?:number,ApplicantStrong?:number,Filled?:boolean}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
PlaceholderContactID;
/** @type {number} */
JobID;
/** @type {number} */
ProjectID;
/** @type {string} */
JobName;
/** @type {string} */
PositionTag;
/** @type {string[]} */
Skills = [];
/** @type {number} */
BudgetedHours;
/** @type {number} */
TargetRate;
/** @type {string} */
StartDate;
/** @type {string} */
EndDate;
/** @type {string} */
WindowText;
/** @type {number} */
ResponsesActionable;
/** @type {string} */
PostingStatus;
/** @type {number} */
ApplicantTotal;
/** @type {number} */
ApplicantStrong;
/** @type {boolean} */
Filled;
}
export class StaffBoardResponse {
/** @param {{ResponseStatus?:ResponseStatus,Positions?:StaffPosition[],OpenCount?:number,ResponsesActionable?:number,ProjectID?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {StaffPosition[]} */
Positions = [];
/** @type {number} */
OpenCount;
/** @type {number} */
ResponsesActionable;
/** @type {number} */
ProjectID;
}
export class StaffBoardRequest {
/** @param {{ProjectUID?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
ProjectUID;
}
JavaScript StaffBoardRequest 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.
GET /v1/staff/board/{ProjectUID} 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"}},"Positions":[{"PlaceholderContactID":0,"JobID":0,"ProjectID":0,"JobName":"String","PositionTag":"String","Skills":["String"],"BudgetedHours":0,"TargetRate":0,"StartDate":"String","EndDate":"String","WindowText":"String","ResponsesActionable":0,"PostingStatus":"String","ApplicantTotal":0,"ApplicantStrong":0,"Filled":false}],"OpenCount":0,"ResponsesActionable":0,"ProjectID":0}