---
title: "Retrieves all the on hold accounts for a specific target period"
method: GET
path: "/v1.0/buy-out-surplus/run/excluded-accounts"
tags: ["Buy-out and surplus info"]
---

# Retrieves all the on hold accounts for a specific target period

`GET /v1.0/buy-out-surplus/run/excluded-accounts`

## Request

- Base URL: `http://localhost:8082/api`
- URL: `http://localhost:8082/api/v1.0/buy-out-surplus/run/excluded-accounts`
- Auth: HTTP bearer

## Query parameters

- `targetPeriodType` 'TP5' | 'TP6' | 'TP7' | 'TP8' | 'TP9', required

## Response `200`

OK

- TargetUnitAccountBusinessInfoDTO[]
  - `accountId` integer
  - `businessId` string
  - `name` string

## Other responses

- `403`: Forbidden
- `500`: Internal Server Error

## Changes

- **2026-04-02** `0be05036d2c8`: 3 info
  - added the new enum value `TP7` to the `query` request parameter `targetPeriodType`
  - added the new enum value `TP8` to the `query` request parameter `targetPeriodType`
  - added the new enum value `TP9` to the `query` request parameter `targetPeriodType`
- **2025-09-11** `15b32331a1ac`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/beis/apis/api-documentation/changes/v1.0/buy-out-surplus/run/excluded-accounts/get.md)

---

[API](https://skmtc.dev/beis/apis/api-documentation.md) - [All operations](https://skmtc.dev/beis/apis/api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/beis/apis/api-documentation/revisions/2da910b8e923?raw)
