Create Repeating Timer Schedule
POST http://{{ip}}/api/{{username}}/schedules
Request Body
{"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"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |