---
title: "Returns a written question"
method: GET
path: "/api/writtenquestions/questions/{date}/{uin}"
tags: ["WrittenQuestions"]
---

# Returns a written question

`GET /api/writtenquestions/questions/{date}/{uin}`

## Path parameters

- `date` string, date-time, required
- `uin` string, required

## Query parameters

- `expandMember` boolean
- `sessionStatus` 'Current' | 'Any'

## Response `200`

Success

- QuestionsViewModelItem
  - `value` QuestionsViewModel
    - `id` integer
    - `askingMemberId` integer
    - `askingMember` MemberViewModel
      - `id` integer
      - `listAs` string, nullable
      - `name` string, nullable
      - `party` string, nullable
      - `partyColour` string, nullable
      - `partyAbbreviation` string, nullable
      - `memberFrom` string, nullable
      - `thumbnailUrl` string, nullable
    - `house` 'Bicameral' | 'Commons' | 'Lords'
    - `memberHasInterest` boolean
    - `dateTabled` string, date-time
    - `dateForAnswer` string, date-time
    - `uin` string, nullable
    - `questionText` string, nullable
    - `answeringBodyId` integer
    - `answeringBodyName` string, nullable
    - `isWithdrawn` boolean
    - `isNamedDay` boolean
    - `groupedQuestions` string[], nullable
    - `answerIsHolding` boolean, nullable
    - `answerIsCorrection` boolean, nullable
    - `answeringMemberId` integer, nullable
    - `answeringMember` MemberViewModel
      - `id` integer
      - `listAs` string, nullable
      - `name` string, nullable
      - `party` string, nullable
      - `partyColour` string, nullable
      - `partyAbbreviation` string, nullable
      - `memberFrom` string, nullable
      - `thumbnailUrl` string, nullable
    - `correctingMemberId` integer, nullable
    - `correctingMember` MemberViewModel
      - `id` integer
      - `listAs` string, nullable
      - `name` string, nullable
      - `party` string, nullable
      - `partyColour` string, nullable
      - `partyAbbreviation` string, nullable
      - `memberFrom` string, nullable
      - `thumbnailUrl` string, nullable
    - `dateAnswered` string, date-time, nullable
    - `answerText` string, nullable
    - `originalAnswerText` string, nullable
    - `comparableAnswerText` string, nullable
    - `dateAnswerCorrected` string, date-time, nullable
    - `dateHoldingAnswer` string, date-time, nullable
    - `attachmentCount` integer
    - `heading` string, nullable
    - `attachments` AttachmentViewModel[], nullable
      - `url` string, nullable
      - `title` string, nullable
      - `fileType` string, nullable
      - `fileSizeBytes` integer
    - `groupedQuestionsDates` GroupedQuestionViewModel[], nullable
      - `questionUin` string, nullable
      - `dateTabled` string, date-time
  - `links` Link[], nullable
    - `rel` string, nullable
    - `href` string, nullable
    - `method` string, nullable

## Other responses

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

---

[API](https://skmtc.net/parliament/apis/written-questions-service-api.md) · [All operations](https://skmtc.net/parliament/apis/written-questions-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/parliament/written-questions-service-api/versions/2c3586802bdc/schema)
