Import Records from CSV File Action

Import and convert data from an uploaded CSV file into records of the target object.

This action is available in API version 55.0 and later.

To access the Import Records from CSV File action, enable the Import CSV for Advanced Account Forecasting system permission with the Manufacturing Advanced Account Forecast permission set, or enable the Manufacturing Program Based Business permission set.

URI: /services/data/v55.0/actions/standard/importRecordsFromCsvFile

Formats: JSON, XML

HTTP Methods: GET, HEAD, POST

Authentication: Authorization: Bearer token

InputTypeDescription
externalIdFieldNamestringRequired.
The name of the target object field that contains the external ID. The external ID is used to identify the records with the upsert operation to the processed CSV file’s data.
Note: The externalIdFieldName input is optional if the operationType input is insert.
operationTypestringRequired.
The type of operation to be performed on the CSV file. Valid values are:
  • upsert
  • insert
receivedDocumentIdstringRequired.
The ID of the received document record to be converted.
targetObjectApiNamestringRequired.
The API name of the object that’s used to convert the CSV file data into records.

None.

GET

This example shows how to get the details of the Import Records from CSV File action type.

POST

Here’s a request for the Import Records from CSV File action.

Here’s a response for the Import Records from CSV File action.