---
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-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
- **2026-07-03** `ab7c0f851f7e` — 22 breaking, 34 warning, 66 info
  - removed the enum value `BREAKPOINT_CATEGORICAL` of the request property `items/drugSusceptibility/amikacinMethod`
  - removed the enum value `BREAKPOINT_CATEGORICAL` of the request property `items/drugSusceptibility/ampicillinMethod`
  - removed the enum value `BREAKPOINT_CATEGORICAL` of the request property `items/drugSusceptibility/azithromycinMethod`
  - removed the enum value `BREAKPOINT_CATEGORICAL` of the request property `items/drugSusceptibility/bedaquilineMethod`
  - …118 more
- **2026-06-30** `eb4c91f188eb` — 1 info
  - added the new `RSV_SUBTYPING` enum value to the request property `items/testType`

[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/bd9d5fd9bada/schema)
