POST example/api/mailrecipient/delete

https://app.bwz.se/bedrock/example/api/mailrecipient/delete

Delete multiple MailRecipients.

Request Information

URI Parameters

None.

Body Parameters

The unique property values of the recipients to delete (Normally the email is the unique key for a recipient)

DeleteMailRecipientsArgs
NameDescriptionTypeAdditional information
Ids

Ids of the recipients to delete

Collection of integer

None.

EmailAddresses

Email adresses of the recipients to delete

Collection of string

None.

UniqueIds

The unique property values of the recipients to delete (Normally the email is the unique key for a recipient)

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "Ids": [
    1,
    2
  ],
  "EmailAddresses": [
    "sample string 1",
    "sample string 2"
  ],
  "UniqueIds": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<DeleteMailRecipientsArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailRecipient">
  <EmailAddresses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </EmailAddresses>
  <Ids xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Ids>
  <UniqueIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </UniqueIds>
</DeleteMailRecipientsArgs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The number of unique recipients found and deleted

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>