POST Api/Login/WebsiteLogin

Request Information

URI Parameters

None.

Body Parameters

WebsiteLoginModel
NameDescriptionTypeAdditional information
Username

string

None.

Password

string

None.

UserType

string

None.

AcademyId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "UserType": "sample string 3",
  "AcademyId": "sample string 4"
}

application/xml, text/xml

Sample:
<WebsiteLoginModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.NovinSchool.com.Models.Parameters">
  <AcademyId>sample string 4</AcademyId>
  <Password>sample string 2</Password>
  <UserType>sample string 3</UserType>
  <Username>sample string 1</Username>
</WebsiteLoginModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResponseModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<BaseResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.NovinSchool.com.Models.Response">
  <Message>sample string 2</Message>
  <Success>true</Success>
</BaseResponseModel>