POST api/Account/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountID | integer |
None. |
|
| OldPassword | string |
None. |
|
| NewPassword | string |
None. |
|
| RePassword | string |
None. |
|
| Logout | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountID": 1,
"OldPassword": "sample string 2",
"NewPassword": "sample string 3",
"RePassword": "sample string 4",
"Logout": true
}
application/xml, text/xml
Sample:
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BaseModelOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| status | integer |
None. |
|
| data | Object |
None. |
|
| page | PageModel |
None. |
|
| error | ErrorModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": 1,
"data": {},
"page": {
"Page": 1,
"AllPage": 2,
"Size": 3,
"TotalCount": 4
},
"error": {
"message": "sample string 1",
"code": "sample string 2",
"page": {
"Page": 1,
"AllPage": 2,
"Size": 3,
"TotalCount": 4
}
}
}
application/xml, text/xml
Sample: