Required. 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[[["\u003cp\u003eThis endpoint, \u003ccode\u003eprojects.locations.datasets.hl7V2Stores.messages.batchGet\u003c/code\u003e, is used to retrieve multiple messages from a specified HL7v2 store.\u003c/p\u003e\n"],["\u003cp\u003eThe request URL structure uses gRPC Transcoding, requiring a \u003ccode\u003eparent\u003c/code\u003e path parameter that includes the full path to the HL7v2 store.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify up to 100 message IDs (\u003ccode\u003eids[]\u003c/code\u003e) in the query parameters to retrieve, ensuring they are all within the specified \u003ccode\u003eparent\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eview\u003c/code\u003e query parameter allows customization of the data returned in the response, with a default of \u003ccode\u003eBASIC\u003c/code\u003e when unspecified.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful responses return an array of message objects within the \u003ccode\u003emessages[]\u003c/code\u003e field, and requires either \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-healthcare\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: messages.batchGet\n\n**Full name**: projects.locations.datasets.hl7V2Stores.messages.batchGet\n\nGets multiple messages in the given HL7v2 store.\n\n### HTTP request\n\n`GET https://healthcare.googleapis.com/v1beta1/{parent=projects/*/locations/*/datasets/*/hl7V2Stores/*}/messages:batchGet`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nGets multiple messages in a specified HL7v2 store.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-healthcare`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]