POST api/Employee

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objEmployee
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "id": 2
}

text/html

Sample:
{"name":"sample string 1","id":2}

application/xml, text/xml

Sample:
<Employee xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WillEffectAPI.Models">
  <id>2</id>
  <name>sample string 1</name>
</Employee>

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

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorMessage": "sample string 2"
}

text/html

Sample:
{"Status":true,"ErrorMessage":"sample string 2"}

application/xml, text/xml

Sample:
<StatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WillEffectAPI.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Status>true</Status>
</StatusResponse>