| 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 .other suffix or ?format=other
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/jsonl
Content-Type: text/jsonl
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/jsonl
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"}}}