POST api/accountService/v1/token/passwordreset/reset

Request Information

URI Parameters

None.

Body Parameters

ResetPasswordRequest
NameDescriptionTypeAdditional information
Token

string

None.

CardholderId

string

None.

NewPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "CardholderId": "sample string 2",
  "NewPassword": "sample string 3"
}

application/xml, text/xml

Sample:
<ResetPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
  <CardholderId>sample string 2</CardholderId>
  <NewPassword>sample string 3</NewPassword>
  <Token>sample string 1</Token>
</ResetPasswordRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResetPasswordResponse
NameDescriptionTypeAdditional information
UserInformation

UserInformationModel

None.

IsSuccess

boolean

Required

ErrorCodes

Collection of string

Required

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserInformation": {
    "FirstName": "sample string 1",
    "LastName": "sample string 2",
    "CardholderId": "sample string 3",
    "EmailAddress": "sample string 4"
  },
  "IsSuccess": true,
  "ErrorCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ResetPasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
  <ErrorCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorCodes>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <UserInformation>
    <CardholderId>sample string 3</CardholderId>
    <EmailAddress>sample string 4</EmailAddress>
    <FirstName>sample string 1</FirstName>
    <LastName>sample string 2</LastName>
  </UserInformation>
</ResetPasswordResponse>