> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.revvue.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.revvue.ai/_mcp/server.

# Department

GraphQL object

Reference: https://docs.revvue.ai/api-reference/companies-locations/types/objects/department

## Fields

- `id` — Unique id (UUID).
- `documentType` — Document type.
- `activeState` — Active state
- `created` — Timestamp when document was created.
- `changed` — Timestamp of when the last change occurred.
- `createdBy` — Audit identification of who created the document.
- `changedBy` — Audit identification of who changed the document.
- `tenantId` — Document tenant id.
- `name` — Name.
- `description` — Description.
- `color` — Color.
- `locationIds` — Location ids.

## Definition

```graphql
type Department implements BaseObject {
  id: UUID
  documentType: DocumentType
  activeState: ActiveState
  created: DateTime
  changed: DateTime
  createdBy: String
  changedBy: String
  tenantId: String
  name: String
  description: String
  color: String
  locationIds: [UUID]
}
```