Entity Description:
SurveyAnswer results will be found on the bottom of the metrics reports page. Multiple survey answers will appear on the same metrics page.
Properties
Name | Description | Type | Additional Information |
ID | Int32 | ||
ResponseID | Int32 | ||
QuestionID | Int32 | ||
Answer | String | ||
Enabled | Boolean |
Entity Statement
if you are using versions earlier than 5.0, substitute "ssv3" for "api" for each Request listed below.
Creating a SurveyAnswer | |
Request | |
POST /api/odata/SurveyAnswers | |
Content-Type | |
application/json | |
Request body | |
{ "ID":"0","ResponseID":"0","QuestionID":"0","Answer":"Example Answer","Enabled":false } | |
Response body | |
{ "ID":1,"ResponseID":0,"QuestionID":0,"Answer":"Example Answer","Enabled":false } | |
Deleting a SurveyAnswer | |
Request | |
DELETE /api/odata/SurveyAnswers(1) | |
Response Headers | |
HTTP/1.1 204 No Content | |
Getting a SurveyAnswer | |
Request | |
GET /api/odata/SurveyAnswers(1) | |
Content-Type | |
application/json | |
Response body | |
{ "ID":1,"ResponseID":0,"QuestionID":0,"Answer":"Example Answer","Enabled":false } | |
Updating a SurveyAnswer | |
Request | |
PUT /api/odata/SurveyAnswers(1) | |
Content-Type | |
application/json | |
Request body | |
{ "ID":"0","ResponseID":"0","QuestionID":"0","Answer":"Example Answer","Enabled":false } | |
Response Headers | |
HTTP/1.1 204 No Content | |
Getting all SurveyAnswers | |
Request | |
GET /api/odata/SurveyAnswers | |
Content-Type | |
application/json | |
Response body | |
"value":[{ "ID":0,"ResponseID":0,"QuestionID":0,"Answer":"Example Answer","Enabled":false },{ "ID":1,"ResponseID":0,"QuestionID":0,"Answer":"Example Answer","Enabled":false }] |