POST api/HuiYuan/EditHuiyuanByUser
店员修改会员信息
Request Information
URI Parameters
None.
Body Parameters
editHuiyuanPost| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| name | string |
None. |
|
| utel | string |
None. |
|
| sex |
nv = 0,nan = 1,unkonw = 2 |
integer |
None. |
| shengri | string |
None. |
|
| height | decimal number |
None. |
|
| weight | decimal number |
None. |
|
| chima | string |
None. |
|
| yaowei | string |
None. |
|
| kuchang | string |
None. |
|
| kuzichima | string |
None. |
|
| fengge | string |
None. |
|
| worktype | string |
None. |
|
| shouru | string |
None. |
|
| address | string |
None. |
|
| remarks | string |
None. |
|
| tel |
登录账号 |
string |
None. |
| token |
token |
string |
None. |
| uid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"utel": "sample string 3",
"sex": 4,
"shengri": "sample string 5",
"height": 6.1,
"weight": 7.1,
"chima": "sample string 8",
"yaowei": "sample string 9",
"kuchang": "sample string 10",
"kuzichima": "sample string 11",
"fengge": "sample string 12",
"worktype": "sample string 13",
"shouru": "sample string 14",
"address": "sample string 15",
"remarks": "sample string 16",
"tel": "sample string 17",
"token": "sample string 18",
"uid": 1
}
application/xml, text/xml
Sample:
<editHuiyuanPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Controllers"> <tel xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 17</tel> <token xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">sample string 18</token> <uid xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">1</uid> <address>sample string 15</address> <chima>sample string 8</chima> <fengge>sample string 12</fengge> <height>6.1</height> <id>1</id> <kuchang>sample string 10</kuchang> <kuzichima>sample string 11</kuzichima> <name>sample string 2</name> <remarks>sample string 16</remarks> <sex>4</sex> <shengri>sample string 5</shengri> <shouru>sample string 14</shouru> <utel>sample string 3</utel> <weight>7.1</weight> <worktype>sample string 13</worktype> <yaowei>sample string 9</yaowei> </editHuiyuanPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseResult| Name | Description | Type | Additional information |
|---|---|---|---|
| code |
状态码,200成功,300错误,400缺少参数,500没有权限,301数据不存在... |
integer |
None. |
| msg |
成功或者错误的说明,例如:登录成功,token过期... |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2"
}
application/xml, text/xml
Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <code>1</code> <msg>sample string 2</msg> </BaseResult>