Logo
Salesforce Developers API Documentation

Bulk Close Job

POST {{_endpoint}}/services/async/{{version}}/job/{{_jobId}}

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
X-SFDC-Session
string
Content-Type
string
charset
string
Accept-Encoding
string
Content-Encoding
string




RESPONSES

status OK

{ "apexProcessingTime": 64, "apiActiveProcessingTime": 225, "apiVersion": 58, "assignmentRuleId": null, "concurrencyMode": "Parallel", "contentType": "CSV", "createdById": "005...", "createdDate": "<date_time>", "externalIdFieldName": null, "fastPathEnabled": false, "id": "750...", "numberBatchesCompleted": 1, "numberBatchesFailed": 0, "numberBatchesInProgress": 0, "numberBatchesQueued": 0, "numberBatchesTotal": 1, "numberRecordsFailed": 0, "number
Curl
curl -X POST '/services/async/61.0/job/' -H 'X-SFDC-Session: ' -H 'Content-Type: application/json' -H 'charset: UTF-8' -H 'Accept-Encoding: gzip' -H 'Content-Encoding: gzip' -d '{"state":"Closed"}'

ENDPOINTS