Documentation Index
Fetch the complete documentation index at: https://mintlify.com/cgwire/zou/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Departments represent the organizational structure of your studio, such as Modeling, Animation, Rigging, Lighting, etc. Each department can have:- Team members (persons)
- Associated software licenses
- Hardware resources
- Unique color for visual identification
Department Fields
Unique identifier for the department
Department name (must be unique)
Color in hex format for visual identification (e.g., “#FF5733”)
Whether the department is archived
Creation timestamp
Last update timestamp
Department-Person Relationship
Persons (users) can belong to multiple departments, and departments can have multiple members. This many-to-many relationship enables:- Cross-functional team organization
- Department-based permissions (for supervisors)
- Department-specific time tracking and reporting
- Resource allocation by department
Assigning People to Departments
Use the Person API to manage department assignments:Software Licenses
Track which software is used by each department for budget forecasting and license management.Software License Fields
Software license unique identifier
Software name (e.g., “Maya”)
Short name or abbreviation (e.g., “MAYA”)
Default file extension (e.g., “.ma”)
Associated department ID
Managing Software Licenses
All software license endpoints require admin permissions.
Example: Get All Software by Department
Hardware Items
Track hardware resources allocated to each department for budget forecasting and capacity planning.Hardware Item Fields
Hardware item unique identifier
Hardware name (e.g., “Workstation”)
Hardware description
Associated department ID
Managing Hardware Items
All hardware item endpoints require admin permissions.
Example: Add Hardware to Department
Department-Based Permissions
Supervisors can be restricted to specific departments:- Supervisors only see time tracking and data for their assigned departments
- The
departmentsfield on the Person model controls this access - Admins and managers have access to all departments
Example Permission Flow
- Supervisor is assigned to “Animation” department
- When requesting time spent data, only tasks from Animation department are visible
- Department filtering is automatically applied based on the supervisor’s department assignments
Department Colors
Each department has a color code for visual identification in the UI:- Must be in hex format (e.g., “#FF5733”)
- Used for color-coding tasks, schedules, and reports
- Makes it easy to identify department ownership at a glance
Time Tracking by Department
Time spent data can be filtered by department:- Department-specific productivity reports
- Budget tracking by department
- Resource allocation analysis
- Department capacity planning
Permissions
Read Permissions
- All authenticated users can view departments
- Department list is publicly accessible to authenticated users
Create/Update/Delete Permissions
- Only admins can create, update, or delete departments
- Only admins can manage software and hardware associations
Examples
Create a New Department
Update Department Color
Get All Departments
Archive a Department
Archiving a department doesn’t remove it from the system or unassign people. It simply marks it as archived, which can be used to hide it from active department lists in the UI.
Assign Software to Department
Budget Forecasting
Department associations with software and hardware are used for budget forecasting:- Software Costs: Track which departments use which software licenses
- Hardware Costs: Track hardware allocation per department
- Personnel Costs: Use
daily_salaryfrom person records combined with department membership - Time Tracking: Combine time spent data with department assignments
Related Resources
- Department Endpoints - Full API reference
- Person Management - User and team management