---
title: "Returns a section by section id."
method: GET
path: "/api/Section/{sectionId}"
tags: ["Section"]
---

# Returns a section by section id.

`GET /api/Section/{sectionId}`

## Request

- Base URL: `https://erskinemay-api.parliament.uk` (the document declares no server; this is the origin it was published from)
- URL: `https://erskinemay-api.parliament.uk/api/Section/{sectionId}`
- Auth: none declared

## Path parameters

- `sectionId` integer, required

## Response `200`

Success

- ErskineMaySectionDetail
  - `id` integer
  - `title` string, nullable
  - `titleChain` string, nullable
  - `subSections` ErskineMaySectionOverview[], nullable
    - `id` integer
    - `title` string, nullable
    - `titleChain` string, nullable
    - `subSections` ErskineMaySectionOverview[], nullable
  - `parentSectionId` integer, nullable
  - `parentSectionTitle` string, nullable
  - `chapterNumber` integer
  - `chapterTitle` string, nullable
  - `partNumber` integer
  - `partTitle` string, nullable
  - `contentHtml` string, nullable
  - `isUpdated` boolean
  - `updatedDate` string, date-time, nullable
  - `footnotes` ErskineMayFootnote[], nullable
    - `number` string, nullable
    - `content` string, nullable

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/parliament/apis/erskine-may-api.md) - [All operations](https://skmtc.dev/parliament/apis/erskine-may-api/llms.txt) - [OpenAPI document](https://skmtc.dev/parliament/apis/erskine-may-api/revisions/8607265db448?raw)
