sendImmediateByCampaignToSubscriberId

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.

The subscriber data is retrieved using the sourceId/subscriberId pair.

 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.
 sourceId  Xs:int  Subscriber source identifier.
 subscriberId  Xs:int  Subscriber identifier.
 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.