I would like to get check whether certain goal was triggered through xConnect for certain contact programmatically. We are using Sitecore 9.0.1
.
I have found this article: https://doc.sitecore.net/developers/xp/xconnect/xconnect-client-api/interactions/get-interactions/get-events.html#get-events-by-definition-id
But it is unclear which ID I should use on this line:
Sitecore.XConnect.InteractionReference interactionRef = new Sitecore.XConnect.InteractionReference(contactRef, Guid.Parse("DA2DA5F0-4348-E611-82E7-34E6D7117DCB"));
Id DA2DA5F0-4348-E611-82E7-34E6D7117DCB
is Id of what?
It is an Id of Interaction that is stored in DB?
How can I get it via xConnect API?
I just want to check whether goal what trigger for contact
DA2DA5F0-4348-E611-82E7-34E6D7117DCB
is in reference to? – Chris Auer May 4 '19 at 0:05