Get HDO commands
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/distributors/{distributor}/commandsusing RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/reference/distributors/{distributor}/commands");
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', 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"
response = requests.get(url)
print(response.text)[
"A1B4DP6",
"A3B7DP1",
"EVV2"
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Reference data
Get HDO commands
The currently-valid HDO commands for a distributor, optionally narrowed to one region. Use one as
distribution.lowTariffCommand on a two-tariff sazba.
GET
/
api
/
v1
/
reference
/
distributors
/
{distributor}
/
commands
Get HDO commands
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/distributors/{distributor}/commandsusing RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/reference/distributors/{distributor}/commands");
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', 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"
response = requests.get(url)
print(response.text)[
"A1B4DP6",
"A3B7DP1",
"EVV2"
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Was this page helpful?