Skip to main content
QUERY
departmentDetail(_id: String!): Department

Arguments

_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.

supervisors

Resolved User supervisors.

code
String

Optional short code/identifier.

order
String

Sort order among sibling departments.

Resolved parent Department, if any.

children

Direct child departments.

childCount
Int

Number of direct child departments.

users

Resolved User members of this department.

userCount
Int

Number of members in this department.

userIds
[String]

User ids that belong to this department.

Query
Variables
Response
آخر تعديل في ١١ أغسطس ٢٠٢٦