| GET,OPTIONS | /v1/staff/posting/detail |
|---|
"use strict";
export class StaffPostingDto {
/** @param {{StaffPostingID?:number,PositionTag?:string,Title?:string,Body?:string,RateTarget?:number,LocationText?:string,WindowText?:string,Sites?:string[],Status?:string,ApplyUrl?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
StaffPostingID;
/** @type {string} */
PositionTag;
/** @type {string} */
Title;
/** @type {string} */
Body;
/** @type {number} */
RateTarget;
/** @type {string} */
LocationText;
/** @type {string} */
WindowText;
/** @type {string[]} */
Sites = [];
/** @type {string} */
Status;
/** @type {string} */
ApplyUrl;
}
export class StaffApplicantDto {
/** @param {{StaffApplicantID?:number,Name?:string,Source?:string,YearsExperience?:number,AskRate?:number,DistanceMi?:number,Base?:string,FitTier?:string,FitScore?:number,MatchedSkills?:string[],Reasons?:string[],ResumeText?:string,Status?:string,InterviewSlot?:string,Ago?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
StaffApplicantID;
/** @type {string} */
Name;
/** @type {string} */
Source;
/** @type {number} */
YearsExperience;
/** @type {number} */
AskRate;
/** @type {number} */
DistanceMi;
/** @type {string} */
Base;
/** @type {string} */
FitTier;
/** @type {number} */
FitScore;
/** @type {string[]} */
MatchedSkills = [];
/** @type {string[]} */
Reasons = [];
/** @type {string} */
ResumeText;
/** @type {string} */
Status;
/** @type {string} */
InterviewSlot;
/** @type {string} */
Ago;
}
export class StaffPostingResponse {
/** @param {{ResponseStatus?:ResponseStatus,Posting?:StaffPostingDto,Applicants?:StaffApplicantDto[],ApplicantTotal?:number,ApplicantStrong?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {ResponseStatus} */
ResponseStatus;
/** @type {StaffPostingDto} */
Posting;
/** @type {StaffApplicantDto[]} */
Applicants = [];
/** @type {number} */
ApplicantTotal;
/** @type {number} */
ApplicantStrong;
}
export class StaffPostingGetRequest {
/** @param {{PlaceholderContactID?:number}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
PlaceholderContactID;
}
JavaScript StaffPostingGetRequest 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/posting/detail 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"}},"Posting":{"StaffPostingID":0,"PositionTag":"String","Title":"String","Body":"String","RateTarget":0,"LocationText":"String","WindowText":"String","Sites":["String"],"Status":"String","ApplyUrl":"String"},"Applicants":[{"StaffApplicantID":0,"Name":"String","Source":"String","YearsExperience":0,"AskRate":0,"DistanceMi":0,"Base":"String","FitTier":"String","FitScore":0,"MatchedSkills":["String"],"Reasons":["String"],"ResumeText":"String","Status":"String","InterviewSlot":"String","Ago":"String"}],"ApplicantTotal":0,"ApplicantStrong":0}