| GET,OPTIONS | /v1/staff/posting/distribution |
|---|
"use strict";
export class StaffBoardDto {
/** @param {{Board?:string,Label?:string,ExternalId?:string,Status?:string,Message?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
Board;
/** @type {string} */
Label;
/** @type {string} */
ExternalId;
/** @type {string} */
Status;
/** @type {string} */
Message;
}
export class StaffDistributionResponse {
/** @param {{ResponseStatus?:ResponseStatus,PostingStatus?:string,ApplyUrl?:string,FeedUrl?:string,Boards?:StaffBoardDto[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {string} */
PostingStatus;
/** @type {string} */
ApplyUrl;
/** @type {string} */
FeedUrl;
/** @type {StaffBoardDto[]} */
Boards = [];
}
export class StaffDistributionRequest {
/** @param {{PlaceholderContactID?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
PlaceholderContactID;
}
JavaScript StaffDistributionRequest 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/staff/posting/distribution 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"}},"PostingStatus":"String","ApplyUrl":"String","FeedUrl":"String","Boards":[{"Board":"String","Label":"String","ExternalId":"String","Status":"String","Message":"String"}]}