POST api/Employee/Login

Documentation for 'Login'.

Request Information

Parameters

NameDescriptionAdditional information
objLogin
Documentation for 'objLogin'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "IMEI": "sample string 3"
}

application/xml, text/xml

Sample:
<LoginDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <IMEI>sample string 3</IMEI>
  <Password>sample string 2</Password>
  <Username>sample string 1</Username>
</LoginDTO>

application/x-www-form-urlencoded

Sample:

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