DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Create Schedule

api/web/schedules

Creates a new schedule based on the supplied model.
The 'Name', 'CalendarId', and 'TimeZoneId' properties of the model are required.

Body Params

The schedule model to create.

Schedule that controls execution of scheduled tasks.

string
required
length ≥ 1

The name of the schedule.

string
required
length ≥ 1

The time zone IANA ID used by the API. Required on write. On read this is
null only when the stored Windows time zone has no IANA equivalent, in which
case SkySparc.Web.Backend.API.Models.WebAccess.APIScheduleModel.TimeZoneMappingError explains why and
SkySparc.Web.Backend.API.Models.WebAccess.APIScheduleModel.WindowsTimeZoneId carries the stored value.

int32
required

The ID of the calendar used with this schedule.

string | null

Gets or sets a comment (max length = 1000 characters).

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