---
title: "get RU details by party_id and survey_id with query limit"
method: GET
path: "/casegroups/partyid/{party_id}/surveyid/{survey_id}"
tags: ["case-group-endpoint"]
---

# get RU details by party_id and survey_id with query limit

`GET /casegroups/partyid/{party_id}/surveyid/{survey_id}`

## Request

- Base URL: `https://localhost:8171`
- URL: `https://localhost:8171/casegroups/partyid/{party_id}/surveyid/{survey_id}`
- Auth: none declared

returns a list of ru details based on party_id and survey_id

## Path parameters

- `party_id` string, required
- `survey_id` string, required

## Query parameters

- `limit` integer, required

## Response `200`

OK

- ReportingUnitCaseDTO[]
  - `collectionExerciseId` string
  - `caseGroupStatus` 'NOTSTARTED' | 'INPROGRESS' | 'COMPLETE' | 'COMPLETEDBYPHONE' | 'REOPENED' | 'NOLONGERREQUIRED' | 'REFUSAL' | 'OTHERNONRESPONSE' | 'UNKNOWNELIGIBILITY' | 'NOTELIGIBLE'
  - `caseId` string
  - `createdDateTime` string
  - `iac` string

## Other responses

- `204`: No Content

## Changes

- **2025-11-05** `dcc0c657a75b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/office-of-national-statistics/apis/case-service-api/changes/casegroups/partyid/:party_id/surveyid/:survey_id/get.md)

---

[API](https://skmtc.dev/office-of-national-statistics/apis/case-service-api.md) - [All operations](https://skmtc.dev/office-of-national-statistics/apis/case-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/office-of-national-statistics/apis/case-service-api/revisions/6523753b5522?raw)
