departmentDetail
Fetch a single Department by id.
Auth · x-app-token · required permission showDepartment
Related: departments, Department
QUERY
departmentDetail(_id: String!): DepartmentArguments
_id
String!
required
Department id.
Returns
_id
String!
Unique department identifier.
title
String
Display name.
description
String
Optional free-text description.
parentId
String
Parent department id. null for top-level departments.
supervisorIds
[String]
User ids assigned as supervisors of this department.
code
String
Optional short code/identifier.
order
String
Sort order among sibling departments.
parent
Resolved parent Department, if any.
children
Direct child departments.
childCount
Int
Number of direct child departments.
userCount
Int
Number of members in this department.
userIds
[String]
User ids that belong to this department.
Query
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦