Sang Yeoun Lee
Sang Yeoun Lee

Reputation: 97

Submitting survey answers to Qualtrics

My client wants to inject a survey answers to Qualtrics, so we created duplicated surveys in a webpage and Qualtrics.

At the webpage, when user choose the answer then it should send an api to Qualtrics.

I am seeing the manual from https://api.qualtrics.com/guides/reference/singleResponses.json/paths/~1surveys~1%7BsurveyId%7D~1responses/post

{
  "values": {
    "distributionChannel": "string",
    "duration": 0,
    "endDate": "2021-07-28T04:29:03Z",
    "finished": 0,
    "locationLatitude": "1",
    "locationLongitude": "1",
    "progress": 0,
    "startDate": "2021-07-28T04:29:03Z",
    "userLanguage": "string"    
  }
}

This values are from the docs. I have no idea how to send question and answer data with this API. The values from the docs are only metadata not question and answer data.

Please help how to send question and answer data to Qualtrics to submit the values.

Upvotes: 0

Views: 230

Answers (1)

T. Gibbons
T. Gibbons

Reputation: 5004

Use the Get Response API to get a single response, then use the format of values in the response to populate the question/answer pairs in the Create a New Response API call.

Upvotes: 0

Related Questions