query—Returns data that hasn’t been deleted or archived. For more information, see query() in SOAP API Developer Guide.
queryAll—Returns records that have been deleted because of a merge or delete, and returns information about archived Task and Event records. For more information, see queryAll() in SOAP API Developer Guide.
object
The object type being queried.
createdById
The ID of the user who created the job.
createdDate
The UTC date and time when the job was created.
systemModstamp
The UTC date and time when the API last updated the job information.
state
The current state of processing for the job. Possible values are:
UploadComplete—The job is ready to be processed and Salesforce has put the job in the queue.
JobComplete—Salesforce has finished processing the job.
Failed—The job failed.
concurrencyMode
Reserved for future use. How the request is processed. Currently only parallel mode is supported. (When other modes are added, the API chooses the mode automatically. The mode isn’t user configurable.)
contentType
The format that is used for the results. Currently the only supported value is CSV.
apiVersion
The API version that the job was created in.
Response Body - For an Unsuccessful Request
If the request fails, the server returns a non-200 status, and the request body shows details of the error. For example:
1HTTP/1.1 400 Bad Request2[{3 "errorCode": "INVALIDJOBSTATE",4 "message": "Aborting already Completed Job not allowed"5}]
Example
This example aborts the job with ID 750R000000146UvIAI: