Create a Job
Upload Job Data
Close or Abort a Job
Delete a Job
Get Job Info
Get All Jobs
Real-Time Ingestion
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
With the Data 360 Ingestion API, you can upsert or delete large data sets. Prepare a CSV file for the data you want to upload, create a job, upload job data, and let Salesforce take care of the rest.
The Ingestion API upserts or deletes data in Data 360 using jobs. A bulk job typically goes through following stages:
Jobs transition through these status values during their lifecycle.
| Status | Description |
|---|---|
| Open | Job is created and ready to accept data uploads. |
| UploadComplete | All data is uploaded, the job is closed and ready for processing. |
| InProgress | The system is actively processing the uploaded data. |
| JobComplete | Processing completed successfully and data is available. |
| Failed | Processing failed. Check error details. |
| Aborted | Job was manually aborted. |
Lists the field names for the object that you’re processing in the first row in the CSV file. Each subsequent row corresponds to a record in your Data 360 data lake. All the records in a CSV file must be for the same object. You specify this object when you first create the job.
1id,contact_name,created_date,tax_exempt,ship_address,total,tax_rate,modified_date
2f19cae7e-5cdb-41ce-92ba-539afea04f9d,Jadyn Kozey,2021-07-22T08:57:08.118Z,false,9818 Walter Course Apt. 811,77506,84,2021-07-05T09:31:44.457Z
348c8b6a6-8179-4a15-ba19-ec5c8206ce28,Kristina Jakubowski,2021-07-08T22:57:02.008Z,false,245 Schowalter Port Suite 245,16986,61,2021-07-03T06:20:52.886Z
456e005af-cc6c-4f9c-b628-ae6cbbc909cc,Aletha Wilkinson,2021-07-21T04:01:29.838Z,true,7494 Hudson Ports Apt. 123,23907,99,2021-07-18T23:21:43.240ZThe Ingestion API supports ISO 8601 UTC with Zulu format.
Use the yyyy-MM-dd format to specify date values. For example, in 2021-07-05:
yyyy is the four-digit yearMM is the two-digit monthdd is the two-digit dayUse the yyyy-MM-dd'T'HH:mm:ss.SSS'Z' format to specify dateTime fields. For example, in 2021-07-05'T'09:31:44.457'Z':
yyyy is the four-digit yearMM is the two-digit monthdd is the two-digit day'T' is a separator indicating that time-of-day followsHH is the two-digit hourmm is the two-digit minutess is the two-digit secondsSSS is the optional three-digit milliseconds (000-999)'Z' is the reference UTC timezoneCreates a job that represents the bulk operation for loading data into the Data 360 org.
Uploads CSV data for the job to process. A job can consist of up to 100 data files. After all of the data has been uploaded, close the job to indicate the data is ready to be processed.
Close a job by updating the job state to UploadComplete. When you close a job, the uploaded data is enqueued for processing. To abort a job, update the job state to Aborted. If you abort a job, the job doesn’t get queued or processed. Any data uploaded as part of the aborted job is deleted.
To delete, a job must have a state of UploadComplete, JobComplete, Aborted, or Failed. When you delete a job, the stored job data is also deleted and its metadata is removed.
Retrieves detailed information about the specified job.
Retrieves all jobs in Data 360.
See Also