POST GDTV/v3/UserTVWeb/SaveUserTV

更新单个信息

Request

URI Params

None.

Body Params

数据

UserTVWebModel
字段名字段说明字段类型附加信息
ID

主键

integer

None.

BType

绑定类型

UserBindType

None.

BTypeDesc

绑定类型描述

string

None.

BClassID

绑定班级ID,如果是学校类型则为学校ID

integer

None.

BMID

绑定MID

integer

None.

ST

绑定状态

UserBindStatus

None.

STDesc

绑定状态描述

string

None.

RelateDate

绑定时间

date

None.

RelateDateDesc

绑定时间格式化

string

None.

UnRelateDate

解除绑定时间

date

None.

UnRelateDateDesc

解除绑定时间格式化

string

None.

SchoolID

学校ID

integer

None.

SchoolName

机构名称

string

None.

UID

用户ID

integer

None.

UName

用户名称

string

None.

Tel

用户电话

string

None.

TVMac

电视盒子MAC

string

None.

TVType

电视盒子类型

TVType

None.

TVTypeDesc

电视盒子类型描述

string

None.

FormatID

版式ID

integer

None.

FormatName

版式名称

string

None.

TVLock

是否锁定TV

boolean

None.

AreaID

所属区域

integer

None.

TVToken

当前用户的Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "1",
  "BType": 0,
  "BTypeDesc": "学生",
  "BClassID": "2",
  "BMID": "3",
  "ST": 0,
  "STDesc": "无效绑定",
  "RelateDate": "2025-05-02T03:40:01.287Z",
  "RelateDateDesc": "2025-05-02 11:40:01",
  "UnRelateDate": "2025-05-02T03:40:01.287Z",
  "UnRelateDateDesc": "2025-05-02 11:40:01",
  "SchoolID": "6",
  "SchoolName": "sample string 7",
  "UID": "8",
  "UName": "sample string 9",
  "Tel": "sample string 10",
  "TVMac": "sample string 11",
  "TVType": 1,
  "TVTypeDesc": "IP电视盒",
  "FormatID": "12",
  "FormatName": "sample string 13",
  "TVLock": true,
  "AreaID": "15",
  "TVToken": "sample string 16"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserTVWebModel'.

Response

APITResultOfUserTVWebModel
字段名字段说明字段类型附加信息
Data

UserTVWebModel

None.

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:
{
  "Data": {
    "ID": "1",
    "BType": 0,
    "BTypeDesc": "学生",
    "BClassID": "2",
    "BMID": "3",
    "ST": 0,
    "STDesc": "无效绑定",
    "RelateDate": "2025-05-02T03:40:01.288Z",
    "RelateDateDesc": "2025-05-02 11:40:01",
    "UnRelateDate": "2025-05-02T03:40:01.288Z",
    "UnRelateDateDesc": "2025-05-02 11:40:01",
    "SchoolID": "6",
    "SchoolName": "sample string 7",
    "UID": "8",
    "UName": "sample string 9",
    "Tel": "sample string 10",
    "TVMac": "sample string 11",
    "TVType": 1,
    "TVTypeDesc": "IP电视盒",
    "FormatID": "12",
    "FormatName": "sample string 13",
    "TVLock": true,
    "AreaID": "15",
    "TVToken": "sample string 16"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}