Hierarchy

Properties

apiVersion: string

The API version that the job was created in.

columnDelimiter?: "COMMA" | "BACKQUOTE" | "CARET" | "PIPE" | "SEMICOLON" | "TAB"

The column delimiter used for CSV job data. The default value is COMMA.

concurrencyMode: "parallel"

For future use. How the request was processed. Currently only parallel mode is supported. (When other modes are added, the mode will be chosen automatically by the API and will not be user configurable.)

contentType: "CSV"

The content type for the job. The only valid value (and the default) is CSV.

createdById: string

The ID of the user who created the job.

createdDate: string

The date and time in the UTC time zone when the job was created.

errorMessage?: string

Error message set when job is not completed successfully

id: string

Unique ID for this job.

jobType: IngestJobType | "V2Query"
  • BigObjectIngest BigObjects job
  • Classic Bulk API 1.0 job
  • V2Ingest Bulk API 2.0 job
  • V2Query Bulk API 2.0 job
lineEnding?: JobLineEndingFormat

The line ending used for CSV job data, marking the end of a data row. The default is LF.

numberRecordsProcessed: number

The number of records already processed.

Note

This property is of type int in API version 46.0 and earlier.

object: string

The object type for the data being processed. Use only a single object type per job.

The processing operation for the job

query: string

The URL to use for Upload Job Data requests for this job. Only valid if the job is in Open state.

state: JobState

The current state of processing for the job. Values include:

  • Open The job has been created, and data can be added to the job.
  • UploadComplete No new data can be added to this job. You can’t edit or save a closed job.
  • Aborted The job has been aborted. You can abort a job if you created it or if you have the “Manage Data Integrations” permission.
  • JobComplete The job was processed by Salesforce.
  • Failed Some records in the job failed. Job data that was successfully processed isn’t rolled back.
systemModstamp: string

Date and time in the UTC time zone when the job finished.

totalProcessingTime: number

The number of milliseconds taken to process the job.