---
title: "Query Multiple Departments"
method: POST
path: "/v1/departments/multi-query"
tags: ["Departments"]
---

# Query Multiple Departments

`POST /v1/departments/multi-query`

Returns details about the specified departments.

## Headers

- `RequestId` string, uuid — The unique request identifier used to correlate request data with log entries and events, formatted as a UUID.
- `FrontOfficeTenantId` integer
- `Tenant` string

## Request body

- IntegerSchema[]

## Response `200`

A list of departments.

- Department[]
  - `companyExternalId` string, nullable — The unique system-defined identifier for the Company.
  - `companyGuid` string, uuid, nullable — The Back Office unique identifier for the Company, formatted as a UUID.
  - `departmentExternalId` string, nullable — The unique system-defined identifier for the Company Department.
  - `departmentGuid` string, uuid, nullable — The Back Office unique identifier for the Department, formatted as a UUID.
  - `departmentName` string — The name of the company department.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Access Denied
- `404` — Not found
- `405` — Unsupported method
- `406` — Unsupported format(s) indicated by Accept header
- `415` — Unsupported format(s) indicated by the Content-Type header
- `429` — Too many requests
- `500` — An unexpected error occurred
- `502` — Service Unavailable
- `504` — Gateway Timeout

---

[API](https://skmtc.net/avionte/apis/aviont-partner-authorization-api.md) · [All operations](https://skmtc.net/avionte/apis/aviont-partner-authorization-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/avionte/aviont-partner-authorization-api/revisions/846b33e4e71b/schema)
