Method: messages.batchGet

Full name: projects.locations.datasets.hl7V2Stores.messages.batchGet

Gets multiple messages in the given HL7v2 store.

HTTP request

GET https://healthcare.googleapis.com/v1beta1/{parent=projects/*/locations/*/datasets/*/hl7V2Stores/*}/messages:batchGet

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Name of the HL7v2 store to retrieve messages from, in the format: projects/{projectId}/locations/{locationId}/datasets/{datasetId}/hl7v2Stores/{hl7v2_store_id}.

Authorization requires the following IAM permission on the specified resource parent:

  • healthcare.hl7V2Messages.get

Query parameters

Parameters
ids[]

string

The resource id of the HL7v2 messages to retrieve in the format: {message_id}, where the full resource name is {parent}/messages/{message_id}

A maximum of 100 messages can be retrieved in a batch.

All 'ids' have to be under parent.

view

enum(MessageView)

Specifies the parts of the Messages resource to return in the response. When unspecified, equivalent to BASIC.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Gets multiple messages in a specified HL7v2 store.

JSON representation
{
  "messages": [
    {
      object(Message)
    }
  ]
}
Fields
messages[]

object(Message)

The returned Messages. See MessageView for populated fields.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-healthcare
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.