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

# Create or update one or multiple entities.

`POST /pathogentests/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-07-30** `2fcf2b3dfea9` — 1 info
  - added the new `MUMPS` enum value to the request property `items/testedDisease`
- **2026-07-30** `e171ccbb3458` — 3 info
  - added the new `YERSINIA_ENTEROCOLITICA` enum value to the request property `items/specie`
  - added the new `YERSINIA_PSEUDOTUBERCULOSIS` enum value to the request property `items/specie`
  - added the new `YERSINIA_SPP` enum value to the request property `items/specie`
- **2026-07-28** `bd9d5fd9bada` — 1 info
  - added the new `YERSINIOSIS` enum value to the request property `items/testedDisease`
- **2026-07-17** `a9d18e50a43f` — 1 info
  - added the new `SYPHILIS` enum value to the request property `items/testedDisease`
- **2026-07-10** `d5e6aa922448` — 6 breaking
  - removed the enum value `ANTIGEN_DETECTION` of the request property `items/testType`
  - removed the enum value `DIRECT_MICROSCOPY` of the request property `items/testType`
  - removed the enum value `RAPID_ANTIBODY_TEST` of the request property `items/testType`
  - removed the enum value `RAPID_ANTIGEN_DETECTION` of the request property `items/testType`
  - …2 more

[Full history](https://skmtc.dev/sormas-foundation/apis/sormas-rest-api/changes/pathogentests/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/2fcf2b3dfea9/schema)
