GET {who}/Messages/{messageId}?language={language}&markAsRead={markAsRead}
Gets a specific message by its messageId.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
who | Who to retrieve messages for. Valid values are "my", or an organization number of an organization the user can represent, or <Reportee.ReporteeId>, where the identified reportee may be a person or organization. |
Define this parameter in the request URI. |
messageId | ID of the message to be retrieved |
Define this parameter in the request URI. |
language | Translation of messages retrieved, valid values are: 1033 (English), 1044 (Bokmal) and 2068 (Nynorsk) This is an optional parameter, defaults to the user preset language |
Define this parameter in the request URI. |
markAsRead | Whether correspondence should be marked as Read upon retrieval. This is an optional parameter, by default correspondences will have their status set to "Read" by this operation. If this parameter is submitted as "False", correspondences not will have their status set to "Read" by this operation. |
Define this parameter in the request URI. |
Response Information
Message with the given messageId
Response body formats
application/hal+xml
Sample:
Sample not available.
application/hal+json
Sample:
{ "MessageId": "sample string 74", "OriginalId": "sample string 77", "Subject": "sample string 63", "Status": "sample string 98", "MarkedUnread": true, "LastChangedDateTime": "2025-05-04T00:23:42.7943082+02:00", "CreatedDate": "2025-05-04T00:23:42.7943082+02:00", "LastChangedBy": "sample string 24", "ServiceOwner": "sample string 61", "Type": "sample string 34", "MessageSender": "sample string 26", "Summary": "sample string 91", "Body": "sample string 79", "ServiceCode": "sample string 64", "ServiceEdition": 16, "SignatureSpec": { "FormIds": [ 1, 2, 3 ], "AttachmentIds": [ 1, 2, 3 ] }, "DueDate": "2025-05-04T00:23:42.7948192+02:00", "AvailableAction": 0, "ArchiveReference": "sample string 83", "ReplyOptions": [ { "Type": "sample string 1", "URL": "sample string 4", "Text": "sample string 69" }, { "Type": "sample string 1", "URL": "sample string 4", "Text": "sample string 69" }, { "Type": "sample string 1", "URL": "sample string 4", "Text": "sample string 69" } ], "_links": { "self": { "href": "sample string 91" } } }