POST api/UserMaster/ChangePassword

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordRequest
NameDescriptionTypeAdditional information
ClientId

integer

None.

OldPassword

string

None.

NewPassoword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientId": 1,
  "OldPassword": "sample string 2",
  "NewPassoword": "sample string 3"
}

application/xml, text/xml

Sample:
<ChangePasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <ClientId>1</ClientId>
  <NewPassoword>sample string 3</NewPassoword>
  <OldPassword>sample string 2</OldPassword>
</ChangePasswordRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ForgotAndChnagePasswordResponse
NameDescriptionTypeAdditional information
responseCode

integer

None.

OTP

string

None.

ClientId

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "responseCode": 1,
  "OTP": "sample string 2",
  "ClientId": 3,
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<ForgotAndChnagePasswordResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <ClientId>3</ClientId>
  <Message>sample string 4</Message>
  <OTP>sample string 2</OTP>
  <responseCode>1</responseCode>
</ForgotAndChnagePasswordResponse>