jobs/batch/update (POST)
To update status of a list of Standard job.
All parameters except jobs and status are optional.
URL
(POST) /api/jobs/batch/update
The body must contain a JSON object with these properties:
jobs | The list of job id that needs to be updated. The present method will fail if it is invalid or expired or it has the wrong type. | int[], Mandatory |
status | Status of the job. See Job Status for status values. | int, Mandatory |
preview | Boolean that indicates:
false by default. | bool, Optional |
notify | Notify suppliers by email where applicable. true by default. | bool, Optional |
message | Message: For jobs with group or crowd assignments that remain unclaimed, the proposal will be redistributed to all eligible suppliers along with your message. | string, Optional |
callbackurl, callback | Specify a URL which will be called upon success or failure of operation. This makes polling for operation status unnecessary. See Callbacks (with asynchronous operations) | Optional |
Â
RESULTS
The API method returns an Asynchronous operation result:
{
"trm": {
"requestid":32230,
"status":"Waiting",
"statusText":"Waiting..."
}
}
Â
You can poll the status or use the callback parameter. When the operation is complete, the results are in the result property
{
"trm": {
"requestid": 32230,
"isbatch": false,
"status": "Finished",
"statusText": "Finished!"
},
"result": {
"items": [ ****** RESULTS ****** ]
},
"custom": null
}
Â
The result property is a JSON object:
result | A JSON object with a summary of import results and status. Success Failure  The actions has four properties:
 |  |
Copyright Wordbee - Buzzin' Outside the Box since 2008