POST Account/ChangePassword
Request Information
URI Parameters
None.
Body Parameters
ChangePasswordModel| Name | Description | Type | Additional information |
|---|---|---|---|
| OldPassword | string |
None. |
|
| NewPassword | string |
None. |
|
| ConfirmedNewPassword | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OldPassword": "sample string 1",
"NewPassword": "sample string 2",
"ConfirmedNewPassword": "sample string 3"
}
application/xml, text/xml
Sample:
<ChangePasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Audatex.AudaMobile.WebApi.Models.Authentication"> <ConfirmedNewPassword>sample string 3</ConfirmedNewPassword> <NewPassword>sample string 2</NewPassword> <OldPassword>sample string 1</OldPassword> </ChangePasswordModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WebApiResultOfPasswordResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Data | PasswordResponseModel |
None. |
|
| ErrorMessage | string |
None. |
|
| Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Data": {
"Success": true,
"Message": "sample string 2",
"Status": "sample string 3"
},
"ErrorMessage": "sample string 2",
"Exception": "sample string 3"
}
application/xml, text/xml
Sample:
<WebApiResultOfPasswordResponseModel1J5gypZp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Audatex.AudaMobile.WebApi.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Audatex.AudaMobile.WebApi.Models.Authentication">
<d2p1:Message>sample string 2</d2p1:Message>
<d2p1:Status>sample string 3</d2p1:Status>
<d2p1:Success>true</d2p1:Success>
</Data>
<ErrorMessage>sample string 2</ErrorMessage>
<Exception>sample string 3</Exception>
<Success>true</Success>
</WebApiResultOfPasswordResponseModel1J5gypZp>