Skip to main content

UpdateCurrentSessionBody

advanceshouldAdvance (boolean)

Whether or not the response will advance through the survey flow after applying embeddedData and responseObj. If false, the given data will simply be saved temporarily, but NOT included in the completed response unless the survey advances past the saved question(s).

embeddedData object

Any embedded data to set on the survey session.

property name*embeddedDataValue (string)
responses object

A map of question ids to their response

property name* IdMapping
oneOf
oneOf
object

A mapping of choice ids to their selected value and entered text

closeclose (boolean)

Flag for closing a response in progress. This will attempt to delete the session and save a response.

UpdateCurrentSessionBody
{
"advance": true,
"embeddedData": {
"edKey": "edValue",
"customerName": "Kyle"
},
"responses": {},
"close": true
}