Next Topic

Previous Topic

Book Contents

Update Department

Updates a single department record.

PUT /system/departments/{departmentId}

Headers

Sample Body Data

DepartmentId is required in the body of the message. Include additional fields and values to be updated.

{
"DepartmentId":1,
"DepartmentName":"Engineering",
}

Model Schema

Field

Datatype

Filterable

Sortable

DepartmentId

decimal

DepartmentName

string

ParentDepartmentId

decimal

 

ManagerId

decimal

OrgId

decimal

DepartmentRef

string

 

Attributes

object

 

Sample Request Model

{
  "DepartmentId": 0,
  "DepartmentName": "string",
  "ParentDepartmentId": 0,
  "ManagerId": 0,
  "OrgId": 0,
  "DepartmentRef": "string",
  "Attributes": {}
}