Last Updated on : 2023-06-20 14:54:05download
Update the custom channel table, and determine whether to add or modify the channel table depending on the condition whether the custom channel table ID is passed in.
PUT: /v2.0/infrareds/{infrared_id}/remote/{remote_id}/custom/{submit_id}
| Parameter name | Type | IN | Required | Description | 
|---|---|---|---|---|
| infrared_id | String | uri | true | The device ID. | 
| submit_id | Long | uri | false | The ID of a custom channel table. If the ID is not passed, the API operation will be regarded as adding a channel table. | 
| area_id | Integer | uri | true | The ID of the specified region. | 
| sp_id | Integer | uri | true | The ID of the specified carrier. | 
| remote_id | String | uri | true | The ID of the specified remote control. | 
| Parameter name | Type | Description | 
|---|---|---|
| result | Boolean | The operation result. | 
PUT: /v2.0/infrareds/vdevo15345926009****/remote/d5s65c***/custom/0
{
    "result": true,
    "t": 1630918697748,
    "success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback