Get Renewable Assets Summary Action
Retrieve details about renewable assets in a given order. You can use this information to create renewal opportunities.
This action gets pricing data from the OrderEntitiesMapping context mapping within the SalesTransactionContext context definition. Before you use this action, edit the context mapping to map the objects and fields used in your pricing procedure to the nodes and attributes in the context definition.
This action doesn’t support providing a summary with procedure plans. As a result, renewal line items may return a price of zero.
We recommend adding the same fields and mappings for the Quote and Order objects, and for the Quote Line Item and Order Product objects.
This action is available in API version 64.0 and later.
URI: /services/data/v68.0/actions/standard/getRenewableAssetsSummary
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a placeholder for your OAuth access token.
| Input | Type | Description |
|---|---|---|
orderId | id | Required. ID of the order related to the assets to check for renewal opportunities. |
| Output | Type | Description |
|---|---|---|
renewableAssetsSummary | Apex-defined | Summary of the assets associated with the order, including details about renewal opportunities such as renewal pricing information. See renew_assets_summary Apex Namespace. |
POST
Here’s a sample request for the Get Renewable Assets Summary action.
Here’s a sample response for the Get Renewable Assets Summary action.