{
"name": "<string>",
"code": "<string>",
"hierarchy": "<string>",
"parentId": "<string>",
"isActive": true,
"position": 55000000000000000000,
"level": 123,
"sortOrder": 2,
"headID": 123,
"head": {
"id": 123,
"name": "<string>",
"url": "<string>"
},
"users": [
{
"id": 123,
"name": "<string>",
"url": "<string>"
}
],
"currentUsers": [
{
"id": 123,
"name": "<string>",
"url": "<string>"
}
]
}Departments, to which users must be attached, are used by the different Lucca solutions for different purposes:
NB: You can have up to 9 levels of departments, and up to 99 departments under a single parent department. However, limiting the number of levels to 7 is recommended.
255255Position of the departement in the hierarchical tree
Position of the parent department in the hierarchical tree
\/[0-9]\/Department's general position in the hierarchy
10000000000000000000 <= x <= 100000000000000000000level of the Department. Deduce from Position.
Order of the current Department among the children of the Parent Department
x >= 1ID of the User who is the head of the department
Show child attributes
Users of the department, including inactive users.
Show child attributes
Only active users of the department
Show child attributes
Was this page helpful?