POST api/Customer/UpdatePassword

Request Information

URI Parameters

None.

Body Parameters

UpdatePasswordRequest
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

OldPassword

string

None.

NewPassword

string

None.

IsLazy

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "dc80a9c2-ffdd-45cb-8b64-9d276232221d",
  "OldPassword": "sample string 2",
  "NewPassword": "sample string 3",
  "IsLazy": true
}

application/xml, text/xml

Sample:
<UpdatePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <IsLazy>true</IsLazy>
  <NewPassword>sample string 3</NewPassword>
  <OldPassword>sample string 2</OldPassword>
  <UserId>dc80a9c2-ffdd-45cb-8b64-9d276232221d</UserId>
</UpdatePasswordRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdatePasswordResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

UserName

string

None.

EmailAddress

string

None.

GsmNumber

string

None.

InvalidPassword

boolean

None.

IsPasswordSameWithEmail

boolean

None.

FirstName

string

None.

LastName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "UserName": "sample string 2",
  "EmailAddress": "sample string 3",
  "GsmNumber": "sample string 4",
  "InvalidPassword": true,
  "IsPasswordSameWithEmail": true,
  "FirstName": "sample string 7",
  "LastName": "sample string 8"
}

application/xml, text/xml

Sample:
<UpdatePasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
  <EmailAddress>sample string 3</EmailAddress>
  <FirstName>sample string 7</FirstName>
  <GsmNumber>sample string 4</GsmNumber>
  <InvalidPassword>true</InvalidPassword>
  <IsPasswordSameWithEmail>true</IsPasswordSameWithEmail>
  <LastName>sample string 8</LastName>
  <Success>true</Success>
  <UserName>sample string 2</UserName>
</UpdatePasswordResponse>