Get Monthly Utility Consumption Action
This action is available in API version 60.0 and later.
Special Access Rules
The Get Monthly Utility Consumption action is available in Enterprise and Unlimited Editions with Energy and Utilities Cloud. The org must have Data Cloud (Customer Data Platform) enabled with the relevant calculated insight configured.
Supported REST HTTP Methods
- URI
- /services/data/v60.0/actions/standard/getMonthlyUtilityConsumption
- Formats
- JSON, XML
- HTTP Methods
- GET
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| dataSpaceApiName |
|
| calculatedInsightApiName |
|
| consumptionRequestFilter |
|
Outputs
| Output | Details |
|---|---|
| consumptionDetails |
|
Example
- POST
-
This sample request is for the Get Monthly Utility Consumption action.
1{ 2 "inputs": [ 3 { 4 "calculatedInsightApiName": "MonthlyConsumption__cio", 5 "consumptionRequestFilter": { 6 "servicePointExternalId": "SP456", 7 "monthLimit": 3, 8 "completeMonthsOnly": true 9 } 10 } 11 ] 12}This sample response is for the Get Monthly Utility Consumption action.
1[ 2 { 3 "actionName": "getMonthlyUtilityConsumption", 4 "errors": null, 5 "invocationId": null, 6 "isSuccess": true, 7 "outputValues": { 8 "consumptionDetails": [ 9 { 10 "month": "2026-04", 11 "consumption": 980, 12 "uom": "kWh" 13 }, 14 { 15 "month": "2026-05", 16 "consumption": 1000, 17 "uom": "kWh" 18 } 19 ] 20 }, 21 "sortOrder": -1, 22 "version": 1 23 } 24]