-
Notifications
You must be signed in to change notification settings - Fork 3
Answers API
richardthombs edited this page Dec 8, 2014
·
5 revisions
The Answers API allows for the retrieval of answers for completed calls.
GET /api/calls/:id/answers
Retrieves the Call's Answers. Will return 204 - No Content if the Call is not in Completed status.
[
{
"QuestionID": 1,
"ID": 99999999
},
{
"QuestionID": 2,
"Number": 1
},
{
"QuestionID": 5,
"Choices": [
1
]
},
{
"QuestionID": 6,
"Choices": [
4,
5
]
},
{
"QuestionID": 7,
"YesNo": true
},
{
"QuestionID": 8,
"Picture": "ee128ce6-2867-4b5f-8f38-750629fb6e74"
},
{
"QuestionID": 10,
"DateTime": "2014-12-02T09:00:00"
},
{
"QuestionID": 11,
"ItemID": 1,
"Number": 1
},
{
"QuestionID": 11,
"ItemID": 2,
"Number": 1
},
{
"QuestionID": 11,
"ItemID": 3,
"Number": 1
},
{
"QuestionID": 11,
"ItemID": 4,
"Number": 1
},
{
"QuestionID": 11,
"ItemID": 5,
"Number": 1
},
{
"QuestionID": 11,
"ItemID": 6,
"Number": 1
},
{
"QuestionID": 14,
"ItemID": 1,
"Choices": [
7
]
},
{
"QuestionID": 14,
"ItemID": 2,
"Choices": [
7
]
},
{
"QuestionID": 14,
"ItemID": 3,
"Choices": [
7
]
},
{
"QuestionID": 14,
"ItemID": 4,
"Choices": [
7
]
},
{
"QuestionID": 14,
"ItemID": 5,
"Choices": [
7
]
},
{
"QuestionID": 14,
"ItemID": 6,
"Choices": [
7
]
},
{
"QuestionID": 15,
"ItemID": 1,
"Choices": [
10,
11
]
},
{
"QuestionID": 15,
"ItemID": 2,
"Choices": [
10,
11
]
},
{
"QuestionID": 15,
"ItemID": 3,
"Choices": [
10,
11
]
},
{
"QuestionID": 15,
"ItemID": 4,
"Choices": [
10,
11
]
},
{
"QuestionID": 15,
"ItemID": 5,
"Choices": [
10,
11
]
},
{
"QuestionID": 15,
"ItemID": 6,
"Choices": [
10,
11
]
},
{
"QuestionID": 16,
"ItemID": 1,
"YesNo": true
},
{
"QuestionID": 16,
"ItemID": 2,
"YesNo": false
},
{
"QuestionID": 16,
"ItemID": 3,
"YesNo": false
},
{
"QuestionID": 16,
"ItemID": 4,
"YesNo": false
},
{
"QuestionID": 16,
"ItemID": 5,
"YesNo": false
},
{
"QuestionID": 16,
"ItemID": 6,
"YesNo": false
},
{
"QuestionID": 17,
"ItemID": 1,
"Picture": "076198d1-1de3-47d6-82dd-fe4a7e962bf5"
},
{
"QuestionID": 17,
"ItemID": 2,
"Picture": "9a5dbb48-2f45-4c76-ad67-5b19583b55df"
},
{
"QuestionID": 17,
"ItemID": 3,
"Picture": "5cfd5232-db40-4ddc-b616-1710423f4926"
},
{
"QuestionID": 17,
"ItemID": 4,
"Picture": "129510d3-a444-46b8-bf76-064067e60727"
},
{
"QuestionID": 17,
"ItemID": 5,
"Picture": "6cd112d7-09d2-4124-bfff-7fba05f85348"
},
{
"QuestionID": 17,
"ItemID": 6,
"Picture": "77b1ec7f-bc4e-42a2-8078-f2e26d77d92d"
}
]