POST GDTV/v3/AuthH5/RelateUserTV
绑定电视盒子
Request
URI Params
None.
Body Params
UserTVH5Model字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
ID |
ID |
integer |
None. |
UID |
用户ID |
integer |
None. |
SchoolID |
学校ID |
integer |
None. |
SchoolName |
学校名称 |
string |
None. |
TVMac |
电视盒子MAC |
string |
None. |
TVType |
电视盒子类型 |
TVType |
None. |
FormatID |
版式ID |
integer |
None. |
RelateDate |
绑定时间 |
date |
None. |
ST |
绑定状态 |
UserBindStatus |
None. |
STDesc |
绑定状态描述 |
string |
None. |
TVLock |
是否锁定TV |
boolean |
None. |
AreaID |
所属区域 |
integer |
None. |
TVToken |
当前用户的Token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": "1", "UID": "2", "SchoolID": "3", "SchoolName": "sample string 4", "TVMac": "sample string 5", "TVType": 1, "FormatID": 6, "RelateDate": "2025-05-02 11:54:06", "ST": 0, "STDesc": "无效绑定", "TVLock": true, "AreaID": "9", "TVToken": "sample string 10" }
application/x-www-form-urlencoded
Sample:
Response
APIResult字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
Ret |
返回结果(0-成功;>0-失败) ret=0 成功返回/ret=1 参数错误/ret=2 频率受限 /ret=3 Token无效 /ret=4 服务器内部错误 /ret=5 用户操作错误 / ret=6 停机维护 / ret=7 身份失效 |
integer |
None. |
ErrCode |
错误代码,因功能而异 |
integer |
None. |
Msg |
返回信息 |
string |
None. |
SeqId |
请求序列 |
integer |
None. |
InfoMsg |
API附加信息 |
string |
None. |
application/json, text/json
Sample:
{ "Ret": 1, "ErrCode": 2, "Msg": "sample string 3", "SeqId": 4, "InfoMsg": "sample string 5" }