---
title: "findCaseGroupsByCollectionExerciseId"
method: GET
path: "/casegroups/cases/{collectionExerciseId}/all"
tags: ["case-group-endpoint"]
---

# findCaseGroupsByCollectionExerciseId

`GET /casegroups/cases/{collectionExerciseId}/all`

## Request

- Base URL: `https://localhost:8171`
- URL: `https://localhost:8171/casegroups/cases/{collectionExerciseId}/all`
- Auth: none declared

returns a count of casegroups with a given collection exercise id

## Path parameters

- `collectionExerciseId` string, required

## Response `200`

OK

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

## Changes

- **2021-09-15** `f3e10b66d15f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/office-of-national-statistics/apis/case-service-api/changes/casegroups/cases/:collectionExerciseId/all/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)
