How do i get details on who received the survey? | XM Community
Solved

How do i get details on who received the survey?

  • 20 August 2019
  • 1 reply
  • 9 views

I am trying to query the survey using API and get all details from the survey. How can i get the details on who received the survey? does it always have to be derived from the Survey Response? If there is integration with Salesforce how do i get the mapping to salesforce columns.
eg. Account , contact etc.
icon

Best answer by KendraR 11 September 2019, 16:35

View original

1 reply

Userlevel 6
Badge +11
Hi, @krishiyer! The details on who received the survey must come from the distribution API calls, not the survey API calls. Given a survey ID, you can use this API call to list all the distributions for a survey. The specific call you will need to use will depend on if you use XM Directory or not. If you want to know specifically WHO received it, you will then need to take the ID of the recipient and make the appropriate API call to get the history for the contacts in that contact list and see if they received it or not. If you have any further questions about this, please feel free to reach out to our Support Team! 😃

Leave a Reply