Reports

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

Changed on

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.

get/Reports/Sport/Allocations

Request

  • Base URL: https://api.tonbridge.school
  • URL: https://api.tonbridge.school/Reports/Sport/Allocations
  • Auth: HTTP bearer

Query parameters

reportIdinteger required
entryNamestring nullable

Response

Success - Got allocations

Changes

    • breaking

      the //// response's property format changed from int32 to int64 for status

    • breaking

      the //// response's property format changed from int32 to int64 for status

    • breaking

      the /////// response's property format changed from int32 to int64 for status

    • breaking

      the /////// response's property format changed from int32 to int64 for status