POST api/users/customer/updatePassword
To update a customer's password
Request Information
URI Parameters
None.
Body Parameters
CustomerPasswordViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerDID | string |
None. |
|
| PasswordResetKey | string |
None. |
|
| NewPassword | string |
None. |
|
| OldPassword | string |
None. |
Request Formats
application/xml, text/xml
Sample:
<CustomerPasswordViewModel> <CustomerDID>sample string 1</CustomerDID> <PasswordResetKey>sample string 2</PasswordResetKey> <NewPassword>sample string 3</NewPassword> <OldPassword>sample string 4</OldPassword> </CustomerPasswordViewModel>
application/json, text/json
Sample:
{
"CustomerDID": "sample string 1",
"PasswordResetKey": "sample string 2",
"NewPassword": "sample string 3",
"OldPassword": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccessful |
Whether the action was successful |
boolean |
None. |
| MessageTranslationKey |
A translation key for any message that is returned. It will be the first of the messages if more than one exists. |
string |
None. |
| Message |
Any message that needs to be conveyed related to the request. It will be the first of the messages if more than one exists. |
string |
None. |
| Messages |
Any message that needs to be conveyed related to the request. |
Collection of ApiResultMessage |
None. |
Response Formats
application/xml, text/xml, application/json, text/json
Sample:
Sample not available.