POST example/api/MailRecipientList/{id}
https://app.bwz.se/bedrock/example/api/MailRecipientList/{id}
Adds MailRecipients to a MailRecipientList.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id of the MailRecipientList. |
integer |
Required |
Body Parameters
Ids of the MailRecipients to add to the MailRecipientList.
AddMailRecipientsArgsName | Description | Type | Additional information |
---|---|---|---|
MailRecipientIds |
Ids of the MailRecipients to add to the MailRecipientList. |
Collection of integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "MailRecipientIds": [ 1, 2 ] }
application/xml, text/xml
Sample:
<AddMailRecipientsArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailRecipientList"> <MailRecipientIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </MailRecipientIds> </AddMailRecipientsArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Number of added recipients.
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>