DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Create Holiday Calendar

api/web/holiday-calendars

Creates a new holiday calendar based on the supplied model.
When 'WeekEndP' is omitted (or sent as None), the calendar is created
with the product default weekend (Saturday and Sunday), matching the
portal's new-calendar behaviour. A weekend of None is not a supported
configuration - it would make every day a business day for every
schedule using the calendar.

Body Params

The holiday calendar to create.

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