API to close a batch of responses in progress | XM Community
Skip to main content

API to close a batch of responses in progress

  • November 28, 2022
  • 4 replies
  • 85 views

Tim
Level 2 ●●
Forum|alt.badge.img+5
  • Level 2 ●●
  • 31 replies

Is there an API that I can use to close a batch of responses in progress?
Thanks,
Tim

4 replies

Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+44
  • 1549 replies
  • November 28, 2022

Tim
You can use this API to close the response in progress.
Hope it helps!


Tim
Level 2 ●●
Forum|alt.badge.img+5
  • Author
  • Level 2 ●●
  • 31 replies
  • November 28, 2022

Hi Deepak,
I used POST https://yul1.qualtrics.com/API/v3/surveys/{surveyId}/sessions/{{sessionId}}
and input my surveyID and selected a file with my sessionIDs and I get a 400 Bad Request error. Do I need to select a specific Body and add input a key and value or ?
image.pngThanks,
Tim


Deepak
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+44
  • 1549 replies
  • November 28, 2022

Tim
Just include the below in the body>raw
{
    "close": true
}
image.png
Hope it helps!


Tim
Level 2 ●●
Forum|alt.badge.img+5
  • Author
  • Level 2 ●●
  • 31 replies
  • November 28, 2022

That worked. Thanks again!


Leave a Reply