---
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-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`
- **2026-06-29** `966a249e755f` — 1 warning
  - removed the request property `items/resultDetails`
- **2026-06-19** `07a68b56826c` — 1 warning, 1 info
  - removed the request property `items/quantitativeText`
  - added the new `DIRECT_MICROSCOPY` enum value to the request property `items/testType`
- **2026-06-18** `9fc1e123f81f` — 1 breaking, 5 info
  - removed the enum value `MIC_DETERMINATION` of the request property `items/seroTypingMethod`
  - added the new optional request property `items/drugSusceptibility/ampicillinMethod`
  - added the new optional request property `items/drugSusceptibility/azithromycinMethod`
  - added the new optional request property `items/drugSusceptibility/cefotaximeMethod`
  - …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/19559beee8ca/schema)
