DocsOmniFi APIsChangelog
SkySparcContact UsLog In
OmniFi APIs

Add Recurrence

api/web/schedules/{ScheduleId}/recurrences

Adds a new recurrence to the schedule based on the supplied model.

Path Params
int32
required
≥ 1

The ID of the schedule (ScheduleId >= 1).

Body Params

The recurrence model to add.

Recurrence defines when the schedule should be executed

string
enum
required
int32
required
0 to 12

The month when the schedule should be executed. A value of 0 "zero" means
all months.

boolean
required

Last is a modifier to the general recurrence that inverts the meaning of the Date field.
"False" means Run on the last business day of every month.
"True" means Run on the second to last business day of every month.

boolean
required

Show if the recurrence is active

date-time
required

The first date the recurrence is active.
///

string
enum
required
Allowed:
int32
required
0 to 31

The date when the schedule should be executed. A value of 0 "zero" means
all months.

string | null

The time when execution should start.
Set in the format '12:34'

date-time
required

The last date the recurrence is active.

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