getSchedule

Function

Get the schedule for an item. If no schedule is found, returns null.

Get the schedule for an item. If no schedule is found, returns null.

Parameters

Parameter Type Default Notes
itemId Required string

The item to get the schedule for

requestOptions Required IRequestOptions

The request options needed to get the HubApiUrl

Available requestOptions

Property Type Notes

Returns

The schedule for the item OR null if no schedule is set

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

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