Sanctions

Get sanctions user bootstrap

Changed on

Requires permission: SanctionsAccess

The create/filter bootstrap for the calling user: their permission rows, accessible houses and subjects, and the create/filter/admin flags that drive the sanctions screens.

get/sanctions/user

Request

  • Base URL: https://api.tonbridge.school
  • URL: https://api.tonbridge.school/sanctions/user
  • Auth: HTTP bearer

Response

Success - user bootstrap returned

permissionNameDisplayNameobject
userSanctionTypesobject
creationPageListLoadFlagsinteger
filterListLoadFlagsinteger
adminPermissionFlagsinteger
associatedSubjectIdsinteger[] nullable
associatedHouseCodesstring[] nullable
staffCodestring nullable
nameIdinteger nullable

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