PUT api/Account/ResetPassword?email={email}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
email

string

Required

Body Parameters

ResetPasswordViewModel
NameDescriptionTypeAdditional information
UserId

string

None.

UserName

string

None.

Email

string

None.

CurrentPassword

string

None.

Password

string

Required

Min length: 6

ConfirmPassword

string

None.

code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": "sample string 1",
  "UserName": "sample string 2",
  "Email": "sample string 3",
  "CurrentPassword": "sample string 4",
  "Password": "sample string 5",
  "ConfirmPassword": "sample string 6",
  "code": "sample string 7"
}

application/xml, text/xml

Sample:
<ResetPasswordViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolERP.API.ViewModels">
  <ConfirmPassword>sample string 6</ConfirmPassword>
  <CurrentPassword>sample string 4</CurrentPassword>
  <Email>sample string 3</Email>
  <Password>sample string 5</Password>
  <UserId>sample string 1</UserId>
  <UserName>sample string 2</UserName>
  <code>sample string 7</code>
</ResetPasswordViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.