get https://zalary-beta-gateway-external-client-api.azurewebsites.net/api/v1/tenants//departments
Responses
401User is not authorized.
403User does not have the required roles to access this action.
401User is not authorized.
403User does not have the required roles to access this action.
xxxxxxxxxx
GET /api/v1/tenants/tenantUid/departments HTTP/1.1
Accept: application/json
Host: zalary-beta-gateway-external-client-api.azurewebsites.net
Examplexxxxxxxxxx
25}
{
"hasNextPage": true,
"nextPageToken": "string",
"totalRecords": 0,
"totalDisplayRecords": 0,
"data": [
{
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"type": "string",
"members": 0,
"childDepartmentsCount": 0,
"parentDepartment": {
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
},
"headsOfDepartment": [
{
"uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string"
}
]
}
]