POST api/Account/UpdatePassword
修改密码
Request Information
URI Parameters
None.
Body Parameters
StaffUpdatePassword| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
Required String length: inclusive between 32 and 32 |
|
| OldPassword | string |
Required String length: inclusive between 6 and 20 |
|
| NewPassword | string |
Required String length: inclusive between 6 and 20 |
|
| NewPassword2 | string |
Required String length: inclusive between 6 and 20 |
Request Formats
application/json, text/json
Sample:
{
"Id": "sample string 1",
"OldPassword": "sample string 2",
"NewPassword": "sample string 3",
"NewPassword2": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseResultObjOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Mesg | string |
None. |
|
| Data | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"Mesg": "sample string 2",
"Data": "sample string 3"
}