The Bundle resource is a container for a collection of resources and optionally additional info
The Bundle resource has a variety of different applications. Usage of bundles by different endpoints:
POST /Accepts bundles of certain types and executes REST requests contained in them. Returns bundles with
PUT /Bundle/<id>Accepts a bundle and saves it as a regular resource regardless of its type. Returns the saved resource.
GET /<resourceType>Searches for resources of specified resource type. Returns bundle of
GET /<resourceType>/<id>/_historySearches for previous versions of the specified resource or resource type Returns bundle of
Aidbox supports FHIR batch/transaction interaction, as well as some additional options to this endpoint.
Behavior of the endpoint depends on the
typeof a bundle resource provided in a request body.
transactionExecutes provided rest requests in a transaction. In case of an entry execution error the whole transaction is rolled back and the error is returned in the response. Returns
batchExecutes provided rest requests, execution doesn't stop on error, all results and errors are returned in the response. Returns
collectionWorks the same way as the
batchtype, but does
PUT /<resourceType>/<id>for each resource in entry. Returns