getSurveyList

getSurveyList – returns list of user's surveys 
request_method: GET
 
GET parameter:

  • action=getSurveyList
  • limit = 0; //optional – returns last X surveys, ordered by last response time. 0 menas return all

​Response example:

{"count":8, //number of surveys
"surveys":[
{"id":"4936",// survey id
"folder":"1",
"del":"1",
"tittle":"New survey 10", //survey title
"active":"1", //1 – survey is active, 0 – survey is not active
"mobile_created":"0",
"block_ip":"0", //blocked IP – 0 off, in minutes (1440 = 24 ur)
"edit_uid":"946",
"e_name":"user",//Survey editor
"e_surname":"",
"e_email":"user@gmail.com",
"insert_uid":"946",
"i_name":"user", //Survey author
"i_surname":"",
"i_email":"user@gmail.com",
"e_time":"05.09.16 12:45",//last edit
"i_time":"05.09.16 12:45",//created
"v_time_first":"05.09.16 12:45",//first entry
"v_time_last":"05.09.16 12:46",//last entry
"answers":"3",//number of units
"variables":"3",//number of questions
"lastingfrom":"05.09.16",//survey duration
"lastinguntill":"05.12.16",
"survey_type":"2"},…//2=survey, 0=voting, 1=form
}