POST api/SchoolPortal/schooladmins/{id}/ResetPassword

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

SchoolAdminResetPasswordDTO
NameDescriptionTypeAdditional information
Token

string

None.

HashedPassword

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "HashedPassword": "sample string 2"
}

text/html

Sample:
{"Token":"sample string 1","HashedPassword":"sample string 2"}

application/xml, text/xml

Sample:
<SchoolAdminResetPasswordDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ldl.MessageBroker.DTOs.SchoolPortal">
  <HashedPassword>sample string 2</HashedPassword>
  <Token>sample string 1</Token>
</SchoolAdminResetPasswordDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.