POST mcs/v3/UserAuthWW/SaveCurrUserMember

保存当前选中的用户身份【页面2,25,49共用】

Request

URI Params

None.

Body Params

BaseUMContextModel
字段名字段说明字段类型附加信息
IsMaster

MTypeID为11时,此参数才有意义

boolean

None.

MTypeID

身份类型ID,前端最好缓存起来,便于判断页面跳转和控制逻辑 11-教师 12-家长(13-学生) 99-助教

integer

None.

UMID

用户身份唯一标识

integer

None.

GID

学校ID

integer

None.

ClassID

班级ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IsMaster": true,
  "MTypeID": 2,
  "UMID": "3",
  "GID": "4",
  "ClassID": "5"
}

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

Api Parameter Descriptions

参数描述参数说明参数源
model

FromBody

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"
}