---
title: "Get existing sport report allocations (legacy GET /Reports/Sport/Allocations)"
method: GET
path: "/Reports/Sport/Allocations"
tags: ["Reports"]
---

# Get existing sport report allocations (legacy GET /Reports/Sport/Allocations)

`GET /Reports/Sport/Allocations`

**Requires permission:** *StaffMember*

Returns one allocation row per existing entry (staff + pupil) for the report + sport entry name, with names resolved against the canonical model. Port of the legacy v2 GetSportReportAllocations endpoint.

## Query parameters

- `reportId` integer, required
- `entryName` string, nullable

## Response `200`

Success - Got allocations

- GetSportReportAllocationsResponse
  - `allocations` SportReportAllocationRow[], nullable
    - `staff` SportStaffDto
      - `staffId` integer
      - `nameId` integer
      - `preferredName` string, nullable
      - `surname` string, nullable
      - `email` string, nullable
      - `staffUpi` string, guid, nullable
    - `pupils` SportPupilDto[]
      - `pupilId` integer
      - `nameId` integer
      - `preferredName` string, nullable
      - `surname` string, nullable

## Other responses

- `400` — An Error Occurred - Could not get allocations
- `401` — Unauthorized
- `403` — Forbidden

## Changes

- **2026-09-02** `36dba1c77613` — 4 breaking
  - the `allocations/items/pupils/items/nameId` response's property format changed from `int32` to `int64` for status `200`
  - the `allocations/items/pupils/items/pupilId` response's property format changed from `int32` to `int64` for status `200`
  - the `allocations/items/staff/oneOf[#/components/schemas/SportStaffDto]/nameId` response's property format changed from `int32` to `int64` for status `200`
  - the `allocations/items/staff/oneOf[#/components/schemas/SportStaffDto]/staffId` response's property format changed from `int32` to `int64` for status `200`

[Change history](https://skmtc.dev/tonbridge/apis/tonbridge-app-api/changes/Reports/Sport/Allocations/get.md)

---

[API](https://skmtc.dev/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.dev/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/revisions/36dba1c77613/schema)
