---
title: "Get IDs by department address"
method: GET
path: "/v1/departments/department-address-search"
tags: ["Departments"]
---

# Get IDs by department address

`GET /v1/departments/department-address-search`

## Request

- Base URL: `https://api.avionte.com/front-office`
- URL: `https://api.avionte.com/front-office/v1/departments/department-address-search`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Retrieves a list of address IDs for a department address.

## Headers

- `RequestId` string, uuid: Unique request identifier in UUID format used to correlate request data to log entries and events.
- `FrontOfficeTenantId` integer
- `Tenant` string

## Request body

- DepartmentAddressSearchDTO
  - `companyID` integer, required: The identifier for the department's company.
  - `street1` string, required: The street 1 details of the department's address.
  - `street2` string: The street 2 details of the department's address.
  - `city` string, required: The name of the city of the department's address.
  - `state` string, required: The state/province of the department's address.
  - `zipcode` string, required: The zip code of the department's address

## Response `200`

A list of department address IDs.

- IntegerSchema[]

## 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.dev/avionte/apis/bold-front-office-api.md) - [All operations](https://skmtc.dev/avionte/apis/bold-front-office-api/llms.txt) - [OpenAPI document](https://skmtc.dev/avionte/apis/bold-front-office-api/revisions/bd5996cbaa0f?raw)
