POST api/change-password

Request Information

URI Parameters

None.

Body Parameters

ChangePasswordModel
NameDescriptionTypeAdditional information
VerificationCode

string

None.

OldPassword

string

None.

NewPassword

string

None.

ConfirmPassword

string

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "VerificationCode": "sample string 1",
  "OldPassword": "sample string 2",
  "NewPassword": "sample string 3",
  "ConfirmPassword": "sample string 4",
  "UserId": 5
}

application/xml, text/xml

Sample:
<ChangePasswordModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sonalika_Api.CustomModels.AauthenticationModels">
  <ConfirmPassword>sample string 4</ConfirmPassword>
  <NewPassword>sample string 3</NewPassword>
  <OldPassword>sample string 2</OldPassword>
  <UserId>5</UserId>
  <VerificationCode>sample string 1</VerificationCode>
</ChangePasswordModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.