ISDP-课程保存草稿/发布课程信息(API名称:openApimodifyCourse):请求示例

时间:2024-07-22 16:26:13

请求示例

{
        "courseId" : 9214,
        "courseName" : "课程1",
        "categoryId" : 13488,
        "courseCode" : "20230321100",
        "courseRemark" : "发发发",
        "courseStatus" : 1,
        "coverFileId" : 7490705,
        "adminOrganizationName" : "杨凌测试租户",
        "adminOrganization" : "830",
        "createName" : "张三",
        "chapterList" : [{
                          "chapterName" : "第1章节",
                          "chapterDuration" : 2,
                          "chapterRemark" : "章节描述",
                          "foolproofSwitch" : 1,
                          "foolproofDuration" : 12,
                          "foolproofRemark" : "是否继续学习?",
                          "courseFileVo" : {
                                    "fileId" : 7490707,
                                    "fileName" : "2021-07-14-21-10-43-922.mp4",
                                    "fileType" : "mp4",
                                    "coverFileId" : 7490708,
                                    "createName" : "张三",
                                    "creationTimestamp" : 1679383056306
                          },
                          "chapterType" : "1",
                          "chapterOrder" : 1
                 }, {
                          "chapterName" : "第2章节",
                          "chapterDuration" : 22,
                          "chapterRemark" : "章节描述2",
                          "foolproofSwitch" : 1,
                          "foolproofDuration" : 3,
                          "foolproofRemark" : "是否继续学习?",
                          "chapterId" : 5720,
                          "courseFileVo" : {
                                    "fileId" : 7490710,
                                    "fileName" : "2021-07-14-21-10-43-922.mp4",
                                    "fileType" : "mp4",
                                    "coverFileId" : 7490711,
                                    "createName" : "张三",
                                    "creationTimestamp" : 1679383078006
                          },
                          "chapterType" : "1",
                          "chapterOrder" : 2
                 }
        ]
        
}
support.huaweicloud.com/api-isdp/api_01_0291.html