Trendsic Platform Service

<back to all web services

StaffApplyRequest

The following routes are available for this service:
POST,OPTIONS/v1/staff/apply/{PostingUID}

export class PmActionResponse
{
    public Success: boolean;
    public Message: string;
    public NewId: number;
    public ResponseStatus: ResponseStatus;

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

export class StaffApplyRequest
{
    public PostingUID: string;
    public Name: string;
    public Email: string;
    public Phone: string;
    public YearsExperience: number;
    public AskRate: number;
    public Skills: string;
    public BaseText: string;
    public ResumeText: string;

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

TypeScript StaffApplyRequest 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.

POST /v1/staff/apply/{PostingUID} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	PostingUID: String,
	Name: String,
	Email: String,
	Phone: String,
	YearsExperience: 0,
	AskRate: 0,
	Skills: String,
	BaseText: String,
	ResumeText: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Success: False,
	Message: String,
	NewId: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}