PUT api/Department/UpdateDepartment

Request Information

URI Parameters

None.

Body Parameters

tblDepartment
NameDescriptionTypeAdditional information
DepartmentId

integer

None.

DepartmentName

string

None.

RecordStatus

string

None.

RecordCreated

date

None.

RecordModified

date

None.

RecordDeleted

date

None.

Request Formats

application/json, text/json

Sample:
{
  "DepartmentId": 1,
  "DepartmentName": "sample string 2",
  "RecordStatus": "sample string 3",
  "RecordCreated": "2025-12-11T14:36:08.7252666+00:00",
  "RecordModified": "2025-12-11T14:36:08.7252666+00:00",
  "RecordDeleted": "2025-12-11T14:36:08.7252666+00:00"
}

text/html

Sample:
{"DepartmentId":1,"DepartmentName":"sample string 2","RecordStatus":"sample string 3","RecordCreated":"2025-12-11T14:36:08.7252666+00:00","RecordModified":"2025-12-11T14:36:08.7252666+00:00","RecordDeleted":"2025-12-11T14:36:08.7252666+00:00"}

application/xml, text/xml

Sample:
<tblDepartment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/izyLogicTimeManagementWebApi.Models">
  <DepartmentId>1</DepartmentId>
  <DepartmentName>sample string 2</DepartmentName>
  <RecordCreated>2025-12-11T14:36:08.7252666+00:00</RecordCreated>
  <RecordDeleted>2025-12-11T14:36:08.7252666+00:00</RecordDeleted>
  <RecordModified>2025-12-11T14:36:08.7252666+00:00</RecordModified>
  <RecordStatus>sample string 3</RecordStatus>
</tblDepartment>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.