Reference data
Get consumption profile
Changed onDistributes a yearly consumption over the 12 calendar months by a TDD class's seasonal shape — the same load profile the calculator models with, summed per month. Returns 12 items whose values add up to exactly the input; use it to draw the consumption graph in a wizard. The tdd value comes from GET /api/v1/reference/distribution-rates.
get/api/v1/reference/consumption-profile
Request
- Base URLhttps://api.partner.cubee.cz
- URLhttps://api.partner.cubee.cz/api/v1/reference/consumption-profile
- Authnone required
Query parameters
tddstring
TDD load-profile class, "TDD1"–"TDD8" (a bare "1"–"8" also works).
yearlyConsumptionKWhnumber double
Total yearly consumption to distribute, in kWh. Must be positive.
Response
OK
Example response
[
{
"month": 1,
"consumptionKWh": 424.53
}
]Changes
- info
endpoint added
- info