Skip to main content

sendImmediateMessageSIdCDataCA (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 sendImmediateMessageSIdCData.

  • The subscriber data is retrieved using the sourceIdentifier/subscriberIdentifier pair
  • 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.
sourceIdentifierxs:intSubscriber source identifier.
subscriberIdentifierxs:intSubscriber identifier.
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.
attachmentsAttachment[]List of custom data content to attach to the immediate message.