POST api/StudentResetPassword

Request Information

URI Parameters

None.

Body Parameters

Student
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

TokenKey

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "TokenKey": "sample string 3"
}

application/xml, text/xml

Sample:
<Student xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YuStudentResetPassword.Models">
  <Password>sample string 2</Password>
  <TokenKey>sample string 3</TokenKey>
  <UserName>sample string 1</UserName>
</Student>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Student'.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>