Get circuit breakers
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/circuit-breakers \
--header 'Authorization: Bearer <token>'using RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/reference/circuit-breakers");
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/circuit-breakers', 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/circuit-breakers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"code": "3x16",
"label": "3×16 A",
"monthlyFeeCzk": 155
},
{
"code": "3x25",
"label": "3×25 A",
"monthlyFeeCzk": 236
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Reference data
Get circuit breakers
The main-breaker sizes available for a distributor + sazba + period, each with its monthly
reserved-capacity fee. Use that fee as distribution.circuitBreakerMonthlyFee.
GET
/
api
/
v1
/
reference
/
circuit-breakers
Get circuit breakers
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/circuit-breakers \
--header 'Authorization: Bearer <token>'using RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/reference/circuit-breakers");
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/circuit-breakers', 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/circuit-breakers"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)[
{
"code": "3x16",
"label": "3×16 A",
"monthlyFeeCzk": 155
},
{
"code": "3x25",
"label": "3×25 A",
"monthlyFeeCzk": 236
}
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Authorizations
Query Parameters
Response
OK
Was this page helpful?