Mandatory fields : job_id
To update a production job (to start it / pause it / cancel it), you make a POST request to production/update.
The fields you can pass are as follows:
| job_id | They system ID for the job (required) |
| start_datetime | The scheduled start date/time for the job |
| target_datetime | The targeted finish date/time for the job |
| started | A flag (0/1) whether the job is started |
| cancelled | A flag (0/1) whether the job is cancelled |
| on_hold | A flag (0/1) to put the job on hold |
| finished | A flag (0/1) to finish the job |
For example, to start a production job (it must have sufficient stock allocated to produce at least 1 item on the job), simply post the job_id and started=1 to the endpoint.