Use the bulk service to send multiple operations for one REST object for asynchronous processing. See the Bulk requests topic for more details.
Send a bulk request for asynchronous processing.
objectName required | string The name of the REST object targeted by the request. Example: "vendor" |
operation required | string The HTTP operation for the request. Example: "create" |
jobFile required | string <inbound-binary> The name for the input file. Example: "vendor.csv" |
fileContentType required | string The format for the input file. Example: "json" |
callbackURL | string or null Callback URL for receiving the asynchronous response. Example: "https://example.com/callback" |
OK
Bad Request
{- "objectName": "vendor",
- "operation": "create",
- "jobFile": "vendor.csv",
- "fileContentType": "json",
}
{- "ia::result": {
- "jobId": "950bf10d-f119-41c9-a352-1b68b34498c3",
- "statusURL": "/services/bulk/job/status?jobId=950bf10d-f119-41c9-a352-1b68b34498c3",
- "createdDateTime": "2023-08-01T01:20:30"
}, - "ia::meta": {
- "totalCount": 3,
- "totalSuccess": 2,
- "totalError": 1
}
}