POST api/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
changepwdmodel| Name | Description | Type | Additional information |
|---|---|---|---|
| username | string |
None. |
|
| oldPwd | string |
None. |
|
| newPwd | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"username": "sample string 1",
"oldPwd": "sample string 2",
"newPwd": "sample string 3"
}
application/xml, text/xml
Sample:
<changepwdmodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <newPwd>sample string 3</newPwd> <oldPwd>sample string 2</oldPwd> <username>sample string 1</username> </changepwdmodel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Message | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 200,
"Message": "sample string 2",
"Data": "sample string 3"
}
application/xml, text/xml
Sample:
<ApiResultOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YC.Core" />