Batch or Transaction

Changed on

Executes a batch or transaction Bundle

post/fhir/R4

Request

  • Base URL
    https://api.medplum.com
  • URL
    https://api.medplum.com/fhir/R4
  • Auth
    • HTTP basic
    • or HTTP bearer
    • or OpenID Connect (https://api.medplum.com/.well-known/openid-configuration)
    • or OAuth 2
      Authorization code: https://api.medplum.com/oauth2/authorize
      Client credentials
      Token URL: https://api.medplum.com/oauth2/token

Request body

resourceTypestring required

This is a Bundle resource

idstring

Any combination of letters, numerals, "-" and ".", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive.

implicitRulesstring

String of characters used to identify a name or a resource

languagestring

A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents

type'document' | 'message' | 'transaction' | 'transaction-response' | 'batch' | 'batch-response' | 'history' | 'searchset' | 'collection'

Indicates the purpose of this bundle - how it is intended to be used.

timestampstring

An instant in time - known at least to the second

totalnumber

An integer with a value that is not negative (e.g. >= 0)

Response

Bundle of type batch-response or transaction-response

resourceTypestring required

This is a Bundle resource

idstring

Any combination of letters, numerals, "-" and ".", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive.

implicitRulesstring

String of characters used to identify a name or a resource

languagestring

A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents

type'document' | 'message' | 'transaction' | 'transaction-response' | 'batch' | 'batch-response' | 'history' | 'searchset' | 'collection'

Indicates the purpose of this bundle - how it is intended to be used.

timestampstring

An instant in time - known at least to the second

totalnumber

An integer with a value that is not negative (e.g. >= 0)

Changes

    • info

      added the optional property ////// to the response with the status

    • warning

      added the new archive enum value to the /////// response property for the response status