Returns an array of department records for a specified organization.
GET /system/orgs/{orgId}/departments
Headers
Model Schema
Field |
Datatype |
Filterable |
Sortable |
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sample Response Model
{
"TotalRecords": 0,
"Result": [
{
"DepartmentId": 0,
"DepartmentName": "string",
"ParentDepartmentId": 0,
"ManagerId": 0,
"OrgId": 0,
"DepartmentRef": "string",
"Attributes": {}
}
],
"ResponseCode": 0,
"Status": "string",
"Error": "string"
}