POST api/Customer/UpdatePassword

Request Information

URI Parameters

None.

Body Parameters

PasswordUpdateRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

OldPassword

string

None.

NewPassword

string

None.

ConfirmNewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "OldPassword": "sample string 2",
  "NewPassword": "sample string 3",
  "ConfirmNewPassword": "sample string 4"
}

text/html

Sample:
{"CustomerId":1,"OldPassword":"sample string 2","NewPassword":"sample string 3","ConfirmNewPassword":"sample string 4"}

application/xml, text/xml

Sample:
<PasswordUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Specialtys.DTO.Request">
  <ConfirmNewPassword>sample string 4</ConfirmNewPassword>
  <CustomerId>1</CustomerId>
  <NewPassword>sample string 3</NewPassword>
  <OldPassword>sample string 2</OldPassword>
</PasswordUpdateRequest>

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.