---
title: "Returns current state of parties"
method: GET
path: "/api/Parties/StateOfTheParties/{house}/{forDate}"
tags: ["Parties"]
---

# Returns current state of parties

`GET /api/Parties/StateOfTheParties/{house}/{forDate}`

## Path parameters

- `house` 1 | 2, required
- `forDate` string, date-time, required

## Response `200`

OK

- PartySeatCountMembersServiceSearchResult
  - `items` PartySeatCountItem[], nullable
    - `value` PartySeatCount
      - `male` integer, nullable
      - `female` integer, nullable
      - `nonBinary` integer, nullable
      - `total` integer
      - `party` Party
        - `id` integer
        - `name` string, nullable
        - `abbreviation` string, nullable
        - `backgroundColour` string, nullable
        - `foregroundColour` string, nullable
        - `isLordsMainParty` boolean
        - `isLordsSpiritualParty` boolean
        - `governmentType` 0 | 1 | 2 | 3
        - `isIndependentParty` boolean
    - `links` Link[], nullable
      - `rel` string, nullable
      - `href` string, nullable
      - `method` string, nullable
  - `totalResults` integer
  - `resultContext` string, nullable
  - `skip` integer
  - `take` integer
  - `links` Link[], nullable
    - `rel` string, nullable
    - `href` string, nullable
    - `method` string, nullable
  - `resultType` 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.dev/parliament/apis/members-api.md) · [All operations](https://skmtc.dev/parliament/apis/members-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/parliament/members-api/revisions/26f2e69c0d24/schema)
