Get Tariff Configurations Action
Retrieve tariff configurations, including details, attributes, and related metadata, for tariff comparison based on catalog code, category code, and service type.
This action is available in API version 68.0 and later.
The Get Tariff Configurations action is available in Enterprise and Unlimited Editions with Energy and Utilities Cloud.
URI: /services/data/v68.0/actions/standard/getTariffConfigurations
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a variable.
| Input | Type | Description |
|---|---|---|
catalogCode | string | Optional. The catalog code used to filter tariff configurations. |
categoryCode | string | Optional. The category code used to filter tariff configurations. |
serviceType | string | Optional. The service type used to filter tariff configurations. |
includeAttributes | boolean | Optional. Indicates whether to include tariff attributes in the response. |
| Output | Type | Description |
|---|---|---|
commodityConfigResponse | Apex | An Apex response that contains the commodity configuration details. Contains these fields.success (boolean): Indicates whether configuration retrieval succeeded.attributes (object[]): Tariff attributes used for comparison and configuration. Returned when includeAttributes is true.commodityCatalogList (object[]): Catalog and category structure used by tariff comparison.consumptionParamList (object[]): Consumption parameters supported for comparison.errors (object[]): List of errors returned for invalid or incomplete requests. |
- POST
This sample request is for the Get Tariff Configurations action.
This sample response is for the Get Tariff Configurations action.