---
title: "Lists IDs of excluded cases for a specified source"
method: GET
path: "/excludedCaseIds"
tags: ["Case"]
---

# Lists IDs of excluded cases for a specified source

`GET /excludedCaseIds`

## Request

- Base URL: `http://localhost:3001/api`
- URL: `http://localhost:3001/api/excludedCaseIds`
- Auth: none declared

## Query parameters

- `sourceId` string, required
- `dateFrom` string, date
- `dateTo` string, date

## Response `200`

OK

- CaseIdsArray
  - `cases` string[], required

## Other responses

- `400`: Malformed request
- `403`: Forbidden
- `422`: Unprocessable entity
- `500`: Internal server error

## Changes

- **2022-04-19** `7b73390be316`: 1 info
  - added the media type `application/json` for the response with the status `403`
- **2021-03-05** `3c824ebb2004`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api/changes/excludedCaseIds/get.md)

---

[API](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api.md) - [All operations](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/globaldothealth/apis/global-health-curator-service-api/revisions/5b1151265235?raw)
