POST api/Customer/EditPassword?sign={sign}
修改密码(只需要传入username;password;autoinc)
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sign |
Sign(密钥2) |
string |
Required |
Body Parameters
用户信息对象
ModelCustomerEditPwd| Name | Description | Type | Additional information |
|---|---|---|---|
| username |
用户名 |
string |
None. |
| password |
密码 |
string |
None. |
| autoinc |
用户索引ID |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"password": "sample string 2",
"autoinc": "sample string 3"
}
application/xml, text/xml
Sample:
<ModelCustomerEditPwd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models.customer"> <autoinc>sample string 3</autoinc> <password>sample string 2</password> <username>sample string 1</username> </ModelCustomerEditPwd>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ModelReturnCode| Name | Description | Type | Additional information |
|---|---|---|---|
| message |
备注说明 |
string |
None. |
| value |
返回值 |
Object |
None. |
| code |
代码(0:正常;1:异常) |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"message": "sample string 1",
"value": {}
}
application/xml, text/xml
Sample:
<ModelReturnCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/lms.mobile.api.Models"> <code>1</code> <message>sample string 1</message> <value /> </ModelReturnCode>