getSurveyHashes

getSurveyHashes – returns list of public links for survey
request_method: POST
 
GET parameters:

  • action= getSurveyHashes
  • ank_id= 123; //survey id

Response example:

[
 {"hash":"42C4A102", //link name
 "properties":{
 "survey":"4937", //survey id
 "a":"data", //data or analysis
 "m":"",
 "profile_id_status":2,
 "profile_id_variable":0,
 "profile_id_condition":1},
 "comment":"",
 "page":"data",
 "add_date":"05.09.2016", 
 "add_time":"14:58",
 "email":"user@gmail.com"}, //user email, who created link
 {"hash":"43BACC90",
 "properties":{
 "survey":"4937",
 "a":"analysis",
 "m":"summary", //analysis type
 "profile_id_status":2,
 "profile_id_variable":0,
 "profile_id_condition":1},
 "comment":"", 
 "page":"analysis",
 "add_date":"05.09.2016",
 "add_time":"14:58",
 "email":"test@1ka.si"}
]