/surveyQuestions/{surveyQuestionId}
Changed onUse this endpoint to retrieve information about a specific Survey Question (and its set of Survey Responses) available in the current context.
A standard Survey Question object, if found.
If the specified Survey Question does not exist, this endpoint will return an error with HTTP Status Code 404 Not Found.
get/surveyQuestions/{surveyQuestionId}
Request
- Base URLhttps://api.securevan.com/v4
- URLhttps://api.securevan.com/v4/surveyQuestions/{surveyQuestionId}
- AuthHTTP basic
Path parameters
surveyQuestionIdstring required
Unique identifier for a specific Survey Question. This is either an integer or a VAN encoded identifier (e.g., EID28CG).
Response
200
Example response
{
"surveyQuestionId": 54949,
"type": "Candidate",
"cycle": 2010,
"name": "Maddow for Senate",
"mediumName": "Maddow",
"shortName": "MS",
"scriptQuestion": "In the upcoming race for US Senate, do you plan to vote for Republican Scott Brown or Democrat Rachel Maddow?",
"status": "Active",
"responses": [
{
"surveyResponseId": 246016,
"name": "1 - Strong Maddow",
"mediumName": "1",
"shortName": "1"
}
]
}Changes
- info
endpoint added
- info