POST api/update/department

Request Information

URI Parameters

None.

Body Parameters

UpdateDepartment
NameDescriptionTypeAdditional information
DeptId

integer

None.

EmpId

integer

None.

DeptName

string

None.

ModifiedBy

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DeptId": 1,
  "EmpId": 2,
  "DeptName": "sample string 3",
  "ModifiedBy": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdateDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/working_sample_mvc_api.Models">
  <DeptId>1</DeptId>
  <DeptName>sample string 3</DeptName>
  <EmpId>2</EmpId>
  <ModifiedBy>sample string 4</ModifiedBy>
</UpdateDepartment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.