DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Append Bank Holidays

api/web/holiday-calendars/{CalendarId}/bank-holidays

Appends new bank holidays to a calendar. Existing bank holidays
for the calendar are left untouched.
Bank holidays are date-only: any time component supplied on
SkySparc.Web.Backend.API.Models.WebAccess.BankHolidayModel.Date is truncated to midnight before
the holiday is stored.

Path Params
int32
required
≥ 1

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

Body Params

The bank holidays to add. Only the date part of each Date is stored.

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