Logo
Admin API API Documentation

Calendars API

Number of APIs: 5


1. Get Calendar

GET {{URL_ORIGIN}}/api/v2/calendars/:id

This API allows to get a single calendar details.



2. End Of Day

POST {{URL_ORIGIN}}/api/v2/calendars/:id/end-of-day

This API allows to trigger EOD for a specific calendar

End Of Day- Error Codes

Code Message
1 System is unavailable
101 [FieldName] not found
102 EOD is not allowed
10001 Permission denied



3. Create Calendar

POST {{URL_ORIGIN}}/api/v2/calendars

This API allows to create a new calendar.

ID will be returned in the response, this ID is the unique identifier of the calendar and should be used when sending update commands.

Note: this ID can be retrieved via Get Calendars API.

Create Calendar- Error Codes

Code Message
1 System is unavailable
100 Missing or invalid parameter: [FieldName]
101 Holiday date should not be sent twice
101 Wrong holiday close time
101 name already exists
NEW v1.33.0101 IOC TIF is allowed only for Equilibrium Price
10001 Permission denied
10005 Not found
20000 Calendar Name already exists
20001 Wrong format
20002 Wrong format



4. Update Calendar

PUT {{URL_ORIGIN}}/api/v2/calendars/:id

This API allows to update existing calendar.

Update Calendar- Error Codes

All validations in create calendar and the below

Code Message
101 [FieldName] not found
101 AutoResume auction is required by [CBR.name]
10001 Permission denied
10005 Not found
20000 Calendar Name already exists
20001 Wrong format
20002 Wrong format



5. Get Calendars

GET {{URL_ORIGIN}}/api/v2/calendars

This API allows to get a list of all calendars with their details.



ENDPOINTS