PUTADITUS/Survey/Surveys/Update response

Update response

PUT{{API_BASE_URL}}/survey/v1/surveys/:survey/responses/:response

This endpoint is used to update a survey response.

Request

Request Body

  • answers (array): An array of objects containing the response to each question in the survey. Each object includes:

    • question (string): The unique identifier of the question.

    • value (string): The response value to the question.

Response

  • data (object): The main data object containing the updated survey response details.

    • id (string): The ID of the updated survey response.

    • surveyId (string): The ID of the survey associated with the response.

    • answers (array): An array of updated answers for the survey questions.

    • invalidAnswers (array): An array of any invalid answers submitted in the response

Authentication#auth

This endpoint does not require authentication.

Responses#responses

200OKUpdate response