Update a Session
POST/surveys/:surveyId/sessions/:sessionId
Updates the session with response data. Optionally, may trigger movement through the survey flow. For more information about using survey session APIs, see Working With Survey Sessions.
The
advanceandcloseparameters in the request body are mutually exclusive.The
advanceproperty and thecloseparameters are mutually exclusive parameters. Your request will fail if you include both parameters in your request.
Request
Responses
- 200
- 400
- 401
- 404
Updated session successfully. Response includes latest session state. If close flag is true, then session was was successfully closed.
Survey is either incompatible, inactive, not started, or expired.
Authentication Error
Survey does not exist.