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

CodeMessage
101[FieldName] not found
101AutoResume auction is required by [CBR.name]
10001Permission denied
10005Not found
20000Calendar Name already exists
20001Wrong format
20002Wrong 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"}]}