sendImmediateByCampaignToSubscriber
Sends a single, one-shot message using the template associated with the IMMEDIATE campaign selected by the campaign identifier/alias, passed by the campaign object and overriding the default template associated with the existing campaign.
Subscriber data must be sent by the requester. It is then used to parse the message model associated with the delivery.
Input | Type | Description |
---|---|---|
apiKey | xs:string | Alphanumeric hash identifying a Contactsend customer. |
userKey | xs:string | Alphanumeric hash identifying a Contactsend user. |
campaign | Campaign | IMPORTANT: The campaign identifier or campaign alias CANNOT be null. The message object in the campaign object must be correctly populated. |
subscriber | Subscriber | Subscriber custom data. IMPORTANT: The subscriber MUST include at least the RECIPIENT SubscriberAttribute (For example: Name=RECIPIENT,Value=someone@example.com). |
sendImmediateOptions | SendImmediateOptions | Send immediate options. |
Output | Type | Description |
---|---|---|
xs:string | An ID that can be used to check the state using getDeliveryStatus method or getDeliveryMailQ. |