Get Learned Remote Control Code

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

Get the remote control codes that are learned and uploaded by a specified device based on the device ID.

API address

GET: /v2.0/infrareds/{infrared_id}/learning-codes

Request parameter

Parameter name Type IN Required Description
infrared_id String uri true The device ID.
learning_time Long query true The learning time.

Return parameter

Parameter name Type Description
result LearningCodeResultVO The returned result.

Description of result

Parameter name Type Description
success Boolean The operation result.
code String The learned remote control code.

Request example

GET: /v2.0/infrareds/vdevo15345926009****/learning-codes?learning_time=1640000837000

Return example

{ "result": { "code": "c42230112602f401260226022602260226022602260226022602260226027206260226022602720626027206260272062602720626027206260272065802f401260272062602260226027206260226022602260226024006260226022602260226022602260272062602260226027206260272062602260258024006260272062602720626024c9af622660826022***", "success": true }, "t": 1631088973796, "success": true }

Error code

For more information, see error code.