setSchedule

Function

Set the schedule for an item

Set the schedule for an item

Parameters

Parameter Type Default Notes
itemId Required string

The item to set the schedule for

schedule Required IHubSchedule

The schedule to set

requestOptions Required IRequestOptions

The request options needed to get the HubApiUrl

Available requestOptions

Property Type Notes

Returns

Property Type Notes
message string
error Optional string
schedule Optional IHubSchedule
statusCode Optional number

Function defined in common/src/content/manageSchedule.ts:55