The following macros are not currently supported in the header:
- style
PUT /jobs/:id
Resource URL
Update a specific job.
PUT /jobs/:id ANY /jobs/:id?_method=put
Parameters
Table of allowed parameters.
Â
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. |
date_created | unsigned int | Unix timestamp for when this job was created |
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.