Update Scheduled Task Status

Last Updated on : 2021-11-22 02:03:58download

Update the status of a scheduled task based on the scheduled task ID.

API address

PUT: /v2.0/infrareds/{infrared_id}/remotes/{remote_id}/timers/status

Request parameter

Parameter name Type IN Required Description
infrared_id String uri true The device ID.
remote_id String uri true The ID of a specified remote control.
timer_id Long query true The ID of a scheduled task.

Return parameter

Parameter name Type Description
result Boolean The operation result.

Request example

PUT: /v2.0/infrareds/vdevo15345926009****/remotes/d5s65ca55/timers/status?timer_id=1111
{ "status": false }

Return example

{ "result": true, "t": 1631239134759, "success": true }

Error code

For more information, see error code.