DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Update Bank Holiday

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

Updates an existing bank holiday within a calendar.
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).

int32
required
≥ 1

The ID of the bank holiday to update.

Body Params

The updated bank holiday. Only the date part of Date is stored.

API model for a bank holiday.

string
required
length ≥ 1

Gets or sets the description of the bank holiday.

date-time

The date of the bank holiday, as a calendar day.
Supply an ISO-8601 date such as '2026-01-01'. A time component is ignored
and any UTC offset is disregarded: the date is stored exactly as written,
so '2026-01-01T00:00:00+02:00' stores 2026-01-01 regardless of the
server's time zone.

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