curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/distributors/{distributor}/commands/{command}/periodsusing RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/reference/distributors/{distributor}/commands/{command}/periods");
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/distributors/{distributor}/commands/{command}/periods', 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/distributors/{distributor}/commands/{command}/periods"
response = requests.get(url)
print(response.text)[
{
"id": "f6b8d0e2-6a7c-4d1e-3f4a-5b6c7d8e9f0a",
"distributorKey": "CEZ",
"distributorName": "ČEZ Distribuce",
"regionTypeId": null,
"regionTypeKey": null,
"regionTypeName": null,
"code": "A1B4DP6",
"command": "EVV2",
"validFrom": "2025-01-01",
"validTo": null,
"tariffSchedules": [
{
"dayTypeKey": "WORKDAY",
"sortIndex": 1,
"timeRanges": [
{
"periodStart": "00:00:00",
"periodEnd": "06:00:00"
}
]
}
]
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Get HDO command schedule
The VT/NT switching schedule one HDO command follows, as time ranges per day type.
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/distributors/{distributor}/commands/{command}/periodsusing RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/reference/distributors/{distributor}/commands/{command}/periods");
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/distributors/{distributor}/commands/{command}/periods', 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/distributors/{distributor}/commands/{command}/periods"
response = requests.get(url)
print(response.text)[
{
"id": "f6b8d0e2-6a7c-4d1e-3f4a-5b6c7d8e9f0a",
"distributorKey": "CEZ",
"distributorName": "ČEZ Distribuce",
"regionTypeId": null,
"regionTypeKey": null,
"regionTypeName": null,
"code": "A1B4DP6",
"command": "EVV2",
"validFrom": "2025-01-01",
"validTo": null,
"tariffSchedules": [
{
"dayTypeKey": "WORKDAY",
"sortIndex": 1,
"timeRanges": [
{
"periodStart": "00:00:00",
"periodEnd": "06:00:00"
}
]
}
]
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Path Parameters
Distributor code — CEZ, PRE or EGD.
The HDO command whose VT/NT switching schedule to return.
Query Parameters
Optional HDO region key to disambiguate a region-specific command.
Response
OK
Unique identifier of the tariff detail.
"f6b8d0e2-6a7c-4d1e-3f4a-5b6c7d8e9f0a"
Distributor this schedule belongs to (CEZ / PRE / EGD).
"CEZ"
Display name of the distributor.
"ČEZ Distribuce"
Internal identifier of the HDO region, when region-specific; otherwise null.
Key of the HDO region, when region-specific; otherwise null.
Display name of the HDO region, when region-specific.
Short HDO command code — the alternate identifier some price lists use for the command.
The command-schedule lookup accepts either this Code or Command.
"A1B4DP6"
The HDO command that switches the low tariff (e.g. "A1B4DP6").
"EVV2"
Date from which this schedule is valid.
"2025-01-01"
Date until which this schedule is valid, when bounded.
The low-tariff (NT) switching windows, grouped by day type.
Show child attributes
Show child attributes
[
{
"dayTypeKey": "WORKDAY",
"sortIndex": 1,
"timeRanges": [
{
"periodStart": "00:00:00",
"periodEnd": "06:00:00"
}
]
}
]
Was this page helpful?