DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Update Holiday Calendar

api/web/holiday-calendars/{CalendarId}

Updates an existing holiday calendar based on the supplied model.
'WeekEndP' is optional: when omitted (or sent as None) the calendar's
current weekend is left unchanged, so a partial PUT cannot silently
clear the weekend of a correctly configured calendar.

Path Params
int32
required
≥ 1

The ID of the calendar to update (CalendarId >= 1).

Body Params

The updated holiday calendar.

API model for a holiday calendar.

string
required
length ≥ 1

Gets or sets the name of the calendar.

string
enum
Headers
string
enum
Defaults to application/json;odata.metadata=minimal;odata.streaming=true

Generated from available request content types

Response

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json