Reports

Create or update sport report allocations (legacy POST /reports/Sport)

Changed on

Requires permission: StaffMember

For the report's first step, upserts one entry per (staff, pupil) pair in the supplied rows for the given sport entry name. Port of the legacy v2 PostCreateSportReports endpoint.

post/reports/Sport

Request

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

Request body

reportIdinteger
entryNamestring nullable

Response

Success - Entries created

Changes

    • info

      the //// request property format was generalized from int32 to int64

    • info

      the //// request property format was generalized from int32 to int64

    • info

      the /////// request property format was generalized from int32 to int64

    • info

      the /////// request property format was generalized from int32 to int64