« Back to Documentation Overviewget_survey
Section: Surveys
Version: 1.5.0
Get single survey using SURVEY_ID.
Parameters
|
---|
string | API_KEY |
object | |
Return Value
|
---|
object | SURVEY_ID | string | name | My survey 1 | string | title | Tell me something about yourself. | string | description | Trying to engage my potential customers | object | questions | object | QUESTION_ID | string | name | What car do you own? | string | note | You may select multiple brands | object | options | |
|
| string | status | closed | string | created_on | 2012-01-01 00:00:00 |
|
Example Request JSON
[
"API_KEY",
{
"survey": "SURVEY_ID"
}
]
Example Response JSON
{
"SURVEY_ID": {
"name": "My survey 1",
"title": "Tell me something about yourself.",
"description": "Trying to engage my potential customers",
"questions": {
"QUESTION_ID": {
"name": "What car do you own?",
"note": "You may select multiple brands",
"options": {
"OPTION_ID": {
"name": "other"
}
}
}
},
"status": "closed",
"created_on": "2012-01-01 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 |