---
title: "Retrieves the available TPs for buy-out run"
method: GET
path: "/v1.0/buy-out-surplus/run/available-target-periods"
tags: ["Buy-out and surplus info"]
---

# Retrieves the available TPs for buy-out run

`GET /v1.0/buy-out-surplus/run/available-target-periods`

## Request

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

## Response `200`

OK

- AvailableTargetPeriodsBuyOutDTO
  - `currentTargetPeriods` TargetPeriodBuyOutDetailsDTO[]
    - `id` integer
    - `businessId` 'TP5' | 'TP6' | 'TP7' | 'TP8' | 'TP9'
    - `buyOutCost` string, decimal
  - `previousTargetPeriods` TargetPeriodBuyOutDetailsDTO[]
    - `id` integer
    - `businessId` 'TP5' | 'TP6' | 'TP7' | 'TP8' | 'TP9'
    - `buyOutCost` string, decimal

## Other responses

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

## Changes

- **2026-10-27** `2da910b8e923`: 2 breaking
  - the `currentTargetPeriods/items/buyOutCost` response's property type changed from `integer` to `string`, and format from `int32` to `decimal` for status `200`
  - the `previousTargetPeriods/items/buyOutCost` response's property type changed from `integer` to `string`, and format from `int32` to `decimal` for status `200`
- **2026-07-31** `f5f4d893b86b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/beis/apis/api-documentation/changes/v1.0/buy-out-surplus/run/available-target-periods/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)
