---
title: "Get a student's entries for a report"
method: GET
path: "/reports/viewer/{nameId}/{reportId}/entries"
tags: ["Reports"]
---

# Get a student's entries for a report

`GET /reports/viewer/{nameId}/{reportId}/entries`

**Requires permissions:** *Guardian* or *Leaver* or *Parent* or *StaffMember* or *Student*

Returns the report entries for a single pupil in a report. Staff see all entries; a student/leaver sees only their own (published to students); a parent/guardian only their child's (published to parents). Leaver self-view is in the FR-019 in-scope set.

## Path parameters

- `nameId` integer, required
- `reportId` integer, required

## Response `200`

Success - Retrieved entries

- GetReportEntriesResponse
  - `entries` ReportEntryDto[]
    - `id` integer
    - `reportId` integer
    - `stepId` integer
    - `entryName` string, nullable
    - `reportText` string, nullable
    - `staffId` integer
    - `pupilNameId` integer
    - `pupilId` integer
    - `complete` boolean
    - `useGrades` boolean
    - `student` ReportStudentDto
      - `nameId` integer
      - `pupilId` integer
      - `preferredName` string, nullable
      - `surname` string, nullable
      - `studentUpi` string, guid, nullable
      - `emailAddress` string, nullable
      - `photo` string, nullable
    - `grades` ReportMarkGrades[], nullable
      - `id` integer
      - `entryId` integer
      - `fieldId` integer
      - `displayName` string, nullable
      - `value` string, nullable
      - `type` string, nullable
      - `assessment` boolean
      - `field` ReportMarkGradesFields
        - `name` string, nullable
        - `hidden` boolean
        - `stepId` integer
        - `options` ReportMarkGradesFieldsOptions[]
          - `id` integer
          - `fieldId` integer
          - `displayName` string, nullable
          - `value` string, nullable
          - `tempId` string, nullable
          - `allowText` boolean
        - `tempId` string, nullable
        - `saving` boolean
      - `open` boolean
    - `staffName` string, nullable
    - `published` string, date-time, nullable
    - `subject` string, nullable
    - `reportPlainText` string, nullable
    - `reportName` string, nullable
    - `order` integer
    - `stepNumber` integer
    - `reportOrder` integer, nullable
    - `reportHidden` boolean
    - `hidden` boolean
    - `aiCorrected` boolean
    - `originalText` string, nullable
    - `aiNotUsed` boolean

## Other responses

- `400` — An Error Occurred - Could not get entries
- `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)
