PUT example/api/mailrecipientlist/removemailrecipients/{id}
https://app.bwz.se/bedrock/example/api/mailrecipientlist/removemailrecipients/{id}
Removes MailRecipients from 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 remove from the MailRecipientList.
RemoveMailRecipientsArgsName | Description | Type | Additional information |
---|---|---|---|
MailRecipientIds |
Ids of the MailRecipients to remove from the MailRecipientList. |
Collection of integer |
Required |
Request Formats
application/json, text/json
Sample:
{ "MailRecipientIds": [ 1, 2 ] }
application/xml, text/xml
Sample:
<RemoveMailRecipientsArgs 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> </RemoveMailRecipientsArgs>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Number of recipients in the list after removal
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>