POST api/Department/UpdateDepartment

Request Information

URI Parameters

None.

Body Parameters

DepartmentMasterBindingModel
NameDescriptionTypeAdditional information
DepartmentId

integer

None.

DepartmentName

string

None.

IsActive

boolean

None.

CreatedBy

integer

None.

CreationDate

date

None.

UpdatedBy

integer

None.

UpdationDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "DepartmentId": 1,
  "DepartmentName": "sample string 2",
  "IsActive": true,
  "CreatedBy": 1,
  "CreationDate": "2026-05-19T12:16:46.4977134+05:30",
  "UpdatedBy": 1,
  "UpdationDate": "2026-05-19T12:16:46.4977134+05:30"
}

application/xml, text/xml

Sample:
<DepartmentMasterBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/tsms_api.Models">
  <CreatedBy>1</CreatedBy>
  <CreationDate>2026-05-19T12:16:46.4977134+05:30</CreationDate>
  <DepartmentId>1</DepartmentId>
  <DepartmentName>sample string 2</DepartmentName>
  <IsActive>true</IsActive>
  <UpdatedBy>1</UpdatedBy>
  <UpdationDate>2026-05-19T12:16:46.4977134+05:30</UpdationDate>
</DepartmentMasterBindingModel>

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.