Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #294: API to add user (survey taker) and create token

Written by LakeRat the 20 Jun 11 at 04:11. Category: Tokens. Related project: Nothing/Others. Status: New
Rationale
USE CASE#1

I have a retail customer with an extensive customer database. The customer's Point of Sale (POS) system has the ability to build a URL to build a URL with the customers data.

At the end of each sale, the customers name, email address and perhaps a few user defined fields would be passed to lime survey. The API should return either a success or failed response, and limesurvey should automatically generate the token.

The user then receives the invitation to the survey automatically very soon after they have left the store.

This customers survey is very short NPS type survey. The NPS is most valid the sooner the user can take the survey.

---

USE CASE#2
Another user I have could also benefit. I could create a simple local file on her hard drive that when opened in a browser asks a few simple inputs, does a little bit of error checking on the fields, assembles the URL and POSTS its.

As above she would receive a success or fail return.

Currently she uses the admin interface several times a day to sadd a single new invitation. Again in this case the more timely the invitation to the survey is sent the more accurate the response will be.





Tags: (none)

0
votes
up equal down
Solution #1: API for automated token import.
Written by LakeRat the 20 Jun 11 at 04:11.
Th current methods for manually adding a user, or importing a CSV file are not easy to automate.



No API would be secure unless one of the elements passed is an API key (or password). I suggest that such a key be assigned by ADMIN USER, so that we can track where each API request came from. In the case of USE CASE 1 above we would create a dummy admin user for each POS terminal in the store.

---

there are really many other use cases for this functionality. The current batch system or manual entry method is cumbersome and doesn't lend itself to automation of the process.


Propose your solution


Duplicates


Comments
No comments.

Post your comment