Calculate Recipient Prices Action

Calculate the price for each recipient in a bundle quote line item linked to a quote recipient group and enqueue an asynchronous pricing job.

This action is available in API version 68.0 and later.

Special Access Rules 

The Calculate Recipient Prices action is available in Enterprise and Unlimited Editions with Energy and Utilities Cloud.

Supported REST HTTP Methods 

URI: /services/data/v68.0/actions/standard/calculateRecipientPrices

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a variable.

Inputs 

InputTypeDescription
bundleQuoteLineItemIdstringRequired.
The ID of the bundle quote line item record to calculate recipient pricing for.

Outputs 

OutputTypeDescription
jobTrackerIdstringThe ID of the job tracker record generated for the enqueued asynchronous calculation job.

Example 

POST

This sample request is for the Calculate Recipient Prices action.

1{
2  "inputs": [
3    {
4      "bundleQuoteLineItemId": "0QL000000000001AAA"
5    }
6  ]
7}

This sample response is for the Calculate Recipient Prices action.

1[
2  {
3    "actionName": "calculateRecipientPrices",
4    "errors": null,
5    "invocationId": null,
6    "isSuccess": true,
7    "outputValues": {
8      "jobTrackerId": "0tTxx0000004CjsAAE"
9    },
10    "sortOrder": -1,
11    "version": 1
12  }
13]