POST example/api/mailmessage/{mailMessageId}/mailrecipientlists/included
https://app.bwz.se/bedrock/example/api/mailmessage/{mailMessageId}/mailrecipientlists/included
Adds MailRecipientLists to be included to a MailMessage.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
mailMessageId |
Id of the mail message to add lists to |
integer |
Required |
Body Parameters
IDs of the MailRecipientLists to add to the MailMessage.
AddMailRecipientListToMailMessageArgsName | Description | Type | Additional information |
---|---|---|---|
MailRecipientListIds |
IDs of the MailRecipientLists to add to the MailMessage. |
Collection of integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "MailRecipientListIds": [ 1, 2 ] }
application/xml, text/xml
Sample:
<AddMailRecipientListToMailMessageArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailMessage"> <MailRecipientListIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </MailRecipientListIds> </AddMailRecipientListToMailMessageArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
A bool to indicate success.
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>