POST example/api/MailRecipientList/{id}

https://app.bwz.se/bedrock/example/api/MailRecipientList/{id}

Adds MailRecipients to a MailRecipientList.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the MailRecipientList.

integer

Required

Body Parameters

Ids of the MailRecipients to add to the MailRecipientList.

AddMailRecipientsArgs
NameDescriptionTypeAdditional 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.

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>