POST GDTV/v3/ClassAfterWeb/SaveClassAfterList

批量排课

Request

URI Params

None.

Body Params

数据

ClassAfterBatchWebModel
字段名字段说明字段类型附加信息
Reses

课程列表

Collection of ClassAfterBatchResWebModel

None.

StartTime

开始日期

date

None.

EndTime

结束日期

date

None.

WeekDay

课排在星期几,值从1到7,代表星期一到星期天

Collection of integer

None.

ClassIDs

课程所在班级列表

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Reses": [
    {
      "RID": "1",
      "Name": "sample string 2",
      "Pic": "sample string 3"
    },
    {
      "RID": "1",
      "Name": "sample string 2",
      "Pic": "sample string 3"
    }
  ],
  "StartTime": "2025-05-02 11:13:14",
  "EndTime": "2025-05-02 11:13:14",
  "WeekDay": [
    1,
    2
  ],
  "ClassIDs": [
    "1",
    "2"
  ]
}

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

Response

APIResult
字段名字段说明字段类型附加信息
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:
{
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}