Trendsic Platform Service

<back to all web services

StaffPostingGetRequest

Requires Authentication
The following routes are available for this service:
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 .xml suffix or ?format=xml

HTTP + 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>