Skip to content

message.getMessageId

Signature: message.getMessageId()

Returns: Integer result - the QIE message ID for the message

Get the QIE message ID for the message.

Note

This method only applies to the following formatted messages: HL7, ASTM, Binary, CSV, DICOM, EDIFACT, Old Fxd Width, Fxd Length, ISO 8583, JSON, Text, X12, XML.

Parameters

None

Example

// Example: Retrieve the QIE message ID for the current message.

// Get the message ID
var messageId = message.getMessageId(); // Integer