POST GDTV/v3/CourseWeb/SaveCourseLecturer

更新讲师人员

Request

URI Params

None.

Body Params

数据

CourseLecturerWebModel
字段名字段说明字段类型附加信息
CourseLecturerID

主键

integer

None.

PublishType

发布机构类型

PublishType

None.

PublishID

发布机构ID

integer

None.

CourseLecturerType

人员类型

CourseLecturerType

None.

PName

机构名称

string

None.

Name

讲师姓名

string

None.

Tel

手机号

string

None.

UID

用户ID

integer

None.

Desc

讲师简介

string

None.

PassingRate

通过率

integer

None.

CourseTotal

授课总数

integer

None.

ApproveType

审核权限

ApproveType

None.

Status

是否禁用

Status

None.

MDate

编辑时间

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CourseLecturerID": "1",
  "PublishType": 0,
  "PublishID": "2",
  "CourseLecturerType": 1,
  "PName": "sample string 3",
  "Name": "sample string 4",
  "Tel": "sample string 5",
  "UID": "6",
  "Desc": "sample string 7",
  "PassingRate": 8,
  "CourseTotal": "9",
  "ApproveType": 1,
  "Status": 0,
  "MDate": "sample string 10"
}

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

Response

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

CourseLecturerWebModel

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": {
    "CourseLecturerID": "1",
    "PublishType": 0,
    "PublishID": "2",
    "CourseLecturerType": 1,
    "PName": "sample string 3",
    "Name": "sample string 4",
    "Tel": "sample string 5",
    "UID": "6",
    "Desc": "sample string 7",
    "PassingRate": 8,
    "CourseTotal": "9",
    "ApproveType": 1,
    "Status": 0,
    "MDate": "sample string 10"
  },
  "Ret": 1,
  "ErrCode": 2,
  "Msg": "sample string 3",
  "SeqId": 4,
  "InfoMsg": "sample string 5"
}