Create token table in JSON-RPC RemoteControl 2 API?

More
3 years 1 week ago #114285 by ciaccia
ciaccia created the topic: Create token table in JSON-RPC RemoteControl 2 API?
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

Please Log in to join the conversation.

More
3 years 1 week ago #114326 by DenisChenu
DenisChenu replied the topic: Create token table in JSON-RPC RemoteControl 2 API?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: ciaccia

Please Log in to join the conversation.

More
3 years 6 days ago #114471 by ciaccia
ciaccia replied the topic: Create token table in JSON-RPC RemoteControl 2 API?
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

Please Log in to join the conversation.

More
3 years 5 days ago #114494 by tpartner
tpartner replied the topic: Create token table in JSON-RPC RemoteControl 2 API?
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

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!