---
title: "Find departments based on search parameters."
method: POST
path: "/api/departments/list"
tags: ["Department"]
---

# Find departments based on search parameters.

`POST /api/departments/list`

## Query parameters

- `Sort.Field` string
- `Sort.Dir` 'ascending' | 'descending' — Specify sorting direction.
- `Skip` integer
- `Take` integer

## Request body

- DepartmentRequestFindParameters — Parameters used for searching/finding departments.
  - `ids` string[], nullable — Filter departments based on matching ids.
  - `name` string, nullable — Filter departments based on their name.

## Response `200`

List of departments matching the filters

- DepartmentDto[]
  - `id` string, required — Unique id associated to this entity.
  - `name` string, required — Identifying name. Must be unique.
  - `deleted` boolean — Indicates whether this department has been deleted
  - `workCenters` WorkCenterDto[] — Workcenters associated with this department.
    - `id` string, required — Unique id associated to this entity.
    - `name` string, required — Identifying name. Must be unique.
    - `departmentId` string, nullable — Department identifier. Please reference /api/departments endpoint.
    - `setupRate` number, double, nullable — Hourly cost rate for setup.
    - `runRate` number, double, nullable — Hourly cost rate for run.
    - `laborRate` number, double, nullable — Hourly cost rate for labor.
    - `overheadRate` number, double, nullable — Hourly cost rate for overhead.
    - `machineRate` number, double, nullable — Hourly cost rate for machine.
    - `deleted` boolean — Indicates whether this equipment has been deleted
    - `equipment` EquipmentDto[] — Equipment associated with this workcenter.
      - `id` string, required — Unique id associated to this entity.
      - `name` string, required — Identifying name. Must be unique.
      - `description` string, nullable — Description.
      - `workCenterId` string, nullable — WorkCenter identifier. Please reference /api/work-centers endpoint.
      - `manufacturer` string, nullable — Manufacturer.
      - `modelNumber` string, nullable — Model number.
      - `serialNumber` string, nullable — Serial number.
      - `canRunUnattended` boolean, nullable — Indicates if this equipment can be run unattended. This allows the portion of an operation that utilizes this equipment to be scheduled outside of a shift.
      - `unlimitedCapacity` boolean, nullable — Indicates if this equipment can support multiple operations simultaneously.
      - `status` 'good' | 'poor' | 'bad' | 'outOfService' — Equipment status
      - `notes` string, nullable — Notes associated to the equipment.
      - `deleted` boolean — Indicates whether this equipment has been deleted

---

[API](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi.md) · [All operations](https://skmtc.net/fulcrumpro/apis/fulcrum-publicapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/fulcrumpro/fulcrum-publicapi/revisions/016c1fd45a3f/schema)
