Get External Prices Action
This action is available in API version 68.0 and later.
Special Access Rules
The Get External Prices action is available in Enterprise and Unlimited Editions with Energy and Utilities Cloud. Invoke this action with a clean transaction because the action performs an external callout.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/getExternalPrices
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| quoteLineItemId |
|
| namedCredentialName |
|
| correlationId |
|
| timeoutMsOverride |
|
| partialFailureMode |
|
Outputs
| Output | Details |
|---|---|
| isSuccess |
|
| errorCode |
|
| errorMessage |
|
| correlationId |
|
| currencyKey |
|
| recipientPricingResultsList |
|
Example
- POST
-
This sample request is for the Get External Prices action.
1{ 2 "inputs": [ 3 { 4 "quoteLineItemId": "0QL000000000001AAA", 5 "namedCredentialName": "ExternalPricing", 6 "correlationId": "0Q0000000000001AAA:0QL000000000001AAA", 7 "timeoutMsOverride": 5000, 8 "partialFailureMode": "CONTINUE" 9 } 10 ] 11}This sample response is for the Get External Prices action.
1[ 2 { 3 "actionName": "getExternalPrices", 4 "errors": null, 5 "invocationId": null, 6 "isSuccess": true, 7 "outputValues": { 8 "isSuccess": true, 9 "errorCode": null, 10 "errorMessage": null, 11 "correlationId": "0Q0000000000001AAA:0QL000000000001AAA", 12 "currencyKey": "USD", 13 "recipientPricingResultsList": [ 14 { 15 "recipientId": "18O000000000001AAA", 16 "status": "SUCCESS", 17 "responseMode": "INLINE", 18 "amountValue": 142.75, 19 "amountCurrency": "USD", 20 "lineItemPrices": [], 21 "pricingDetailsJson": "{}" 22 } 23 ] 24 }, 25 "sortOrder": -1, 26 "version": 1 27 } 28]