Make a request »

SubscriberService.CreateSubscribers

Create 1 to 10 subscribers on account and add to a list. (Queued) See code examples


URL Parameters

Http verb: POST
URI: Full url: http://se.api.anpdm.com/subscribers/v2/mailinglist/{MailinglistId}/queue
URL parameters:
Not used

Body parameters

Body parameters
mailinglistIdStringThe mailinglistId to add the subscriber to
subscribersToCreate
List
<CreateQueuedSubscriber>
List of Subscribers to create
CreateQueuedSubscriber
Contains information necessary for creating a queued subscriber

Password String The subscriber's password (optional)
Email String The subscriber's email address (required)
Name String The name of the subscriber (optional)
Format String The subscriber's desired format (optional)
CountryCode String The subscriber's country code (optional)
PhoneNumber String The subscriber's phone number (optional)
DemDataFields List
<DemDataField>
The subscriber's list of (optional) demographic data fields
UpdateIfExists Boolean If email address already exists on the account and this parameter is true, then subscriber data will be updated
Body Example

Response

Body parameters
returns
A response object which includes the subscriber id, 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