POST api/ParentLogin/VerifyLogin

Request Information

URI Parameters

None.

Body Parameters

LoginRequestModel
NameDescriptionTypeAdditional information
MobileNumber

string

None.

AppVersion

string

None.

Id

integer

None.

InstituteMasterId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "MobileNumber": "sample string 1",
  "AppVersion": "sample string 2",
  "Id": 3,
  "InstituteMasterId": "sample string 4"
}

text/html

Sample:
{"MobileNumber":"sample string 1","AppVersion":"sample string 2","Id":3,"InstituteMasterId":"sample string 4"}

application/xml, text/xml

Sample:
<ParentLoginModels.LoginRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartInstituteSoftware.Models">
  <AppVersion>sample string 2</AppVersion>
  <Id>3</Id>
  <InstituteMasterId>sample string 4</InstituteMasterId>
  <MobileNumber>sample string 1</MobileNumber>
</ParentLoginModels.LoginRequestModel>

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 'LoginRequestModel'.

Response Information

Resource Description

GeneralObject
NameDescriptionTypeAdditional information
InstituteId

string

None.

response

string

None.

response_message

string

None.

message

string

None.

Mobile

string

None.

Name

string

None.

Id

string

None.

OTP

string

None.

IsServiceActive

string

None.

Response Formats

application/json, text/json

Sample:
{
  "InstituteId": "sample string 1",
  "response": "sample string 2",
  "response_message": "sample string 3",
  "message": "sample string 4",
  "Mobile": "sample string 5",
  "Name": "sample string 6",
  "Id": "sample string 7",
  "OTP": "sample string 8",
  "IsServiceActive": "sample string 9"
}

text/html

Sample:
{"InstituteId":"sample string 1","response":"sample string 2","response_message":"sample string 3","message":"sample string 4","Mobile":"sample string 5","Name":"sample string 6","Id":"sample string 7","OTP":"sample string 8","IsServiceActive":"sample string 9"}

application/xml, text/xml

Sample:
<ParentLoginModels.GeneralObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartInstituteSoftware.Models">
  <Id>sample string 7</Id>
  <InstituteId>sample string 1</InstituteId>
  <IsServiceActive>sample string 9</IsServiceActive>
  <Mobile>sample string 5</Mobile>
  <Name>sample string 6</Name>
  <OTP>sample string 8</OTP>
  <message>sample string 4</message>
  <response>sample string 2</response>
  <response_message>sample string 3</response_message>
</ParentLoginModels.GeneralObject>