« Back to Documentation Overviewget_surveys
Section: Surveys
Version: 1.5.0
Get surveys.
Parameters
|
---|
string | API_KEY |
object | string | status | value | object | name | |
|
Return Value
|
---|
object | SURVEY_ID | string | name | My survey 2 | string | title | get_surveys_title__string | string | description | get_surveys_description__string | object | questions | object | QUESTION_ID | string | name | Truth or dare? | string | note | get_surveys_note__string | object | options | |
|
| string | status | published | string | created_on | 2012-02-02 00:00:00 |
|
Example Request JSON
[
"API_KEY",
{
"status": "value",
"name": {
"OPERATOR": "value"
}
}
]
Example Response JSON
{
"SURVEY_ID": {
"name": "My survey 2",
"title": null,
"description": null,
"questions": {
"QUESTION_ID": {
"name": "Truth or dare?",
"note": null,
"options": {
"OPTION_ID": {
"name": "Dare"
}
}
}
},
"status": "published",
"created_on": "2012-02-02 00:00:00"
}
}
API-wide Errors
|
---|
API key verification failed
| API key verification failed |
API client IP not allowed
| API client IP not allowed |
Invalid params
| Attribute params must be reference to hash |