Process Rebate Batch Calculation Jobs

Process a rebate batch calculation job from the Data Processing Engine.

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/processRebatesBatchCalculationJob

Where XX.X is the latest API version.

Formats: JSON, XML

HTTP Methods: GET, HEAD, POST

Authentication: Authorization: Bearer token

Where TOKEN is a variable.

Inputs 

InputTypeDescription
calcDefinitionIdIDRequired. The ID of the data processing engine definition record that you want to process.
rebateProgramIdsarrayThe list of IDs of the rebate program records that the custom batch calculation job processes.
programRebateTypeIdsarrayThe list of IDs of the program rebate type records that the custom batch calculation job processes.
rebateProgramPayoutPeriodIdsarrayThe list of IDs of the rebate program payout period records that the custom batch calculation job processes.
rebateProgramMemberIdsarrayThe list of IDs of the rebate program member records that the custom batch calculation job processes.

Outputs 

OutputTypeDescription
batchJobIdIDThe ID of the generated batch job record after the request is successful.
acceptedbooleanIndicates whether the rebate batch calculation job is accepted.

Usage 

Sample Request

1{
2   "inputs":[{
3      "calcDefinitionId": "0lcxx00004000002AAA",
4      "rebateProgramIds": ["0htxx00004000002AAA","0htxx00004000002bAA"],
5      "programRebateTypeIds": ["0htxx00004000002AAA","0htxx00004000002bAA"],
6      "rebateProgramPayoutPeriodIds": ["0htxx00004000002AAA","0htxx00004000002bAA"],
7      "rebateProgramMemberIds": ["0htxx00004000002AAA","0htxx00004000002bAA"]
8   }]
9}

Sample Response

1{
2   "errors":null,
3   "isSuccess":true,
4   "outputValues":{ 
5      "batchJobId":"0ntxx00004000002AAA",
6      }
7}