Trendsic Platform Service

<back to all web services

StaffMatchRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/staff/match
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class StaffMatchRequest
    {
        public Integer PlaceholderContactID = null;
        public Integer JobID = null;
        
        public Integer getPlaceholderContactID() { return PlaceholderContactID; }
        public StaffMatchRequest setPlaceholderContactID(Integer value) { this.PlaceholderContactID = value; return this; }
        public Integer getJobID() { return JobID; }
        public StaffMatchRequest setJobID(Integer value) { this.JobID = value; return this; }
    }

    public static class StaffMatchResponse
    {
        public ResponseStatus ResponseStatus = null;
        public ArrayList<StaffCandidate> Candidates = new ArrayList<StaffCandidate>();
        public StaffPosition Position = null;
        
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public StaffMatchResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
        public ArrayList<StaffCandidate> getCandidates() { return Candidates; }
        public StaffMatchResponse setCandidates(ArrayList<StaffCandidate> value) { this.Candidates = value; return this; }
        public StaffPosition getPosition() { return Position; }
        public StaffMatchResponse setPosition(StaffPosition value) { this.Position = value; return this; }
    }

    public static class StaffCandidate
    {
        public Integer ContactID = null;
        public String Name = null;
        public String Kind = null;
        public BigDecimal Rate = null;
        public BigDecimal Rating = null;
        public Integer RatingCount = null;
        public String Base = null;
        public Integer DistanceMi = null;
        public Integer MatchCount = null;
        public Integer TotalRequired = null;
        public ArrayList<StaffSkillChip> Skills = new ArrayList<StaffSkillChip>();
        public Boolean Conflict = null;
        public String BusyUntil = null;
        public String BusyJob = null;
        public String Phone = null;
        public String Email = null;
        public Boolean Sms = null;
        
        public Integer getContactID() { return ContactID; }
        public StaffCandidate setContactID(Integer value) { this.ContactID = value; return this; }
        public String getName() { return Name; }
        public StaffCandidate setName(String value) { this.Name = value; return this; }
        public String getKind() { return Kind; }
        public StaffCandidate setKind(String value) { this.Kind = value; return this; }
        public BigDecimal getRate() { return Rate; }
        public StaffCandidate setRate(BigDecimal value) { this.Rate = value; return this; }
        public BigDecimal getRating() { return Rating; }
        public StaffCandidate setRating(BigDecimal value) { this.Rating = value; return this; }
        public Integer getRatingCount() { return RatingCount; }
        public StaffCandidate setRatingCount(Integer value) { this.RatingCount = value; return this; }
        public String getBase() { return Base; }
        public StaffCandidate setBase(String value) { this.Base = value; return this; }
        public Integer getDistanceMi() { return DistanceMi; }
        public StaffCandidate setDistanceMi(Integer value) { this.DistanceMi = value; return this; }
        public Integer getMatchCount() { return MatchCount; }
        public StaffCandidate setMatchCount(Integer value) { this.MatchCount = value; return this; }
        public Integer getTotalRequired() { return TotalRequired; }
        public StaffCandidate setTotalRequired(Integer value) { this.TotalRequired = value; return this; }
        public ArrayList<StaffSkillChip> getSkills() { return Skills; }
        public StaffCandidate setSkills(ArrayList<StaffSkillChip> value) { this.Skills = value; return this; }
        public Boolean isConflict() { return Conflict; }
        public StaffCandidate setConflict(Boolean value) { this.Conflict = value; return this; }
        public String getBusyUntil() { return BusyUntil; }
        public StaffCandidate setBusyUntil(String value) { this.BusyUntil = value; return this; }
        public String getBusyJob() { return BusyJob; }
        public StaffCandidate setBusyJob(String value) { this.BusyJob = value; return this; }
        public String getPhone() { return Phone; }
        public StaffCandidate setPhone(String value) { this.Phone = value; return this; }
        public String getEmail() { return Email; }
        public StaffCandidate setEmail(String value) { this.Email = value; return this; }
        public Boolean isSms() { return Sms; }
        public StaffCandidate setSms(Boolean value) { this.Sms = value; return this; }
    }

    public static class StaffSkillChip
    {
        public String Name = null;
        public Boolean Matched = null;
        
        public String getName() { return Name; }
        public StaffSkillChip setName(String value) { this.Name = value; return this; }
        public Boolean isMatched() { return Matched; }
        public StaffSkillChip setMatched(Boolean value) { this.Matched = value; return this; }
    }

    public static class StaffPosition
    {
        public Integer PlaceholderContactID = null;
        public Integer JobID = null;
        public Integer ProjectID = null;
        public String JobName = null;
        public String PositionTag = null;
        public ArrayList<String> Skills = new ArrayList<String>();
        public Double BudgetedHours = null;
        public BigDecimal TargetRate = null;
        public String StartDate = null;
        public String EndDate = null;
        public String WindowText = null;
        public Integer ResponsesActionable = null;
        public String PostingStatus = null;
        public Integer ApplicantTotal = null;
        public Integer ApplicantStrong = null;
        public Boolean Filled = null;
        
        public Integer getPlaceholderContactID() { return PlaceholderContactID; }
        public StaffPosition setPlaceholderContactID(Integer value) { this.PlaceholderContactID = value; return this; }
        public Integer getJobID() { return JobID; }
        public StaffPosition setJobID(Integer value) { this.JobID = value; return this; }
        public Integer getProjectID() { return ProjectID; }
        public StaffPosition setProjectID(Integer value) { this.ProjectID = value; return this; }
        public String getJobName() { return JobName; }
        public StaffPosition setJobName(String value) { this.JobName = value; return this; }
        public String getPositionTag() { return PositionTag; }
        public StaffPosition setPositionTag(String value) { this.PositionTag = value; return this; }
        public ArrayList<String> getSkills() { return Skills; }
        public StaffPosition setSkills(ArrayList<String> value) { this.Skills = value; return this; }
        public Double getBudgetedHours() { return BudgetedHours; }
        public StaffPosition setBudgetedHours(Double value) { this.BudgetedHours = value; return this; }
        public BigDecimal getTargetRate() { return TargetRate; }
        public StaffPosition setTargetRate(BigDecimal value) { this.TargetRate = value; return this; }
        public String getStartDate() { return StartDate; }
        public StaffPosition setStartDate(String value) { this.StartDate = value; return this; }
        public String getEndDate() { return EndDate; }
        public StaffPosition setEndDate(String value) { this.EndDate = value; return this; }
        public String getWindowText() { return WindowText; }
        public StaffPosition setWindowText(String value) { this.WindowText = value; return this; }
        public Integer getResponsesActionable() { return ResponsesActionable; }
        public StaffPosition setResponsesActionable(Integer value) { this.ResponsesActionable = value; return this; }
        public String getPostingStatus() { return PostingStatus; }
        public StaffPosition setPostingStatus(String value) { this.PostingStatus = value; return this; }
        public Integer getApplicantTotal() { return ApplicantTotal; }
        public StaffPosition setApplicantTotal(Integer value) { this.ApplicantTotal = value; return this; }
        public Integer getApplicantStrong() { return ApplicantStrong; }
        public StaffPosition setApplicantStrong(Integer value) { this.ApplicantStrong = value; return this; }
        public Boolean isFilled() { return Filled; }
        public StaffPosition setFilled(Boolean value) { this.Filled = value; return this; }
    }

}

Java StaffMatchRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/staff/match 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
		}
	},
	Candidates: 
	[
		{
			ContactID: 0,
			Name: String,
			Kind: String,
			Rate: 0,
			Rating: 0,
			RatingCount: 0,
			Base: String,
			DistanceMi: 0,
			MatchCount: 0,
			TotalRequired: 0,
			Skills: 
			[
				{
					Name: String,
					Matched: False
				}
			],
			Conflict: False,
			BusyUntil: String,
			BusyJob: String,
			Phone: String,
			Email: String,
			Sms: False
		}
	],
	Position: 
	{
		PlaceholderContactID: 0,
		JobID: 0,
		ProjectID: 0,
		JobName: String,
		PositionTag: String,
		Skills: 
		[
			String
		],
		BudgetedHours: 0,
		TargetRate: 0,
		StartDate: String,
		EndDate: String,
		WindowText: String,
		ResponsesActionable: 0,
		PostingStatus: String,
		ApplicantTotal: 0,
		ApplicantStrong: 0,
		Filled: False
	}
}