POST api/employees/Deletemployee

Request Information

URI Parameters

None.

Body Parameters

EmployeeModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Age

integer

None.

Address

string

None.

Department

string

None.

PositionId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Age": 3,
  "Address": "sample string 4",
  "Department": "sample string 5",
  "PositionId": 6
}

application/xml, text/xml

Sample:
<EmployeeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmployeeManagementAPI.Models">
  <Address>sample string 4</Address>
  <Age>3</Age>
  <Department>sample string 5</Department>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <PositionId>6</PositionId>
</EmployeeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>