Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Create token table in JSON-RPC RemoteControl 2 API?

  • ciaccia
  • ciaccia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago #114285 by ciaccia
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
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 months ago #114326 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: ciaccia
The topic has been locked.
  • ciaccia
  • ciaccia's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 4 months ago #114471 by ciaccia
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!

Thanks
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 4 months ago #114494 by tpartner
Please add to or amend the documentation as you see fit.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose