latestSwagger 2.02026-08-20196638916.1 KB
23d8982b533d
General.Calendar
ENTERPRISE
Query Period details
Get a list of detailed periods from a given start period to an end period. Will always return one of the monthly resolutions.
get/api/v1/calendar/periods
Query parameters
period_gte'YYYY-MM-DD' required
Date inside the start period. No greater than 10 years.
period_lte'YYYY-MM-DD' required
Date inside the end period. No later than 10 years.
Response
The periods were successfully returned.
Example response
[
{
"endDate": 1464739199000,
"name": "2016-05",
"resolution": "MONTHLY",
"startDate": 1462060800000
}
]