Welcome, Guest
Username: Password: Remember me

TOPIC: how to get status of a survey of a token in input

how to get status of a survey of a token in input 1 year 2 months ago #97635

  • nicola_86
  • nicola_86's Avatar
I want to get the information of the status (completed/or not) of a survey of a specific token.
I would use get_participant_properties but the problem is that it ask an integer token, while I have an alphanumerical one, because it was autogenerated from limesurvey.
How I can solve it?
The administrator has disabled public write access.

how to get status of a survey of a token in input 1 year 2 months ago #97638

  • mdekker
  • mdekker's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 341
  • Thank you received: 68
  • Karma: 38
How do you have the generated token and not the id of the token? Where did you get the token?

As mentioned in the other topic, list_participants can get you the info probably. If you save the response in a database local to your application you have the token and tokenid and can do targeted queries for the get_participant_properties. If timing is a problem you can do a sync of list_participants in incremental steps until there are no more tokens left.
---
Menno Dekker
The administrator has disabled public write access.
The following user(s) said Thank You: nicola_86

how to get status of a survey of a token in input 1 year 2 months ago #97641

  • nicola_86
  • nicola_86's Avatar
Thanks, and sorry if I duplicate the question. I thought that it was better to open a new topic instead of waiting for an answer on a topic with a name that isn't connected.

I discover that limesurvey supply the ID when I register a new partecipant, so that I can save both the token and the ID in a local database.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.088 seconds
Donation Image