Update a Session

POST {{baseUrl}}/surveys/:surveyId/sessions/:sessionId

Updates the session with response data. Optionally, may trigger movement through the survey flow. <!--From Readme--> <!-- theme: info -->

For more information about using survey session APIs, see Working With Survey Sessions.

The advance and close parameters in the request body are mutually exclusive.

The advance property and the close parameters are mutually exclusive parameters. Your request will fail if you include both parameters in your request.

Request Body

{"advance"=>true, "embeddedData"=>{"edKey"=>"edValue", "customerName"=>"Kyle"}, "responses"=>{"culpa4_"=>{"Duis_"=>{"selected"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, "text"=>{"value"=>"<Error: Too many levels of nesting to fake this schema>"}}}}, "close"=>true}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;result&quot;:{},&quot;meta&quot;:{&quot;httpStatus&quot;:&quot;mollit voluptate ad aute velit&quot;,&quot;requestId&quot;:&quot;sed qui&quot;,&quot;notice&quot;:&quot;exercitation minim aute occaecat pariatur&quot;}}