POST api/users/customer/updatePassword

To update a customer's password

Request Information

URI Parameters

None.

Body Parameters

CustomerPasswordViewModel
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'CustomerPasswordViewModel'.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional 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.