POST api/Customer/UpdateUserPassword

Request Information

URI Parameters

None.

Body Parameters

UpdateUserPasswordRequest
NameDescriptionTypeAdditional information
UserId

globally unique identifier

None.

OldPassword

string

None.

NewPassword

string

None.

IPAddress

string

None.

UserAgent

string

None.

PermanentSessionId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "1c4b0ca1-ad13-410b-a1c5-bb2065641934",
  "OldPassword": "sample string 2",
  "NewPassword": "sample string 3",
  "IPAddress": "sample string 4",
  "UserAgent": "sample string 5",
  "PermanentSessionId": "sample string 6"
}

application/xml, text/xml

Sample:
<UpdateUserPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <IPAddress>sample string 4</IPAddress>
  <NewPassword>sample string 3</NewPassword>
  <OldPassword>sample string 2</OldPassword>
  <PermanentSessionId>sample string 6</PermanentSessionId>
  <UserAgent>sample string 5</UserAgent>
  <UserId>1c4b0ca1-ad13-410b-a1c5-bb2065641934</UserId>
</UpdateUserPasswordRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateUserPasswordResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

InvalidPassword

boolean

None.

ExceptionMessageList

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "InvalidPassword": true,
  "ExceptionMessageList": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<UpdateUserPasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
  <ExceptionMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ExceptionMessageList>
  <InvalidPassword>true</InvalidPassword>
  <Success>true</Success>
</UpdateUserPasswordResponse>