Switch Channel Table

Last Updated on : 2023-06-20 14:54:01download

Switch the channel table of the remote control based on the entered channel table ID.

API address

PUT: /v2.0/infrareds/{infrared_id}/remote/{remote_id}/channels

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.
channel_type Integer query true The type of the channel tables.

Return parameter

Parameter name Type Description
result Boolean The operation result.

Request example

PUT: /v2.0/infrareds/vdevo15345926009****/remote/d5s65ca55/channels?channelType=2

Return example

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

Error code

For more information, see error code.