API

Department

This resource allows you to fetch the Department list by GET method.

You can search for any existing Department using filters as defined here.

Pagination is supported for this resource. Click here to see the details of it.

You can retrieve the following information through this method.

  • Department ID

  • Department's Description

  • Active



GET (Group List)

👉🏿

End Point: /departments


Sample response payload

[
 {
  "id": "string",
  "description": "string",
  "active": "boolean"
 }
]


GET By ID

👉🏿

End Point: /departments/{ID}

Sample response payload

{
 "recordid": "string",
 "id": "string",
 "description": "string",
 "active": true
}


POST

👉🏿

End Point: /departments/

Sample request payload

{
 "recordid": "string",
 "id": "string",
 "description": "string",
 "active": true
}

Sample response payload

{
 "recordid": "string",
 "id": "string",
 "description": "string",
 "active": true
}


PUT

👉🏿

End Point: /departments/{iD}

Sample request payload

{
 "recordid": "string",
 "id": "string",
 "description": "string",
 "active": true
}

Sample response payload

{
 "recordid": "string",
 "id": "string",
 "description": "string",
 "active": true
}