---
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

> 58 revisions in range; 4 could not be searched.

- **2026-07-31** `c2ea482254d5` — 14 info
  - added the new optional request property `items/sequenceId`
  - added the new optional request property `items/seroConversion`
  - added the new `MUMPV_A` enum value to the request property `items/genoType`
  - added the new `MUMPV_B` enum value to the request property `items/genoType`
  - …10 more
- **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`

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