on ‎2019 Apr 22 12:01 PM
Hi Experts,
Does somebody know how to specify GET request in order to return all interest added for specific interaction?
Regrads,
Valentina
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Valentina,
try this:
https://my123456-api.s4hana.ondemand.com/sap/opu/odata/sap/API_MKT_INTERACTION_SRV/Interactions(guid'EnterTheInteractionGUIDhere')/InteractionInterests?$top=XYZ (enter your tenant ID, the interaction guid and a number for the top parameter)
Hope that's what you're looking for.
Best regards
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks I've already tried with this, for example: https://my12345-api.s4hana.ondemand.com/sap/opu/odata/sap/API_MKT_INTERACTION_SRV/Interactions(guid'WEBSITE_REGISTRATION')/InteractionInterests?$top=10
What I got as response is bad request even API works (first I tried to return x- csrf token and I got it).
Where I'm not sure is do I have to specify heders in this request, in my case I've just provided basic authorization.
KR,
Valentina
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Valentina,
WEBSITE_REGISTRATION is an interaction type, not an interaction guid.
You can find back an interaction guid, by going to your contact Profile, on the Interactions tab, and clicking the tree dots in the bottom right corner of a specific interaction.
You'll get to another screen called "Interaction Data" and in the page at the top you'll find the guid of that interaction, it looks like this:
f0071ad0-fb75-078d-1600-410065a88956
Kr
Joyca
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.