POST GDTV/v3/View2Web/GetWebModuleData

获取模块数据

Request

URI Params

None.

Body Params

WebViewModuleWebModel
字段名字段说明字段类型附加信息
WebViewModuleID

主键

integer

None.

PID

主键

integer

None.

SNO

排序

integer

None.

Name

标题

string

None.

Pic

小图标

string

None.

RefID

对应的数据主键

integer

None.

ShowType

展示类型

WebHomeShowType

None.

SourceType

来源类型

WebHomeSourceType

None.

Link

链接内容

string

None.

Children

子项

Collection of WebViewModuleWebModel

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'UX.GDTVContract.WebViewModuleWebModel'. Path 'Children'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'UX.GDTVContract.WebViewModuleWebModel'. Path 'Children'.

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 'WebViewModuleWebModel'.

Response

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

WebViewModuleDataWebModel

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": {
    "ShowType": 0,
    "Title": "sample string 1",
    "Cont": "sample string 2"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}