on ‎2020 Jan 13 9:15 AM
Hi everyone,
does anyone know if it is possible to retrieve contact information from SAP Marketing Cloud with only the sap-outbound-id as an input parameter (e.g. via API_MKT_CONTACT_SRV)?
I'd like to like to retrieve the address information from a contact that has clicked on a campaign link. At this point, the only information I have is the sap-outbound-id.
Anyone had experience with is scenario before? The only similar question I could find to this was this, which wasn't really answered.
Thanks, Christopher.
Request clarification before answering.
Hi Tobias,
thanks a lot for your answer! I have focused too much on the InteractionUUID, not noticing, that the sap-outbound-id is being written into InteractionSourceObject. So using the API_MKT_CONTACT_SRV works perfectly! Though I have decided to look for InteractionType EMAIL_OUTBOUND as it can't be guaranteed, that the CLICK_THROUGH is already processed in the system the moment I want to retrieve it from an external system.
For anyone who might come across this question in the future, here the sample GET request:
https://{{mkt_host}}/sap/opu/odata/sap/API_MKT_INTERACTION_SRV/Interactions?$top=1&$format=json&$fil... eq 'EMAIL_OUTBOUND') and (InteractionSourceObject eq '49EE98941E3EF18F5F6C27BB4F4EC2906DC6FBD3'))
where 49EE98941E3EF18F5F6C27BB4F4EC2906DC6FBD3 is the sap-outbound-id
Form the result I can extract the InteractionContactUUID and send another request to API_MKT_CONTACT to retrieve e.g. address information, geolocation, etc.
Regards Christopher.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christopher,
what about using the API_MKT_INTERACTION_SRV? There you can find the sap-outbound-id in the interaction (e.g. CLICK_THROUGH) as InteractionSourceObject and you have also e.g. the email-address as InteractionContactId.
Using the email Address you can then retrieve all the other data via API_MKT_CONTACT_SRV.
BR Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.