Get consumption profile
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/consumption-profileusing RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/reference/consumption-profile");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
const options = {method: 'GET'};
fetch('https://api.partner.cubee.cz/api/v1/reference/consumption-profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.partner.cubee.cz/api/v1/reference/consumption-profile"
response = requests.get(url)
print(response.text)[
{
"month": 1,
"consumptionKWh": 424.53
},
{
"month": 2,
"consumptionKWh": 388.2
},
{
"month": 3,
"consumptionKWh": 372.41
},
{
"month": 4,
"consumptionKWh": 321.72
},
{
"month": 5,
"consumptionKWh": 291.16
},
{
"month": 6,
"consumptionKWh": 264.86
},
{
"month": 7,
"consumptionKWh": 259.33
},
{
"month": 8,
"consumptionKWh": 262.35
},
{
"month": 9,
"consumptionKWh": 288.11
},
{
"month": 10,
"consumptionKWh": 334.14
},
{
"month": 11,
"consumptionKWh": 380.29
},
{
"month": 12,
"consumptionKWh": 412.9
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Reference data
Get consumption profile
Distributes 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
Get consumption profile
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/consumption-profileusing RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/reference/consumption-profile");
var client = new RestClient(options);
var request = new RestRequest("");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
const options = {method: 'GET'};
fetch('https://api.partner.cubee.cz/api/v1/reference/consumption-profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.partner.cubee.cz/api/v1/reference/consumption-profile"
response = requests.get(url)
print(response.text)[
{
"month": 1,
"consumptionKWh": 424.53
},
{
"month": 2,
"consumptionKWh": 388.2
},
{
"month": 3,
"consumptionKWh": 372.41
},
{
"month": 4,
"consumptionKWh": 321.72
},
{
"month": 5,
"consumptionKWh": 291.16
},
{
"month": 6,
"consumptionKWh": 264.86
},
{
"month": 7,
"consumptionKWh": 259.33
},
{
"month": 8,
"consumptionKWh": 262.35
},
{
"month": 9,
"consumptionKWh": 288.11
},
{
"month": 10,
"consumptionKWh": 334.14
},
{
"month": 11,
"consumptionKWh": 380.29
},
{
"month": 12,
"consumptionKWh": 412.9
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Query Parameters
TDD load-profile class, "TDD1"–"TDD8" (a bare "1"–"8" also works).
Total yearly consumption to distribute, in kWh. Must be positive.
Was this page helpful?