---
title: "Returns a list of written questions"
method: GET
path: "/api/writtenquestions/questions"
tags: ["WrittenQuestions"]
---

# Returns a list of written questions

`GET /api/writtenquestions/questions`

## Query parameters

- `askingMemberId` integer
- `answeringMemberId` integer
- `tabledWhenFrom` string, date-time
- `dateForAnswerWhenFrom` string, date-time
- `dateForAnswerWhenTo` string, date-time
- `tabledWhenTo` string, date-time
- `answered` 'Any' | 'Answered' | 'Unanswered'
- `answeredWhenFrom` string, date-time
- `answeredWhenTo` string, date-time
- `questionStatus` 'NotAnswered' | 'AnsweredOnly' | 'AllQuestions'
- `includeWithdrawn` boolean
- `expandMember` boolean
- `correctedWhenFrom` string, date-time
- `correctedWhenTo` string, date-time
- `sessionStatus` 'Current' | 'Any'
- `searchTerm` string
- `uIN` string
- `answeringBodies` integer[]
- `members` integer[]
- `house` 'Bicameral' | 'Commons' | 'Lords'
- `skip` integer
- `take` integer

## Response `200`

Success

- QuestionsViewModelSearchResult
  - `totalResults` integer
  - `results` QuestionsViewModelItem[], nullable
    - `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

---

[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)
