POST GDTV/v3/CourseWeb/SaveCourseChapterInfo?publishId={publishId}&hasChapter={hasChapter}
创建有章节目录课程
Request
URI Params
字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
publishId |
机构ID |
integer |
Required |
hasChapter |
是否创建章节课程 |
boolean |
Required |
Body Params
数据
Collection of CourseChapterWebModel字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
ChapterName |
章节名称 |
string |
None. |
CourseCatgs |
目录信息 |
Collection of CourseCatgWebModel |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/x-www-form-urlencoded
Sample:
Response
APITResultOfCourseInfoWebModel字段名 | 字段说明 | 字段类型 | 附加信息 |
---|---|---|---|
Data | CourseInfoWebModel |
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:
text/json
Sample: