PUT api/mto/updateDepartment
Updates department
Request Information
URI Parameters
None.
Body Parameters
DepartmentModel| Name | Description | Type | Additional 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
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.