get https://api.smartsurvey.io/v1/surveys//responses
Answer Choice Fields
The answers property can contain the following fields:
id | ID of answer |
type | Type of answer |
choice_title | Label of the choice selected |
choice_id | ID of the choice selected |
row_title | Label of the row selected in a matrix |
row_id | ID of the row selected |
column_title | Label of the column in a matrix |
column_id | ID of the column selected |
dropdown_title | Label of the drop down choice in Drop Down Matrix. |
dropdown_id | ID of the column selected |
value | Open-ended text value |
Sort By Multiple Fields
To sort by multiple fields, you can add the "sort_by" parameter more than once in the query. The following URL
https://api.smartsurvey.io/v1/surveys?sort_by=title,asc&sort_by=date_created,desc
Filter by date
The date format for the since
filter must be a Unix Epoch timestamp.
So for example:
Sun, 04 Dec 2016 08:16:41 GMT
The Unix Epoch timestamp is:
1480839401
Example request:
https://api.smartsurvey.io/v1/surveys/123123/responses?completed=1&since=1480839401&include_labels=false
You can use the following site to see how the conversion works:
http://www.epochconverter.com/