POST api/Profile/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordModel| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| oldPassword | string |
None. |
|
| newPassword | string |
None. |
|
| confirm_password | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"oldPassword": "sample string 2",
"newPassword": "sample string 3",
"confirm_password": "sample string 4"
}
multipart/form-data, application/octet-stream
Sample:
{"id":1,"oldPassword":"sample string 2","newPassword":"sample string 3","confirm_password":"sample string 4"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Object |
None. |
|
| Msg | Object |
None. |
|
| token | Object |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": {},
"msg": {},
"token": {},
"data": {}
}
multipart/form-data, application/octet-stream
Sample:
{"result":{},"msg":{},"token":{},"data":{}}