GET {who}/Messages/{messageId}?language={language}

Gets a specific message by its messageId.

Request Information

Parameters

NameDescriptionAdditional 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.

Response Information

Message with the given messageId

Response body formats

application/hal+xml

Sample:

Sample not available.

application/hal+json

Sample:
{
  "MessageId": "sample string 18",
  "OriginalId": "sample string 9",
  "Subject": "sample string 78",
  "Status": "sample string 10",
  "MarkedUnread": true,
  "LastChangedDateTime": "2021-10-03T12:41:11.5593047+02:00",
  "CreatedDate": "2021-10-03T12:41:11.5593047+02:00",
  "LastChangedBy": "sample string 53",
  "ServiceOwner": "sample string 67",
  "Type": "sample string 60",
  "MessageSender": "sample string 79",
  "Summary": "sample string 63",
  "Body": "sample string 77",
  "ServiceCode": "sample string 40",
  "ServiceEdition": 16,
  "SignatureSpec": {
    "FormIds": [
      1,
      2,
      3
    ],
    "AttachmentIds": [
      1,
      2,
      3
    ]
  },
  "DueDate": "2021-10-03T12:41:11.5593047+02:00",
  "AvailableAction": 0,
  "ArchiveReference": "sample string 5",
  "ReplyOptions": [
    {
      "Type": "sample string 82",
      "URL": "sample string 57",
      "Text": "sample string 51"
    },
    {
      "Type": "sample string 82",
      "URL": "sample string 57",
      "Text": "sample string 51"
    },
    {
      "Type": "sample string 82",
      "URL": "sample string 57",
      "Text": "sample string 51"
    }
  ]
}