Skip to main content
POST
Retrieve calendars by identifier.

Authorizations

Authorization
string
header
required

OAuth2 access-token requested from AWS Cognito and provided as a Auth Bearer header

Body

The query payload containing a non-empty Identifiers collection of calendar names or identifiers recognised by the market-data service.

Queries business-day calendars by calendar identifier.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiGetCalendarsRequest, Derivitec.Web.Core
identifiers
string[] | null

Calendar identifiers to retrieve.

Response

Returns all calendars found for the requested identifiers and any lookup errors.

Returns the selected business-day calendars.

$type
enum<string>
required
Available options:
Derivitec.Web.Core.MarketData.ApiGetCalendarsResponse, Derivitec.Web.Core
is_success
boolean

Whether the operation completed successfully. The default is true; error outcomes set it to false.

Example:

true

error_messages
string[] | null

Messages explaining operation-level failures. The collection is empty by default.

calendars
object[] | null

Business-day calendars returned for the requested identifiers.

Named business-day calendar with holiday dates and weekend treatment.