Get HDO command schedule
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/distributors/{distributor}/commands/{command}/periods \
--header 'Authorization: Bearer <token>'using 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("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
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>"
}Reference data
Get HDO command schedule
The VT/NT switching schedule one HDO command follows, as time ranges per day type.
GET
/
api
/
v1
/
reference
/
distributors
/
{distributor}
/
commands
/
{command}
/
periods
Get HDO command schedule
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/distributors/{distributor}/commands/{command}/periods \
--header 'Authorization: Bearer <token>'using 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("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
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>"
}Authorizations
Path Parameters
Response
OK
Was this page helpful?