POSTADITUS/Survey/Surveys/Create response

Create response

POST{{API_BASE_URL}}/survey/v1/surveys/:survey/responses

This endpoint is used to submit responses to a specific survey.

Request

Request Body

  • answers (array of objects) - An array containing the responses to the survey questions.

    • question (string) - The ID of the question being answered.

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

Response

  • data (object) - The response data container.

    • id (string) - The ID of the response.

    • surveyId (string) - The ID of the survey the response belongs to.

    • answers (array of objects) - An array containing the submitted answers.

      • question (string) - The ID of the question.

      • value (string) - The response value.

      • isFile (boolean) - Indicates if the response is a file.

      • bindingMember (string) - The binding member of the response.

    • invalidAnswers (array) - An array containing any invalid answers

Authentication#auth

This endpoint does not require authentication.

Responses#responses

200OKCreate response