POST example/api/publication/optins/delete

https://app.bwz.se/bedrock/example/api/publication/optins/delete

Deletes a Publication opt-in.

Request Information

URI Parameters

None.

Body Parameters

IDs of the MailRecipients that will be removed from the Publication opt-in list.

DeleteMailPublicationOptInArgs
NameDescriptionTypeAdditional information
PublicationId

ID of the Publication the MailRecipients will be removed from.

integer

None.

MailRecipientIDs

IDs of the MailRecipients that will be removed from the Publication opt-in list.

Collection of integer

Required

Request Formats

application/json, text/json

Sample:
{
  "PublicationId": 1,
  "MailRecipientIDs": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<DeleteMailPublicationOptInArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netoptions.BizWizard.Api.Common.Models.MailPublicationOptIn">
  <MailRecipientIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </MailRecipientIDs>
  <PublicationId>1</PublicationId>
</DeleteMailPublicationOptInArgs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Nothing

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.