POST api/Employee/Validate

Request Information

URI Parameters

None.

Body Parameters

ValidateEMP
NameDescriptionTypeAdditional information
key

string

Required

Username

string

Required

Password

string

Required

Request Formats

application/json, text/json

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

application/xml, text/xml

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.