GET api/v2.0/Messaging/GetInboxMessage?messageKey={messageKey}
Retrieves the specified Mailbox Message
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
messageKey |
Key of the MailboxMessage to return |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Requested Mailbox Message
MailboxMessageName | Description | Type | Additional information |
---|---|---|---|
MessageKey | globally unique identifier |
None. |
|
FromContactKey | globally unique identifier |
None. |
|
SentOn | date |
None. |
|
Subject | string |
None. |
|
Message | string |
None. |
|
IsInSentBox | boolean |
None. |
|
IsRead | boolean |
None. |
|
FromFirstName | string |
None. |
|
FromLastName | string |
None. |
|
FromDisplayName | string |
None. |
|
LinkToSenderProfile | string |
None. |
|
ToContactKey | globally unique identifier |
None. |
|
ToFirstName | string |
None. |
|
ToLastName | string |
None. |
|
ToDisplayName | string |
None. |
|
LinkToRecipientProfile | string |
None. |
|
LinkToRecipientSmallImage | string |
None. |
|
LinkToRecipientLargeImage | string |
None. |
|
LinkToSenderSmallImage | string |
None. |
|
LinkToSenderLargeImage | string |
None. |
|
IsSenderCompany | boolean |
None. |
|
IsRecipientCompany | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "MessageKey": "9a2753cb-e021-4645-8ed6-5c7db80e4eaa", "FromContactKey": "84e59290-f54e-435f-ba85-2b0fb73f3323", "SentOn": "2024-12-14T12:11:39.2704859Z", "Subject": "sample string 4", "Message": "sample string 5", "IsInSentBox": true, "IsRead": true, "FromFirstName": "sample string 8", "FromLastName": "sample string 9", "FromDisplayName": "sample string 10", "LinkToSenderProfile": "sample string 11", "ToContactKey": "e2f48744-ff63-42d4-83b8-a4ec3e882d22", "ToFirstName": "sample string 13", "ToLastName": "sample string 14", "ToDisplayName": "sample string 15", "LinkToRecipientProfile": "sample string 16", "LinkToRecipientSmallImage": "sample string 17", "LinkToRecipientLargeImage": "sample string 18", "LinkToSenderSmallImage": "sample string 19", "LinkToSenderLargeImage": "sample string 20", "IsSenderCompany": true, "IsRecipientCompany": true }
application/xml, text/xml
Sample:
<MailboxMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise"> <FromContactKey>84e59290-f54e-435f-ba85-2b0fb73f3323</FromContactKey> <FromDisplayName>sample string 10</FromDisplayName> <FromFirstName>sample string 8</FromFirstName> <FromLastName>sample string 9</FromLastName> <IsInSentBox>true</IsInSentBox> <IsRead>true</IsRead> <IsRecipientCompany>true</IsRecipientCompany> <IsSenderCompany>true</IsSenderCompany> <LinkToRecipientLargeImage>sample string 18</LinkToRecipientLargeImage> <LinkToRecipientProfile>sample string 16</LinkToRecipientProfile> <LinkToRecipientSmallImage>sample string 17</LinkToRecipientSmallImage> <LinkToSenderLargeImage>sample string 20</LinkToSenderLargeImage> <LinkToSenderProfile>sample string 11</LinkToSenderProfile> <LinkToSenderSmallImage>sample string 19</LinkToSenderSmallImage> <Message>sample string 5</Message> <MessageKey>9a2753cb-e021-4645-8ed6-5c7db80e4eaa</MessageKey> <SentOn>2024-12-14T12:11:39.2704859Z</SentOn> <Subject>sample string 4</Subject> <ToContactKey>e2f48744-ff63-42d4-83b8-a4ec3e882d22</ToContactKey> <ToDisplayName>sample string 15</ToDisplayName> <ToFirstName>sample string 13</ToFirstName> <ToLastName>sample string 14</ToLastName> </MailboxMessage>