PUT api/mto/updateDepartment

Updates department

Request Information

URI Parameters

None.

Body Parameters

DepartmentModel
NameDescriptionTypeAdditional information
DepartmentId

integer

None.

DepartmentName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DepartmentId": 1,
  "DepartmentName": "sample string 2"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Departments

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.