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.
Page 1 / 1
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.