---
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-06-04** `be74155f01cb` — 20 info
  - added the new optional request property `items/drugSusceptibility/ampicillinMic`
  - added the new optional request property `items/drugSusceptibility/ampicillinSusceptibility`
  - added the new optional request property `items/drugSusceptibility/azithromycinMic`
  - added the new optional request property `items/drugSusceptibility/azithromycinSusceptibility`
  - …16 more
- **2026-06-01** `db5bb6e87739` — 77 info
  - added the new optional request property `items/drugSusceptibility/amikacinMethod`
  - added the new optional request property `items/drugSusceptibility/amikacinSurveillance`
  - added the new optional request property `items/drugSusceptibility/amikacinZoneDiameter`
  - added the new optional request property `items/drugSusceptibility/bedaquilineMethod`
  - …73 more
- **2026-05-19** `6671fb34a0a4` — 3 info
  - added the new `CGMLST` enum value to the request property `items/testType`
  - added the new `SEROTYPING` enum value to the request property `items/testType`
  - added the new `SNP_TYPING` enum value to the request property `items/testType`
- **2026-05-13** `ecb25b0812f3` — 1 breaking
  - removed the enum value `SHIGELLOSIS` of the request property `items/testedDisease`
- **2026-05-11** `a4d6c0ecfc78` — 1 info
  - added the new `SHIGELLOSIS` enum value to the request property `items/testedDisease`

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