---
title: "Get subject sets (optionally by year group)"
method: GET
path: "/SubjectSets"
tags: ["Subjectsets"]
---

# Get subject sets (optionally by year group)

`GET /SubjectSets`

**Requires permission:** *StaffMember*

All in-use subject sets, optionally filtered to a year group. Rebuilt from the canonical Class model. Serves both /SubjectSets (with ?Year=) and /subjectsets (all).

## Query parameters

- `year` integer, nullable

## Response `200`

Success - Got subject sets

- GetSubjectSetsLookupResponse
  - `sets` SubjectSetDto[], nullable
    - `academicYear` integer
    - `id` integer
    - `subject` string, nullable
    - `code` string, nullable
    - `description` string, nullable
    - `inUse` boolean
    - `setCode` string, nullable
    - `codeOnly` string, nullable
    - `room` string, nullable
    - `category` string, nullable
    - `subjectDescription` string, nullable
    - `tutor1` string, nullable
    - `tutor2` string, nullable
    - `tutor3` string, nullable
    - `tutor1SchoolReports` boolean
    - `tutor2SchoolReports` boolean
    - `tutor3SchoolReports` boolean
    - `tutor1Staff` StaffLite
      - `code` string, nullable
      - `preferredName` string, nullable
      - `surname` string, nullable
      - `email` string, nullable
      - `staffId` integer, nullable
    - `tutor2Staff` StaffLite
      - `code` string, nullable
      - `preferredName` string, nullable
      - `surname` string, nullable
      - `email` string, nullable
      - `staffId` integer, nullable
    - `tutor3Staff` StaffLite
      - `code` string, nullable
      - `preferredName` string, nullable
      - `surname` string, nullable
      - `email` string, nullable
      - `staffId` integer, nullable

## Other responses

- `400` — An Error Occurred - Could not get subject sets
- `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/fab57bf5558a/schema)
