GET mcs/v3/AssPublishWW/GetBookItemTree

获取章节和微课的树形结构数据【页面60】、【页面64】

Request

URI Params

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

选择的班级ID集合(用于判断是否已经发布并推送某微课)

Collection of integer

None.

BookID

课程包ID

integer

None.

PChapterID

父节点ID;查第一级的时候,不传或用默认值0即可

integer

None.

Depth

往下查询的深度,默认为1层(传0表示一次性获取全部层级,但建议还是分级获取)

integer

None.

Body Params

None.

Api Parameter Descriptions

参数描述参数说明参数源
query

FromUri

Response

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

Collection of AssBookItemTreeWWModel

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

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.MCSContract.AssBookItemTreeWWModel'. Path 'Data[0].ChildList'.

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.MCSContract.AssBookItemTreeWWModel'. Path 'Data[0].ChildList'.