GET example/api/MailMessageQueue?MailMessageId={MailMessageId}
https://app.bwz.se/bedrock/example/api/MailMessageQueue?MailMessageId={MailMessageId}
Gets all MailMessageQueueModels matching a given filter.
Request Information
URI Parameters
None.
Body Parameters
Gets or sets the mail message identifier. The mail message identifier.
MailMessageQueueFilterOptionsName | Description | Type | Additional information |
---|---|---|---|
MailMessageId |
Gets or sets the mail message identifier. |
integer |
Required |
Response Information
Resource Description
An array of MailMessageQueueModels.
Collection of MailMessageQueueModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets the id. |
integer |
None. |
HtmlContentId |
Gets or sets the HTML content id. |
integer |
None. |
TextContentId |
Gets or sets the text content id. |
integer |
None. |
MailMessageId |
Gets or sets the mail message id. |
integer |
None. |
Subject |
Gets or sets the subject. |
string |
None. |
FromName |
Gets or sets from name. |
string |
None. |
FromEmail |
Gets or sets from email. |
string |
None. |
ReplyToEmail |
Gets or sets the reply to email. |
string |
None. |
SendDate |
Gets or sets the send date. |
date |
None. |
SendStatus |
Gets or sets the send status. |
MailMessageQueueSendStatus |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "HtmlContentId": 2, "TextContentId": 3, "MailMessageId": 4, "Subject": "sample string 5", "FromName": "sample string 6", "FromEmail": "sample string 7", "ReplyToEmail": "sample string 8", "SendDate": "2024-11-21T17:51:03.0747323+01:00", "SendStatus": 0 }, { "Id": 1, "HtmlContentId": 2, "TextContentId": 3, "MailMessageId": 4, "Subject": "sample string 5", "FromName": "sample string 6", "FromEmail": "sample string 7", "ReplyToEmail": "sample string 8", "SendDate": "2024-11-21T17:51:03.0747323+01:00", "SendStatus": 0 } ]
application/xml, text/xml
Sample:
<ArrayOfMailMessageQueueModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailMessageQueue"> <MailMessageQueueModel> <FromEmail>sample string 7</FromEmail> <FromName>sample string 6</FromName> <HtmlContentId>2</HtmlContentId> <Id>1</Id> <MailMessageId>4</MailMessageId> <ReplyToEmail>sample string 8</ReplyToEmail> <SendDate>2024-11-21T17:51:03.0747323+01:00</SendDate> <SendStatus>NotStarted</SendStatus> <Subject>sample string 5</Subject> <TextContentId>3</TextContentId> </MailMessageQueueModel> <MailMessageQueueModel> <FromEmail>sample string 7</FromEmail> <FromName>sample string 6</FromName> <HtmlContentId>2</HtmlContentId> <Id>1</Id> <MailMessageId>4</MailMessageId> <ReplyToEmail>sample string 8</ReplyToEmail> <SendDate>2024-11-21T17:51:03.0747323+01:00</SendDate> <SendStatus>NotStarted</SendStatus> <Subject>sample string 5</Subject> <TextContentId>3</TextContentId> </MailMessageQueueModel> </ArrayOfMailMessageQueueModel>