POST api/ModifyPassword
change password
Request Information
URI Parameters
None.
Body Parameters
修改密码参数
ModifyPasswordParamsName | Description | Type | Additional information |
---|---|---|---|
oldPwd |
老密码 |
string |
None. |
newPwd |
新密码 |
string |
None. |
userID |
用户ID |
integer |
None. |
token |
用户token |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "oldPwd": "sample string 1", "newPwd": "sample string 2", "userID": 3, "token": "sample string 4" }
application/xml, text/xml
Sample:
<ModifyPasswordParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.API.Models"> <token>sample string 4</token> <userID>3</userID> <newPwd>sample string 2</newPwd> <oldPwd>sample string 1</oldPwd> </ModifyPasswordParams>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BasicResultName | Description | Type | Additional information |
---|---|---|---|
code |
状态码 |
integer |
None. |
msg |
消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "msg": "sample string 2" }
application/xml, text/xml
Sample:
<BasicResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.API.Models"> <code>1</code> <msg>sample string 2</msg> </BasicResult>