Update a bulk job
PUT/v2/bulk_jobs/:id
Updates a bulk job's name and / or marks a bulk job as 'ready_to_execute'. May only be updated if the bulk job is still in an "open" state.
For additional information on creating bulk jobs, the types of supported bulk jobs, and examples of the bulk job flow, visit the bulk job details page.
Request
Path Parameters
The id for the bulk job to which the job data relates
- application/json
Body
required
Whether the job is ready to be executed. Must be true or false.
Name for your bulk job
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
When this bulk job was updated
Type of the Bulk Job.
Number of total records for this Bulk Job
State of the Bulk Job. Must be one of: open, executing, done.
When this bulk job started processing. null until bulk job is done
Scopes
Whether the Bulk Job is ready to be executed
Number of processed records at the time of request for this Bulk Job
Name of this Bulk Job
When this bulk job was marked as ready to execute
ID of this Bulk Job
When this bulk job finished processing
Number of errored records at the time of request for this Bulk Job
When this bulk job was created
{
"updated_at": "2019-01-02T00:00:00-05:00",
"type": "person/upsert",
"total": 1234,
"state": "open",
"started_at": "2019-01-02T00:00:00-05:00",
"scopes": [
"person:set_crm_id"
],
"ready_to_execute": false,
"processed": 50,
"name": "Job Name",
"marked_ready_at": "2019-01-02T00:00:00-05:00",
"id": 1,
"finished_at": "2019-01-02T00:00:00-05:00",
"errors": 23,
"created_at": "2019-01-01T00:00:00-05:00"
}