# Survey Answers (Legacy)

Survey Answers (Legacy) appear on and can be responded to through surveys. Survey Answers (Legacy) are required to have a value
for the answer (i.e. answers must have at least one choice selected or a non-null value). Additionally, only
one value type can be specified for the answer (e.g. specifying a date value as well as choice values is
invalid). 

**Note**: This feature requires the Surveys (Legacy) account add-on. This feature is unrelated to Pulse surveys.

## Fetching a list of Survey Answers

 - [GET /survey_answers](https://developer.kantata.com/kantata/specification/survey-answers-(legacy)/get-survey-answers.md): This endpoint returns structured Survey Answer objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the survey_answers top-level JSON key.
Please see our Response Format section for more information.

## Creating a new Survey Answer

 - [POST /survey_answers](https://developer.kantata.com/kantata/specification/survey-answers-(legacy)/create-survey-answer.md): This endpoint returns structured Survey Answer objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the survey_answers top-level JSON key.
Please see our Response Format section for more information.

## Updating an existing Survey Answer

 - [PUT /survey_answers/{id}](https://developer.kantata.com/kantata/specification/survey-answers-(legacy)/update-survey-answer.md): This endpoint returns structured Survey Answer objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array
and will be indexed by ID in the survey_answers top-level JSON key.
Please see our Response Format section for more information.

## Deleting an existing Survey Answer

 - [DELETE /survey_answers/{id}](https://developer.kantata.com/kantata/specification/survey-answers-(legacy)/delete-survey-answer.md): The response will contain no content and an HTTP 204 status code if the request was
successful, or a standard Kantata OX error message explaining why the object could not be deleted.

