Add a Batch to a Job

Add a new batch to a job by sending a POST request to this URI. The request body contains a list of records for processing.

URI:

/services/async/APIversion/job``/jobid/batch

The API version in the URI for all batch operations must match the API version for the associated job.

Example XML request body

In this sample, the batch data is in XML format because the contentType field of the associated job was set to XML. For alternative formats for batch data, such as CSV or JSON, see JobInfo.

Example XML response body

Example JSON request body

In this sample, the batch data is in JSON format because the contentType field of the associated job was set to JSON.

Example JSON response body

You can add batch jobs using non-Bulk API-compliant CSV files. See Map Data Fields.

See Also