GET GDTV/v3/HXYTV/GetAreaConfig?pkgName={pkgName}&timeStamp={timeStamp}&signature={signature}&mac={mac}&tvType={tvType}

获取电视端配置

Request

URI Params

字段名字段说明字段类型附加信息
pkgName

包名

string

Required

timeStamp

时间戳

integer

Required

signature

签名

string

Required

mac

Mac地址,可为空

string

Default value is

tvType

TV类型,默认为IPTV

TVType

Default value is IPTV

Body Params

None.

Response

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

AreaTVModel

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": {
    "AreaID": "1",
    "CDate": "2025-06-18T05:07:20.829Z",
    "UDate": "2025-06-18T05:07:20.829Z",
    "PkgName": "sample string 4",
    "AppID": "sample string 5",
    "TVName": "sample string 6",
    "TVLogo": "sample string 7",
    "AreaTitlePng": "sample string 8",
    "AreaTitle": "sample string 9",
    "AreaSubTitle": "sample string 10",
    "AreaLogo": "sample string 11",
    "ModelIDKeys": [
      "sample string 1",
      "sample string 2"
    ],
    "HomeBackEnable": true,
    "TVActions": [
      "sample string 1",
      "sample string 2"
    ],
    "DefaultVodPlayer": 0,
    "DefaultLivePlayer": 0,
    "CheckUpdate": true
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}