Process Rebate CSV Files

Process an uploaded CSV file using Bulk API 2.0 and convert the file’s data into records in the target object.

This object is available in API version 51.0 and later for users with Rebate Management license.

Supported REST HTTP Methods

URI
/services/data/vXX.X/actions/standard/rebatesProcessCSV
Formats
JSON, XML
HTTP Methods
GET, HEAD, POST
Authentication
Authorization: Bearer token

Inputs

Input Details
recordId
Type
ID
Description
Required. The ID of the received document record that includes the CSV file to be converted.
entityAPIName
Type
string
Description
Required. The API name of the target object that receives the processed CSV file records.
lineEnding
Type
string
Description
Optional. The line ending request header that specifies whether the line endings can be read either as line feeds (LFs) or as line feeds (CRLFs) for fields of type Text Area and Text Area (Long). The default value is LF.

Usage

Sample Request
{
   "inputs":[{
      "recordId": "0io4S000000TPsyQAG",
      "entityAPIName" : "TransactionJournal"
   }]
}
Sample Response
{
   "errors":null,
   "isSuccess":true,
}