Trendsic Platform Service

<back to all web services

StaffMatchRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/staff/match

export class StaffSkillChip
{
    public Name: string;
    public Matched: boolean;

    public constructor(init?: Partial<StaffSkillChip>) { (Object as any).assign(this, init); }
}

export class StaffCandidate
{
    public ContactID: number;
    public Name: string;
    public Kind: string;
    public Rate: number;
    public Rating: number;
    public RatingCount: number;
    public Base: string;
    public DistanceMi: number;
    public MatchCount: number;
    public TotalRequired: number;
    public Skills: StaffSkillChip[] = [];
    public Conflict: boolean;
    public BusyUntil: string;
    public BusyJob: string;
    public Phone: string;
    public Email: string;
    public Sms: boolean;

    public constructor(init?: Partial<StaffCandidate>) { (Object as any).assign(this, init); }
}

export class StaffPosition
{
    public PlaceholderContactID: number;
    public JobID: number;
    public ProjectID: number;
    public JobName: string;
    public PositionTag: string;
    public Skills: string[] = [];
    public BudgetedHours: number;
    public TargetRate: number;
    public StartDate: string;
    public EndDate: string;
    public WindowText: string;
    public ResponsesActionable: number;
    public PostingStatus: string;
    public ApplicantTotal: number;
    public ApplicantStrong: number;
    public Filled: boolean;

    public constructor(init?: Partial<StaffPosition>) { (Object as any).assign(this, init); }
}

export class StaffMatchResponse
{
    public ResponseStatus: ResponseStatus;
    public Candidates: StaffCandidate[] = [];
    public Position: StaffPosition;

    public constructor(init?: Partial<StaffMatchResponse>) { (Object as any).assign(this, init); }
}

export class StaffMatchRequest
{
    public PlaceholderContactID: number;
    public JobID: number;

    public constructor(init?: Partial<StaffMatchRequest>) { (Object as any).assign(this, init); }
}

TypeScript 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
	}
}