POST api/Account/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| OldPassword | string |
None. |
|
| NewPassword | string |
None. |
|
| ConfirmNewPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OldPassword": "sample string 1",
"NewPassword": "sample string 2",
"ConfirmNewPassword": "sample string 3"
}
application/xml, text/xml
Sample:
<ChangePasswordDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bulletin.Model.DTO"> <ConfirmNewPassword>sample string 3</ConfirmNewPassword> <NewPassword>sample string 2</NewPassword> <OldPassword>sample string 1</OldPassword> </ChangePasswordDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |