---
title: "Changes to Batch updates cases that match the query property"
method: POST
path: "/cases/batchUpdateQuery"
---

# Changes to Batch updates cases that match the query property

`POST /cases/batchUpdateQuery`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 23 of 70 revisions.

- **2026-07-17** `886deae8a6f9`: 2 info
- **2022-04-29** `e11f54229b64`: 2 warning
- **2022-01-14** `1619bcaae2df`: 2 breaking, 2 warning
- **2022-01-06** `875e892119b9`: 1 info
- **2021-10-13** `10817d9f027f`: 1 breaking, 8 warning, 3 info
- **2021-09-30** `cc928775a6cd`: 1 info
- **2021-07-23** `9ccd147a4041`: 1 info
- **2021-06-08** `ada64414e2a1`: 1 breaking, 1 warning, 8 info
- **2021-06-08** `7453480b119d`: 8 breaking, 1 info
- **2021-03-25** `fa0c80f3026a`: 2 breaking, 8 info
- **2021-03-25** `b7fec0c0a304`: 1 breaking, 9 warning, 1 info
- **2021-02-04** `894104a9ac72`: 1 info
- **2020-12-11** `0539b5bd93f9`: 1 info
- **2020-09-24** `c6971ce94867`: 2 info
- **2020-09-17** `155e084b2859`: 2 warning
- **2020-09-17** `8e843a4b126e`: 2 info
- **2020-09-09** `edb0b8a12ad4`: 1 warning, 1 info
- **2020-09-09** `cff6bdb3c25c`: 1 warning, 1 info
- **2020-09-08** `46a561a92386`: 1 warning, 1 info
- **2020-08-28** `ae5e11151c5d`: 1 info
- **2020-08-28** `97da90099900`: 1 breaking
- **2020-08-28** `8af652dbe16a`: 1 warning
- **2020-08-28** `b668b6d8cd7b`: 1 info

## Changes

- **2026-07-17** `886deae8a6f9`: 2 info
  - added the media type `application/json` for the response with the status `400`
  - added the media type `application/json` for the response with the status `422`
- **2022-04-29** `e11f54229b64`: 2 warning
  - removed the request property `case/notes`
  - removed the request property `case/restrictedNotes`
- **2022-01-14** `1619bcaae2df`: 2 breaking, 2 warning
  - the `case/location/country` request property's minLength was increased from `0` to `2`
  - the `case/travelHistory/travel/items/location/country` request property's minLength was increased from `0` to `2`
  - the `case/location/country` request property's maxLength was set to `2`
  - the `case/travelHistory/travel/items/location/country` request property's maxLength was set to `2`
- **2022-01-06** `875e892119b9`: 1 info
  - added the new optional request property `case/SGTF`
- **2021-10-13** `10817d9f027f`: 1 breaking, 8 warning, 3 info
  - the `case/vaccines/items/` request property type changed from `object` to no type
  - removed the request property `case/vaccines/items/administrativeAreaLevel1`
  - removed the request property `case/vaccines/items/administrativeAreaLevel2`
  - removed the request property `case/vaccines/items/administrativeAreaLevel3`
  - removed the request property `case/vaccines/items/country`
  - removed the request property `case/vaccines/items/geoResolution`
  - removed the request property `case/vaccines/items/geometry`
  - removed the request property `case/vaccines/items/place`
  - removed the request property `case/vaccines/items/query`
  - added the new optional request property `case/vaccines/items/batch`
  - added the new optional request property `case/vaccines/items/date`
  - added the new optional request property `case/vaccines/items/sideEffects`
- **2021-09-30** `cc928775a6cd`: 1 info
  - added the new optional request property `case/vaccines`
- **2021-07-23** `9ccd147a4041`: 1 info
  - added the new optional request property `case/restrictedNotes`
- **2021-06-08** `ada64414e2a1`: 1 breaking, 1 warning, 8 info
  - request property `case/travelHistory/travel/items/location/geoResolution` was restricted to a list of enum values
  - removed the request property `case/travelHistory/travel/items/location/query`
  - the request property `case/travelHistory/travel/items/location/geometry/latitude` became optional
  - the request property `case/travelHistory/travel/items/location/geometry/longitude` became optional
  - added the new `Admin1` enum value to the request property `case/travelHistory/travel/items/location/geoResolution`
  - added the new `Admin2` enum value to the request property `case/travelHistory/travel/items/location/geoResolution`
  - added the new `Admin3` enum value to the request property `case/travelHistory/travel/items/location/geoResolution`
  - added the new `Country` enum value to the request property `case/travelHistory/travel/items/location/geoResolution`
  - added the new `Point` enum value to the request property `case/travelHistory/travel/items/location/geoResolution`
  - added the new `undefined` enum value to the request property `case/travelHistory/travel/items/location/geoResolution`
- **2021-06-08** `7453480b119d`: 8 breaking, 1 info
  - the request property `case/travelHistory/travel/items/location/geometry/latitude` became required
  - the request property `case/travelHistory/travel/items/location/geometry/longitude` became required
  - removed the enum value `Admin1` of the request property `case/travelHistory/travel/items/location/geoResolution`
  - removed the enum value `Admin2` of the request property `case/travelHistory/travel/items/location/geoResolution`
  - removed the enum value `Admin3` of the request property `case/travelHistory/travel/items/location/geoResolution`
  - removed the enum value `Country` of the request property `case/travelHistory/travel/items/location/geoResolution`
  - removed the enum value `Point` of the request property `case/travelHistory/travel/items/location/geoResolution`
  - removed the enum value `undefined` of the request property `case/travelHistory/travel/items/location/geoResolution`
  - added the new optional request property `case/travelHistory/travel/items/location/query`
- **2021-03-25** `fa0c80f3026a`: 2 breaking, 8 info
  - removed `#/components/schemas/Location, subschema #2` from the `case/travelHistory/travel/items/location` request property `oneOf` list
  - the `case/travelHistory/travel/items/location` request property type changed from no type to `object`
  - added the new optional request property `case/travelHistory/travel/items/location/administrativeAreaLevel1`
  - added the new optional request property `case/travelHistory/travel/items/location/administrativeAreaLevel2`
  - added the new optional request property `case/travelHistory/travel/items/location/administrativeAreaLevel3`
  - added the new optional request property `case/travelHistory/travel/items/location/country`
  - added the new optional request property `case/travelHistory/travel/items/location/geoResolution`
  - added the new optional request property `case/travelHistory/travel/items/location/geometry`
  - added the new optional request property `case/travelHistory/travel/items/location/name`
  - added the new optional request property `case/travelHistory/travel/items/location/place`
- **2021-03-25** `b7fec0c0a304`: 1 breaking, 9 warning, 1 info
  - the `case/travelHistory/travel/items/location` request property type changed from `object` to no type
  - removed the request property `case/travelHistory/travel/items/location/administrativeAreaLevel1`
  - removed the request property `case/travelHistory/travel/items/location/administrativeAreaLevel2`
  - removed the request property `case/travelHistory/travel/items/location/administrativeAreaLevel3`
  - removed the request property `case/travelHistory/travel/items/location/country`
  - removed the request property `case/travelHistory/travel/items/location/geoResolution`
  - removed the request property `case/travelHistory/travel/items/location/geometry`
  - removed the request property `case/travelHistory/travel/items/location/name`
  - removed the request property `case/travelHistory/travel/items/location/place`
  - removed the request property `case/travelHistory/travel/items/location/query`
  - added `#/components/schemas/Location, subschema #2` to the `case/travelHistory/travel/items/location` request property `oneOf` list
- **2021-02-04** `894104a9ac72`: 1 info
  - added the new optional request property `case/variant`
- **2020-12-11** `0539b5bd93f9`: 1 info
  - added the new `EXCLUDED` enum value to the request property `case/caseReference/verificationStatus`
- **2020-09-24** `c6971ce94867`: 2 info
  - added the new optional request property `case/location/query`
  - added the new optional request property `case/travelHistory/travel/items/location/query`
- **2020-09-17** `155e084b2859`: 2 warning
  - removed the request property `case/location/query`
  - removed the request property `case/travelHistory/travel/items/location/query`
- **2020-09-17** `8e843a4b126e`: 2 info
  - added the new optional request property `case/location/query`
  - added the new optional request property `case/travelHistory/travel/items/location/query`
- **2020-09-09** `edb0b8a12ad4`: 1 warning, 1 info
  - removed the request property `case/caseReference/uploadId`
  - added the new optional request property `case/caseReference/uploadIds`
- **2020-09-09** `cff6bdb3c25c`: 1 warning, 1 info
  - removed the request property `case/caseReference/uploadIds`
  - added the new optional request property `case/caseReference/uploadId`
- **2020-09-08** `46a561a92386`: 1 warning, 1 info
  - removed the request property `case/caseReference/uploadId`
  - added the new optional request property `case/caseReference/uploadIds`
- **2020-08-28** `ae5e11151c5d`: 1 info
  - endpoint added
- **2020-08-28** `97da90099900`: 1 breaking
  - api path removed without deprecation
- **2020-08-28** `8af652dbe16a`: 1 warning
  - changed the pattern of the request property `query` from `^(?!\s*$).+` to `\S+`
- **2020-08-28** `b668b6d8cd7b`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/globaldothealth/apis/global-health-data-service/docs/cases/batchUpdateQuery/post.md) - [API](https://skmtc.dev/globaldothealth/apis/global-health-data-service.md) - [Page](https://skmtc.dev/globaldothealth/apis/global-health-data-service/changes/cases/batchUpdateQuery/post)
