POST GDTV/v3/CourseWeb/SaveCoursePlan

保存课后服务计划

Request

URI Params

None.

Body Params

数据

CoursePlanWebModel
字段名字段说明字段类型附加信息
CoursePlanID

主键

integer

None.

MDate

修改时间

string

None.

PublishType

发布机构类型

PublishType

None.

PublishID

发布机构ID

integer

None.

PublishName

发布机构名称

string

None.

PName

计划名称

string

None.

Phase

教育阶段

integer

None.

PhaseDesc

教育阶段

string

None.

Grade

年级

Collection of string

None.

GradeDesc

年级

string

None.

PAreaType

计划范围

CourseInfoPAreaType

None.

PAreaTypeDesc

计划范围描述

string

None.

Lecturers

讲师ID

Collection of string

None.

LecturersDesc

讲师描述

string

None.

PlanSDate

服务开始时间

string

None.

PlanEDate

服务结束时间

string

None.

CourseSubTime

课程提交截止时间

string

None.

PlanAttach

计划附件

Collection of AttachModel

None.

PlanDesc

附件内容

string

None.

CoursePlanType

编辑计划状态

CoursePlanType

None.

CoursePlanTypeDesc

编辑计划状态

string

None.

PlanLessonType

开课状态

CoursePlanLessonType

None.

PlanLessonTypeDesc

开课状态描述

string

None.

CreateCourseNums

创建课程数

integer

None.

CourseInfoID

课程ID

integer

None.

LecturerID

授课讲师ID

integer

None.

PlanType

区分本机构、非本机构

PlanType

None.

PlanTypeDesc

区分本机构、非本机构

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CoursePlanID": "1",
  "MDate": "sample string 2",
  "PublishType": 0,
  "PublishID": "3",
  "PublishName": "sample string 4",
  "PName": "sample string 5",
  "Phase": "6",
  "PhaseDesc": "sample string 7",
  "Grade": [
    "sample string 1",
    "sample string 2"
  ],
  "GradeDesc": "sample string 8",
  "PAreaType": 0,
  "PAreaTypeDesc": "学科教育",
  "Lecturers": [
    "sample string 1",
    "sample string 2"
  ],
  "LecturersDesc": "sample string 9",
  "PlanSDate": "sample string 10",
  "PlanEDate": "sample string 11",
  "CourseSubTime": "sample string 12",
  "PlanAttach": [
    {
      "Url": "sample string 1",
      "AttachName": "sample string 2"
    },
    {
      "Url": "sample string 1",
      "AttachName": "sample string 2"
    }
  ],
  "PlanDesc": "sample string 13",
  "CoursePlanType": 0,
  "CoursePlanTypeDesc": "未开始",
  "PlanLessonType": 0,
  "PlanLessonTypeDesc": "未开课",
  "CreateCourseNums": 14,
  "CourseInfoID": "15",
  "LecturerID": "16",
  "PlanType": 1,
  "PlanTypeDesc": "本机构"
}

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

Response

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

CoursePlanWebModel

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": {
    "CoursePlanID": "1",
    "MDate": "sample string 2",
    "PublishType": 0,
    "PublishID": "3",
    "PublishName": "sample string 4",
    "PName": "sample string 5",
    "Phase": "6",
    "PhaseDesc": "sample string 7",
    "Grade": [
      "sample string 1",
      "sample string 2"
    ],
    "GradeDesc": "sample string 8",
    "PAreaType": 0,
    "PAreaTypeDesc": "学科教育",
    "Lecturers": [
      "sample string 1",
      "sample string 2"
    ],
    "LecturersDesc": "sample string 9",
    "PlanSDate": "sample string 10",
    "PlanEDate": "sample string 11",
    "CourseSubTime": "sample string 12",
    "PlanAttach": [
      {
        "Url": "sample string 1",
        "AttachName": "sample string 2"
      },
      {
        "Url": "sample string 1",
        "AttachName": "sample string 2"
      }
    ],
    "PlanDesc": "sample string 13",
    "CoursePlanType": 0,
    "CoursePlanTypeDesc": "未开始",
    "PlanLessonType": 0,
    "PlanLessonTypeDesc": "未开课",
    "CreateCourseNums": 14,
    "CourseInfoID": "15",
    "LecturerID": "16",
    "PlanType": 1,
    "PlanTypeDesc": "本机构"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}