---
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

---

[API](https://skmtc.net/tonbridge/apis/tonbridge-app-api.md) · [All operations](https://skmtc.net/tonbridge/apis/tonbridge-app-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tonbridge/tonbridge-app-api/versions/28344aa564b4/schema)
