---
title: "Create or update one or multiple entities."
method: POST
path: "/cases/push"
tags: ["Case Controller"]
---

# Create or update one or multiple entities.

`POST /cases/push`

A uuid will be generated for any entity that doesn't have one yet. Posting entities without uuid multiple times will also create them multiple times.

## Response `207`

Array of responses, matching the posted array of entities. Provides an HTML status code for every entity and an optional body (e.g. a string with an error message).

- PostResponse[]
  - `body` object
  - `statusCode` integer

## Other responses

- `default` — When the request body has one or no entry. The status code of the response entry matches the response code and may have an optional body (e.g. a string with an error message).

## Changes

- **2026-05-20** `62c4366b7b38` — 1 breaking
  - the request property `items/epiData/exposures/items/exposureType` became required
- **2026-05-19** `6671fb34a0a4` — 2 warning, 1 info
  - removed the request property `items/epiData/exposures/items/eatingOutVenueOther`
  - removed the request property `items/epiData/exposures/items/eatingOutVenues`
  - the request property `items/epiData/exposures/items/exposureType` became optional
- **2026-05-18** `eebd2be3db5c` — 1 breaking
  - the request property `items/epiData/exposures/items/exposureType` became required
- **2026-05-13** `a2e49593b571` — 6 info
  - added the new optional request property `items/symptoms/abdominalCramps`
  - added the new optional request property `items/symptoms/coughingAtNight`
  - added the new optional request property `items/symptoms/coughingAttacks`
  - added the new optional request property `items/symptoms/flatulence`
  - …2 more
- **2026-05-13** `ecb25b0812f3` — 1 breaking
  - removed the enum value `SHIGELLOSIS` of the request property `items/disease`

[Full history](https://skmtc.dev/sormas-foundation/apis/sormas-rest-api/changes/cases/push/post.md)

---

[API](https://skmtc.dev/sormas-foundation/apis/sormas-rest-api.md) · [All operations](https://skmtc.dev/sormas-foundation/apis/sormas-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sormas-foundation/sormas-rest-api/revisions/db5bb6e87739/schema)
