Here is a sample SOAP request for adding a Campaign response on a contact record. Please note that the following fields are the mandatory fields for the request.
Fields definition:'Entity' internal id = 37 //Contact internal Id
'Lead Source' = 3 //Internal Id of the Campaign
- This is found on Lists > Marketing > Marketing Campaigns
'Response' = response of the Contact
Avaliable of values for 'Response' field
_received
_bounced
_clickedThru
_purchased
_sent
_subscribed
_unsubscribed
==============
SOAP Request:
<soapenv:Body>
<platformMsgs:add
<platformMsgs:record xsi:type="s0:CampaignResponse">
<s0:entity internalId="37" />
<s0:leadSource internalId="3" />
<s0:response>_received</s0:response>
</platformMsgs:record>
</platformMsgs:add>
</soapenv:Body>
==============
No comments:
Post a Comment