Logo
Program smart lights API Documentation

Create Repeating Timer Schedule

POST http://{{ip}}/api/{{username}}/schedules

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status





Curl
curl -X POST 'http://ip/api/ip/schedules' -H 'Content-Type: application/json' -d '{"name":"Test Schedule","description":"","command":{"address":"/api/woGzR67YSFkne1GJSEjCKMKPdfCWaLSBmuMN-KeA/sensors/2/state","method":"PUT","body":{"status":1}},"localtime":"R/PT00:00:10","recycle":false,"status":"enabled"}'

ENDPOINTS