update embedded data with API | XM Community

update embedded data with API

  • 30 June 2022
  • 2 replies
  • 553 views

Badge +1

Hi I am wondering if anyone has experience using API to update values of embedded fields. I can only find insert embedded data fields API but can't find a way to update values. Any one can share their experience? Thanks.
https://api.qualtrics.com/4afe452ecb6e2-insert-embedded-data-fields


2 replies

Badge +5

Hello LinaS - The Update Response API can be used to update embedded data fields.
https://api.qualtrics.com/daed82306b1ea-update-response
One limitation is that there is not a bulk API for this. Updates are made based on the individual responseIds.

Badge

For anyone that has found this thread while looking to update/overwrite existing Embedded Data on a survey using the API.   The best solution that I have found will require a little bit of work, but involves the following steps:

  1. Fetch the entire flow for your given survey using the `Get Flow` API call:
  2. Implement your own logic to detect and copy which flow element has the Embedded Data you are looking to update/overwrite
  3. Make your intended edits your copy of that Embedded Data flow element 
  4. Use the `Updates Flow Element Definition` API call to overwrite the existing Embedded Data flow with your edited copy

Leave a Reply