GET api/HLMonitor/GetMessageDataById?messageId={messageId}

Retrieves the message data by message ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
messageId

The ID of the message.

string

Required

Body Parameters

None.

Response Information

Resource Description

A JSON string containing the message data corresponding to the specified ID.

string

Response Formats

application/json, text/json

Sample:

    {
      "Id": 1234,
      "Subject": "Sample Subject",
      "Body": "Sample Message Body",
      "HtmlBody": "<HTML> </HTML>",
      "SentDate": "2023-01-19T08:36:20.07",
      "ReceivedDate": "2023-01-19T08:36:20.07",
      "SenderName": "Adam Smith",
      "SenderEmailAddress": "Adam.Smith@example.com",
      "MarkedAsTax": false,
      "Status": "Message Status"
    }

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>