Hi all,
Is it possible to create the token table for a survey using the JSON-RPC interface? This is possible using the Web-Based UI (for example by pointing the browser to /limesurvey/index.php/admin/tokens/sa/index/surveyid/{$iSurveyId}/createtable/Y, but I wasn't able to find the JSON counterpart.
If this function is not already available and other people are interested, I could prepare a patch and send it to development to be included as a future feature.
Thanks a lot to everyone for your help and support
Andrea
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Hi DenisChenu,
Thank you for your help! Yes activate_token also initialises the token table if not already present, exactly what I needed. By reading the documentation I thought the call was only meant to initialise tokens for participants already added to the survey without token, not to create the table as well!