- Posts: 2
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
9 years 4 months ago #114285
by ciaccia
Create token table in JSON-RPC RemoteControl 2 API? was created 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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
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.
Replied by DenisChenu on 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 , plugin development .
I don't answer to private message.
The following user(s) said Thank You: ciaccia
The topic has been locked.
- ciaccia
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 years 4 months ago #114471
by ciaccia
Replied by ciaccia on 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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
9 years 4 months ago #114494
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on 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
The topic has been locked.