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 |
RESPONSES
status: OK
{"id":"376986941","tradingDays":["MONDAY","TUESDAY","WEDNESDAY","THURSDAY","FRIDAY","SATURDAY","SUNDAY"],"name":"UK","timeZone":"+00:00","marketOpen":"08:00","marketClose":"16:30","holidays":[{"date":"2022-01-01","closeTime":"13:00","name":"New Yaer"}]}