POST wgw/v3/AuthWeb/SaveCurrUserMember
微官网-保存当前选中的用户身份
Request
URI Params
None.
Body Params
GrpAuthModel| 字段名 | 字段说明 | 字段类型 | 附加信息 |
|---|---|---|---|
| OfficialID |
当前OfficialID |
integer |
None. |
| GID |
当前GID |
integer |
None. |
| RoleType |
用户身份类型 |
enumRoleType |
None. |
| IsAuditFree |
是否免审(仅针对编辑员) |
boolean |
None. |
| MTypeID |
mTypeID |
integer |
None. |
| ClassIDs |
如果是班主任身份类型,classIDs才有值 |
Collection of integer |
None. |
| UMID | integer |
None. |
|
| FrmSys |
来源的子系统 |
enumSysType |
None. |
Request Formats
application/json, text/json
Sample:
{
"OfficialID": "1",
"GID": "2",
"RoleType": 1,
"IsAuditFree": true,
"MTypeID": "3",
"ClassIDs": [
"1",
"2"
],
"UMID": "4",
"FrmSys": 0
}
application/x-www-form-urlencoded
Sample:
Sample not available.
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"
}