Welcome to the LimeSurvey Community Forum

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

[SOLVED] How to export token properties when exporting responses from the API ?

  • orsayman
  • orsayman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 8 months ago #218366 by orsayman
Hello,

I'm trying to export the responses with the Remote Control API. The web interface allows to download token properties (first and last name, email address and, more importantly for me, user defined properties) alongside the responses themselves.

Is there a way to do that with the export_responses RPC ? If I'm correct the aFields parameter is designed to filter the many properties of the responses (essentially the ID and the questions) so I have to query the participants separately (with the user defined properties) and join the 2 informations (using the token for instance).

Thanks in advance,
Mathieu
The topic has been locked.
  • orsayman
  • orsayman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 8 months ago #218396 by orsayman
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months ago #218405 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: orsayman
The topic has been locked.
  • orsayman
  • orsayman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 8 months ago #218436 by orsayman
Thanks (I will choose option 1).
The topic has been locked.
  • orsayman
  • orsayman's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 8 months ago #218591 by orsayman
Just to mention that I used list_participants instead of get_participant_properties (because it reduces the number of requests) and join them with pandas (I use python).
The following user(s) said Thank You: DenisChenu, tpartner
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose