Last Updated on : 2024-07-30 10:38:10download
After you test the keys returned by the first match, you call this API to continue matching. You can call it multiple times until the matching process is completed.
POST: /v2.0/cloud/rc/infrared/quick-match/{infrared_id}/next-step
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| infrared_id | String | path | true | The device ID of the specified infrared remote control. |
Description of body
| Parameter name | Type | IN | Required | Description |
|---|---|---|---|---|
| category_id | Integer | body | true | The ID of the specified product category. |
| brand_id | Integer | body | true | The ID of the specified brand. |
| remote_index | Integer | body | true | The index ID of the specified remote control. |
| Key | String | body | true | The key. |
| is_match | Integer | body | true | Specifies whether the code library and the device are matched successfully. Valid values:
|
| Parameter name | Type | Description |
|---|---|---|
| result | QuickMatchLastResVO | The returned result of matching. |
Description of result
| Parameter name | Type | Description |
|---|---|---|
| recommend_key | String | The recommended key. |
| recommend_key_id | Integer | The ID of the specified recommended key. |
| recommend_remote_index | Integer | The recommended index ID of the remote control. |
| matched_remote_indexs | List | The list of matched remote control indexes. |
POST: /v2.0/cloud/rc/infrared/quick-match/vdevo15345926009****/next-step
{
"category_id": 5,
"brand_id": 37,
"remote_index": 2,
"key": "M0_T18_S2",
"is_match": false
}
{
"tid": "c178bba348bb11ef825a5a25494a584c",
"result": {
"matched_remote_indexs": [
5696,
2,
5676,
4878,
207
],
"recommend_key": "M0_T18_S2",
"recommend_remote_index": 2,
"recommend_key_id": 0
},
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback