Breadcrumbs

RestScheduleDeviceExt

Summary

The RestScheduleDeviceExt allows to create schedules and manage special events from any API. 

Schedules Creation

The RestScheduleDeviceExt defines a request to send to an API to get data about schedules.

Request is sent on action "discover" of the manager (on the deviceExt) : it makes all potential schedules appear. Then they can be added in the station by drag&drop or double-click.

Special Events Creation

The RestScheduleImportExt is an extension to add in a schedule to create special events from an API. It is automatically added when the schedule has been created via the discover.

Request is sent on action "execute" on the extension. It receive events and convert them into special events. Only the current or future events are taken into account. 

 

Implementation

  • The RestScheduleDeviceExt is included in all RestQueries under the name "Schedules"

  • For the Schedules creation:Configure the (51.2.0.5) Http Config (RestScheduleDeviceExt > HttpConfig)Configure the (51.2.0.5) ScheduleConfig (RestScheduleDeviceExt > ScheduleConfig)

  • For the SpecialEvents creation:Configure the (51.2.0.5) Schedules template (RestScheduleDeviceExt > ImportExtConfig)

 

 Properties

  • HttpConfig:  To configure the request to send to create schedules

  • ScheduleConfig: The selection of the keys to parse response

  • ImportExtConfig: The template import extension that will be copied in created schedules to create SpecialEvents