The following macros are not currently supported in the header:
- style
POST /jobs
Resource URL
Creates a new job.
POST /jobs
Parameters
Table of allowed parameters. Underlined fields are required.
manager_id | unsigned int | The id of the staff member to be the manager of the job. Please note, this must point to a valid staff. |
---|---|---|
title | string | Â |
type_id | unsigned int | The ID of the job's type. Please note, this must point to a valid type. |
status_id | unsigned int | The ID of the job's status. Please note, this must point to a valid job type. |
engagement_id | unsigned int | The id of the company or site the job is against. |
engagement_table | string | Company or site. |
date_started | unsigned int | Unix timestamp for when this job was started. |
date_due | unsigned int | Unix timestamp for when this job was started. |
contract_id | unsigned int | ID of a contract to link to the job. Please note, this MUST point to a valid contract. |
rate_charged | number | e.g, 2.5. Please note, if rate_id is -1, this will always be zero. |
affiliation_id | unsigned int | ID of an affiliation. Please note, this MUST point to a valid affiliation. |
_fields | partial string | Allows you to specify optional fields and linked objects to include in the response. |
Handling the response
Upon successful creation, you will receive the job object. See get job for more details.