Upload Job Data

Uploads CSV data for the job to process. A job can consist of one or more data files. After all of the data has been uploaded, the job should be closed to indicate the data is ready to be processed.

All fields must be provided in the request payload as defined in the schema regardless of whether Value Required is true or not. The Value Required is applicable to the value of the fields only. We recommend entering a blank value for fields not set as required.

Note

Syntax

URI
/api/v1/ingest/jobs/{id}/batches
Available since release
Salesforce CDP v1.0, Salesforce v51.0
Formats
TEXT/CSV
HTTP methods
PUT
Authentication
Authorization: Bearer access_token
Request body
Include the CSV file with record data.
Request parameters
Parameter Description
id The job id returned in the response body from the Create Job request.
Request body
None. Returns a status code of 202 (Accepted), which indicates that the job data was successfully received by Salesforce.

Example