Get a list of all commodities and, if configured, their mappings in ENERGY STAR
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type. |
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
Array of:
EnergyStarCommodityMeterTypeMapping
| Property | Description | Type | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| commodityCode | The commodity code | string | ||||||||||||||||||||||||
| commodityIcon | Icon | |||||||||||||||||||||||||
|
Icon properties
|
||||||||||||||||||||||||||
| commodityId | The commodity identifier | integer (int32) | ||||||||||||||||||||||||
| commodityInfo | The commodity info | string | ||||||||||||||||||||||||
| portfolioManagerCommodityMapping | EnergyStarCommodityMeterTypeMappingChild | |||||||||||||||||||||||||
|
EnergyStarCommodityMeterTypeMappingChild properties
|
||||||||||||||||||||||||||
| submissionUnit | UnitChild | |||||||||||||||||||||||||
|
UnitChild properties
|
||||||||||||||||||||||||||
Example Response
[
{ "commodityCode": "string", "commodityIcon": { "code": "string", "color": "string"
}, "commodityId": 1, "commodityInfo": "string", "portfolioManagerCommodityMapping": { "isDelivery": false, "pmUnitCode": "string", "suportedPmCommoditiesWithDefault": []
}, "submissionUnit": { "unitCode": "string", "unitId": 1, "unitInfo": "string"
}
}
]