POST api/Customer/PasswordChange

Request Information

URI Parameters

None.

Body Parameters

PasswordChangeRequest
NameDescriptionTypeAdditional information
RequestFromIdentityServer

boolean

None.

Password

string

None.

ChangeRequestId

string

None.

IPAddress

string

None.

UserAgent

string

None.

PermanentSessionId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestFromIdentityServer": true,
  "Password": "sample string 2",
  "ChangeRequestId": "sample string 3",
  "IPAddress": "sample string 4",
  "UserAgent": "sample string 5",
  "PermanentSessionId": "sample string 6"
}

application/xml, text/xml

Sample:
<PasswordChangeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Request">
  <ChangeRequestId>sample string 3</ChangeRequestId>
  <IPAddress>sample string 4</IPAddress>
  <Password>sample string 2</Password>
  <PermanentSessionId>sample string 6</PermanentSessionId>
  <RequestFromIdentityServer>true</RequestFromIdentityServer>
  <UserAgent>sample string 5</UserAgent>
</PasswordChangeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PasswordChangeResponse
NameDescriptionTypeAdditional information
Email

string

None.

UserId

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

Title

string

None.

IsLazy

boolean

None.

UserType

integer

None.

SharedDataPermission

boolean

None.

Gender

integer

None.

Code

PasswordChangeResponseCode

None.

ExceptionMessageList

Collection of string

None.

RedirectionKey

string

None.

ReturnUrl

string

None.

IsValid

boolean

None.

Success

boolean

None.

InformationMessageList

Collection of string

None.

WarningMessageList

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "UserId": "db299a41-edb1-47b7-a716-64633a0d068c",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Title": "sample string 5",
  "IsLazy": true,
  "UserType": 1,
  "SharedDataPermission": true,
  "Gender": 1,
  "Code": 9000,
  "ExceptionMessageList": [
    "sample string 1",
    "sample string 2"
  ],
  "RedirectionKey": "sample string 8",
  "ReturnUrl": "sample string 9",
  "IsValid": true,
  "Success": true,
  "InformationMessageList": [
    "sample string 1",
    "sample string 2"
  ],
  "WarningMessageList": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<PasswordChangeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Dto.Response">
  <Code>PasswordUsedBefore</Code>
  <Email>sample string 1</Email>
  <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>
  <FirstName>sample string 3</FirstName>
  <Gender>1</Gender>
  <InformationMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </InformationMessageList>
  <IsLazy>true</IsLazy>
  <IsValid>true</IsValid>
  <LastName>sample string 4</LastName>
  <RedirectionKey>sample string 8</RedirectionKey>
  <ReturnUrl>sample string 9</ReturnUrl>
  <SharedDataPermission>true</SharedDataPermission>
  <Success>true</Success>
  <Title>sample string 5</Title>
  <UserId>db299a41-edb1-47b7-a716-64633a0d068c</UserId>
  <UserType>1</UserType>
  <WarningMessageList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </WarningMessageList>
</PasswordChangeResponse>