---
title: "Get sanctions user bootstrap"
method: GET
path: "/sanctions/user"
tags: ["Sanctions"]
---

# Get sanctions user bootstrap

`GET /sanctions/user`

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

## Response `200`

Success - user bootstrap returned

- GetSanctionUserResponse
  - `permissionNameDisplayName` object
  - `userSanctionTypes` object
  - `creationPageListLoadFlags` integer
  - `filterListLoadFlags` integer
  - `adminPermissionFlags` integer
  - `createSanctionTypes` SanctionTypeDto[], nullable
    - `id` integer, nullable
    - `order` integer
    - `value` string, nullable
    - `code` string, nullable
    - `cc` string, nullable
    - `messageBody` string, nullable
    - `messageSubject` string, nullable
    - `startTime` string, nullable
    - `endTime` string, nullable
    - `schoolSanction` boolean
    - `houseSanction` boolean
    - `boarderSanction` boolean
    - `daySanction` boolean
    - `createPermission` boolean
    - `editPermissions` integer
  - `createSubjects` SanctionSubjectDto[]
    - `subjectId` integer, nullable
    - `code` string, nullable
    - `description` string, nullable
    - `category` string, nullable
    - `tutor` string, nullable
    - `department` string, nullable
    - `schoolReportPosition` integer, nullable
  - `createHouses` HouseDto[]
    - `code` string, nullable
    - `description` string, nullable
    - `id` integer, nullable
    - `inUseString` string, nullable
    - `academicType` string, nullable
    - `location` string, nullable
    - `addressId` integer, nullable
    - `telephone` string, nullable
    - `housemaster` string, nullable
    - `housemasterTelephone` string, nullable
    - `matron` string, nullable
    - `matronTelephone` string, nullable
    - `order` integer, nullable
  - `filterSanctionTypes` SanctionTypeDto[]
    - `id` integer, nullable
    - `order` integer
    - `value` string, nullable
    - `code` string, nullable
    - `cc` string, nullable
    - `messageBody` string, nullable
    - `messageSubject` string, nullable
    - `startTime` string, nullable
    - `endTime` string, nullable
    - `schoolSanction` boolean
    - `houseSanction` boolean
    - `boarderSanction` boolean
    - `daySanction` boolean
    - `createPermission` boolean
    - `editPermissions` integer
  - `filterSubjects` SanctionSubjectDto[]
    - `subjectId` integer, nullable
    - `code` string, nullable
    - `description` string, nullable
    - `category` string, nullable
    - `tutor` string, nullable
    - `department` string, nullable
    - `schoolReportPosition` integer, nullable
  - `userHouses` HouseDto[], nullable
    - `code` string, nullable
    - `description` string, nullable
    - `id` integer, nullable
    - `inUseString` string, nullable
    - `academicType` string, nullable
    - `location` string, nullable
    - `addressId` integer, nullable
    - `telephone` string, nullable
    - `housemaster` string, nullable
    - `housemasterTelephone` string, nullable
    - `matron` string, nullable
    - `matronTelephone` string, nullable
    - `order` integer, nullable
  - `userSubjects` SanctionSubjectDto[], nullable
    - `subjectId` integer, nullable
    - `code` string, nullable
    - `description` string, nullable
    - `category` string, nullable
    - `tutor` string, nullable
    - `department` string, nullable
    - `schoolReportPosition` integer, nullable
  - `filterHouses` HouseDto[]
    - `code` string, nullable
    - `description` string, nullable
    - `id` integer, nullable
    - `inUseString` string, nullable
    - `academicType` string, nullable
    - `location` string, nullable
    - `addressId` integer, nullable
    - `telephone` string, nullable
    - `housemaster` string, nullable
    - `housemasterTelephone` string, nullable
    - `matron` string, nullable
    - `matronTelephone` string, nullable
    - `order` integer, nullable
  - `associatedSubjectIds` integer[], nullable
  - `associatedHouseCodes` string[], nullable
  - `staffCode` string, nullable
  - `nameId` integer, nullable

## Other responses

- `401` — Unauthorized
- `403` — Caller has no resolvable staff record

---

[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/fab57bf5558a/schema)
