| 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 .xml suffix or ?format=xml
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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<StaffPostingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRM.AgencyPlatform.API.Internal">
<ApplicantStrong>0</ApplicantStrong>
<ApplicantTotal>0</ApplicantTotal>
<Applicants>
<StaffApplicantDto>
<Ago>String</Ago>
<AskRate>0</AskRate>
<Base>String</Base>
<DistanceMi>0</DistanceMi>
<FitScore>0</FitScore>
<FitTier>String</FitTier>
<InterviewSlot>String</InterviewSlot>
<MatchedSkills xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</MatchedSkills>
<Name>String</Name>
<Reasons xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:string>String</d4p1:string>
</Reasons>
<ResumeText>String</ResumeText>
<Source>String</Source>
<StaffApplicantID>0</StaffApplicantID>
<Status>String</Status>
<YearsExperience>0</YearsExperience>
</StaffApplicantDto>
</Applicants>
<Posting>
<ApplyUrl>String</ApplyUrl>
<Body>String</Body>
<LocationText>String</LocationText>
<PositionTag>String</PositionTag>
<RateTarget>0</RateTarget>
<Sites xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:string>String</d3p1:string>
</Sites>
<StaffPostingID>0</StaffPostingID>
<Status>String</Status>
<Title>String</Title>
<WindowText>String</WindowText>
</Posting>
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
<d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</d2p1:Meta>
</d2p1:ResponseError>
</d2p1:Errors>
<d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d3p1:KeyValueOfstringstring>
<d3p1:Key>String</d3p1:Key>
<d3p1:Value>String</d3p1:Value>
</d3p1:KeyValueOfstringstring>
</d2p1:Meta>
</ResponseStatus>
</StaffPostingResponse>