| GET,OPTIONS | /v1/staff/posting/detail |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class StaffPostingGetRequest
{
public Integer PlaceholderContactID = null;
public Integer getPlaceholderContactID() { return PlaceholderContactID; }
public StaffPostingGetRequest setPlaceholderContactID(Integer value) { this.PlaceholderContactID = value; return this; }
}
public static class StaffPostingResponse
{
public ResponseStatus ResponseStatus = null;
public StaffPostingDto Posting = null;
public ArrayList<StaffApplicantDto> Applicants = new ArrayList<StaffApplicantDto>();
public Integer ApplicantTotal = null;
public Integer ApplicantStrong = null;
public ResponseStatus getResponseStatus() { return ResponseStatus; }
public StaffPostingResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
public StaffPostingDto getPosting() { return Posting; }
public StaffPostingResponse setPosting(StaffPostingDto value) { this.Posting = value; return this; }
public ArrayList<StaffApplicantDto> getApplicants() { return Applicants; }
public StaffPostingResponse setApplicants(ArrayList<StaffApplicantDto> value) { this.Applicants = value; return this; }
public Integer getApplicantTotal() { return ApplicantTotal; }
public StaffPostingResponse setApplicantTotal(Integer value) { this.ApplicantTotal = value; return this; }
public Integer getApplicantStrong() { return ApplicantStrong; }
public StaffPostingResponse setApplicantStrong(Integer value) { this.ApplicantStrong = value; return this; }
}
public static class StaffPostingDto
{
public Integer StaffPostingID = null;
public String PositionTag = null;
public String Title = null;
public String Body = null;
public BigDecimal RateTarget = null;
public String LocationText = null;
public String WindowText = null;
public ArrayList<String> Sites = new ArrayList<String>();
public String Status = null;
public String ApplyUrl = null;
public Integer getStaffPostingID() { return StaffPostingID; }
public StaffPostingDto setStaffPostingID(Integer value) { this.StaffPostingID = value; return this; }
public String getPositionTag() { return PositionTag; }
public StaffPostingDto setPositionTag(String value) { this.PositionTag = value; return this; }
public String getTitle() { return Title; }
public StaffPostingDto setTitle(String value) { this.Title = value; return this; }
public String getBody() { return Body; }
public StaffPostingDto setBody(String value) { this.Body = value; return this; }
public BigDecimal getRateTarget() { return RateTarget; }
public StaffPostingDto setRateTarget(BigDecimal value) { this.RateTarget = value; return this; }
public String getLocationText() { return LocationText; }
public StaffPostingDto setLocationText(String value) { this.LocationText = value; return this; }
public String getWindowText() { return WindowText; }
public StaffPostingDto setWindowText(String value) { this.WindowText = value; return this; }
public ArrayList<String> getSites() { return Sites; }
public StaffPostingDto setSites(ArrayList<String> value) { this.Sites = value; return this; }
public String getStatus() { return Status; }
public StaffPostingDto setStatus(String value) { this.Status = value; return this; }
public String getApplyUrl() { return ApplyUrl; }
public StaffPostingDto setApplyUrl(String value) { this.ApplyUrl = value; return this; }
}
public static class StaffApplicantDto
{
public Integer StaffApplicantID = null;
public String Name = null;
public String Source = null;
public Integer YearsExperience = null;
public BigDecimal AskRate = null;
public Integer DistanceMi = null;
public String Base = null;
public String FitTier = null;
public Integer FitScore = null;
public ArrayList<String> MatchedSkills = new ArrayList<String>();
public ArrayList<String> Reasons = new ArrayList<String>();
public String ResumeText = null;
public String Status = null;
public String InterviewSlot = null;
public String Ago = null;
public Integer getStaffApplicantID() { return StaffApplicantID; }
public StaffApplicantDto setStaffApplicantID(Integer value) { this.StaffApplicantID = value; return this; }
public String getName() { return Name; }
public StaffApplicantDto setName(String value) { this.Name = value; return this; }
public String getSource() { return Source; }
public StaffApplicantDto setSource(String value) { this.Source = value; return this; }
public Integer getYearsExperience() { return YearsExperience; }
public StaffApplicantDto setYearsExperience(Integer value) { this.YearsExperience = value; return this; }
public BigDecimal getAskRate() { return AskRate; }
public StaffApplicantDto setAskRate(BigDecimal value) { this.AskRate = value; return this; }
public Integer getDistanceMi() { return DistanceMi; }
public StaffApplicantDto setDistanceMi(Integer value) { this.DistanceMi = value; return this; }
public String getBase() { return Base; }
public StaffApplicantDto setBase(String value) { this.Base = value; return this; }
public String getFitTier() { return FitTier; }
public StaffApplicantDto setFitTier(String value) { this.FitTier = value; return this; }
public Integer getFitScore() { return FitScore; }
public StaffApplicantDto setFitScore(Integer value) { this.FitScore = value; return this; }
public ArrayList<String> getMatchedSkills() { return MatchedSkills; }
public StaffApplicantDto setMatchedSkills(ArrayList<String> value) { this.MatchedSkills = value; return this; }
public ArrayList<String> getReasons() { return Reasons; }
public StaffApplicantDto setReasons(ArrayList<String> value) { this.Reasons = value; return this; }
public String getResumeText() { return ResumeText; }
public StaffApplicantDto setResumeText(String value) { this.ResumeText = value; return this; }
public String getStatus() { return Status; }
public StaffApplicantDto setStatus(String value) { this.Status = value; return this; }
public String getInterviewSlot() { return InterviewSlot; }
public StaffApplicantDto setInterviewSlot(String value) { this.InterviewSlot = value; return this; }
public String getAgo() { return Ago; }
public StaffApplicantDto setAgo(String value) { this.Ago = value; return this; }
}
}
Java StaffPostingGetRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}