GET api/v2.0/Messaging/GetSentMessages?firstRecord={firstRecord}&maxRecords={maxRecords}

Retrieves Mailbox Messages sent by the current user.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
firstRecord

The index of the first Mailbox Message to retreive. Must be >= 0. If not included, the default value is 0.

integer

Default value is 0

maxRecords

The maximum records to return. Must be >= 1. If not included, the default value is 10.

integer

Default value is 50

Body Parameters

None.

Response Information

Resource Description

Collection of MailboxMessage
NameDescriptionTypeAdditional 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": "fc957e37-218c-4428-b028-2c1c36426832",
    "FromContactKey": "ac7d5f39-5cee-49c9-b1e6-a20b46ea3687",
    "SentOn": "2019-05-25T18:53:31.5072524Z",
    "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": "d977b82e-6d73-4b42-8cac-6068649559e6",
    "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
  },
  {
    "MessageKey": "fc957e37-218c-4428-b028-2c1c36426832",
    "FromContactKey": "ac7d5f39-5cee-49c9-b1e6-a20b46ea3687",
    "SentOn": "2019-05-25T18:53:31.5072524Z",
    "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": "d977b82e-6d73-4b42-8cac-6068649559e6",
    "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:
<ArrayOfMailboxMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HigherLogic.API.Models.Enterprise">
  <MailboxMessage>
    <FromContactKey>ac7d5f39-5cee-49c9-b1e6-a20b46ea3687</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>fc957e37-218c-4428-b028-2c1c36426832</MessageKey>
    <SentOn>2019-05-25T18:53:31.5072524Z</SentOn>
    <Subject>sample string 4</Subject>
    <ToContactKey>d977b82e-6d73-4b42-8cac-6068649559e6</ToContactKey>
    <ToDisplayName>sample string 15</ToDisplayName>
    <ToFirstName>sample string 13</ToFirstName>
    <ToLastName>sample string 14</ToLastName>
  </MailboxMessage>
  <MailboxMessage>
    <FromContactKey>ac7d5f39-5cee-49c9-b1e6-a20b46ea3687</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>fc957e37-218c-4428-b028-2c1c36426832</MessageKey>
    <SentOn>2019-05-25T18:53:31.5072524Z</SentOn>
    <Subject>sample string 4</Subject>
    <ToContactKey>d977b82e-6d73-4b42-8cac-6068649559e6</ToContactKey>
    <ToDisplayName>sample string 15</ToDisplayName>
    <ToFirstName>sample string 13</ToFirstName>
    <ToLastName>sample string 14</ToLastName>
  </MailboxMessage>
</ArrayOfMailboxMessage>