How to update contact fields in survey response using update response API? | XM Community
Question

How to update contact fields in survey response using update response API?

  • 23 November 2020
  • 0 replies
  • 32 views

Hi,
I am using update response API (https://ca1.qualtrics.com/API/v3/responses/{responseId}) to update the embedded data in my survey responses. But I am unable to update the contact fields like recipienceEmail, recipientFirstName, recipientLastName using the same API. I understand that these fields are not part of embedded data but the api call is not returning any error. I am receiving below message, but the changes are not being reflected on the portal.
{"meta":{"httpStatus":"200 - OK","requestId":"ee5f31da-aacd-4e98-86b0-40ffec545f88"}}
Below is the structure of my request
payload = {
        "surveyId": surveyID,
        "resetRecordedDate": False,
        "embeddedData": {
                "recipientEmail": "donotdisclose@email.com",
                "recipientFirstName": "FirstName",
                "recipientLastName":"LastName",
  }
}

Please support


0 replies

Be the first to reply!

Leave a Reply