POST api/miniUser/ModifyInfo
修改机主信息 -- 后台修改用户的分中心管理权限和管辖区
Request Information
URI Parameters
None.
Body Parameters
M_wxUserModifyInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| sn |
机主账号sn |
integer |
Required |
| Sheng |
省 |
string |
Required |
| Shi |
市 |
string |
Required |
| Qu |
区 |
string |
Required |
| Level |
管理等级 |
integer |
Required |
| isHS |
互守者状态 |
integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"sn": 1,
"Sheng": "sample string 2",
"Shi": "sample string 3",
"Qu": "sample string 4",
"Level": 5,
"isHS": 6
}
application/xml, text/xml
Sample:
<M_wxUserModifyInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.Models"> <Level>5</Level> <Qu>sample string 4</Qu> <Sheng>sample string 2</Sheng> <Shi>sample string 3</Shi> <isHS>6</isHS> <sn>1</sn> </M_wxUserModifyInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
M_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Contant |
内容,包含返回所需要的类 |
Object |
Required |
| Status |
状态 |
integer |
Required |
| Msg |
信息 |
string |
Required |
| Num |
数值,数据变动条数或增加时返回的ID |
integer |
Required |
Response Formats
application/json, text/json
Sample:
{
"Contant": {},
"Status": 2,
"Msg": "sample string 3",
"Num": 4
}
application/xml, text/xml
Sample:
<M_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.DP.Models"> <Msg>sample string 3</Msg> <Num>4</Num> <Status>2</Status> <Contant /> </M_Response>