Get periods
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/periodsusing RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/reference/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/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/periods"
response = requests.get(url)
print(response.text)[
"2024",
"2025",
"12M"
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Reference data
Get periods
The values periodType accepts: fixed calendar years, plus 12M for the rolling last
12 completed months.
GET
/
api
/
v1
/
reference
/
periods
Get periods
curl --request GET \
--url https://api.partner.cubee.cz/api/v1/reference/periodsusing RestSharp;
var options = new RestClientOptions("https://api.partner.cubee.cz/api/v1/reference/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/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/periods"
response = requests.get(url)
print(response.text)[
"2024",
"2025",
"12M"
]{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Response
OK
Was this page helpful?
⌘I