Skip to main content

sendImmediateMessageSDataCDataCA (deprecated)

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, in a similar way to the deprecated parent element sendImmediateMessageSDataCData.

  • Subscriber data must be sent by the requester and is used to parse the message model associated with the delivery
  • You can send custom data content to the Send engine and attach it to a single outgoing message
  • You can chose to include/exclude the default campaign attachments when sending the immediate message
InputTypeDescription
apiKeyxs:stringAlphanumeric hash identifying a Send customer.
userKeyxs:stringAlphanumeric hash identifying a Send user.
userDataSubscriberSubscriber custom data. IMPORTANT: The subscriber MUST include at least the RECIPIENT SubscriberAttribute (For example: Name=RECIPIENT,Value=someone@example.com).
campaignCampaignTemplate custom data. IMPORTANT: The campaign identifier or campaign alias CANNOT be null. The message object in the campaign object must be correctly populated.
includeDefaultAttachmentsxs:booleanInclude/exclude default campaign attachments when sending the immediate message. See SendImmediateOptions.
attachmentsAttachment[]The list of custom data content to attach to the immediate message.