Make a request »

OptOutService.MoveSubscribersToOptOutList

Moves a batch of subscribers to optout-list (See code examples)


URL Parameters

Http verb: POST
URI: Full url: http://se.api.anpdm.com/v1/optouts/mailinglists/{mailinglistId}/subscribers/queued
URL parameters:
mailinglistIdStringMailing list ID

Body parameters

Body parameters
optOutListSubscriberItems
List
<OptOutListSubscriberItem>
Opt out all subscribers items
OptOutListSubscriberItem
Lorem ipsum dolor sit amet, consectetur adipiscing elit...

SubscriberId Int64 The subscriberId which will be moved to optoutlist
Reason String The reason why the subscriber was moved to optoutlist (Optional)
ExternalId String Which mailinglist generated the optoutlist(Optional)
SendQueueId Int32 Which sending generated the optoutlist (Optional)
Body Example

Response

Body parameters
returns
A response object which includes the queued result, status code and a message.

Code Int32 The response Code.
Message String The response Message.
Result
The response Result.

OperationGuid Guid ID of this operation
PollURL String The URL to poll for the status of this operation
Body Example


Help

Code examples