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

# Create or update one or multiple entities.

`POST /surveillancereports/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-04-07** `c409502e0543` — 4 info
  - added the new optional request property `items/treatmentNotApplicable`
  - added the new optional request property `items/treatmentStartDate`
  - added the new optional request property `items/treatmentStarted`
  - added the new `PHONE_NOTIFICATION` enum value to the request property `items/reportingType`
- **2024-06-05** `8fcd6fbef5e6` — 1 breaking, 3 warning
  - removed the enum value `PHONE_NOTIFICATION` of the request property `items/reportingType`
  - removed the request property `items/treatmentNotApplicable`
  - removed the request property `items/treatmentStartDate`
  - removed the request property `items/treatmentStarted`

[Change history](https://skmtc.dev/sormas-foundation/apis/sormas-rest-api/changes/surveillancereports/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/de257737a948/schema)
