Skip to Main Content

Scheduler

RestAPI interaface examples

With basic authentication

  • Starting scheduler event: http://<user_name>:<password>@api.psvc.hu/scheduler/event?user=<user_name>&code=<device_code>&state=on
  • Stopping/Aborting scheduler event: http://<user_name>:<password>@api.psvc.hu/scheduler/event?user=<user_name>&code=<device_code>&state=off

With API Key

  • Starting scheduler event: http://api.psvc.hu/scheduler-api/event?user=<user_name>&code=<device_code>&state=on&api_key=<api_key>
  • Stopping/Aborting scheduler event: http://api.psvc.hu/scheduler-api/event?user=<user_name>&code=<device_code>&state=off&api_key=<api_key>