GET api/Customer/ChangePassword/{id}/{oldPassword}/{newPassword}/{tempPassword}

Allows a customer's password to be changed, by providing the Customer ID, Old Password, New Password and an Optional Boolean which when set to true will set new password as temporary

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Customer's ID

integer

Required

oldPassword

Customer's old password

string

Required

newPassword

Customer's new password

string

Required

tempPassword

Option to set password as temporary

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Response Formats

application/json, text/json

Sample:
{"Result":"Success!","Message":"Password Updated Succcesfully"}

application/xml, text/xml

Sample:
<?xml version="1.0" encoding="utf-16"?>
<InformationResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Result>Success!</Result>
  <Message>Password Updated Succcesfully</Message>
</InformationResponse>