Welcome to the LimeSurvey Community Forum

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

API, exporting responses + name & lastname & e-mail

  • r0bis
  • r0bis's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 9 months ago #202414 by r0bis
I usually export responses via RPC (LSRC2) using:
Code:
cloudyr/limer
This works fine. However I notice that if you export manually via LS interface, you can add name, lastname, email etc from token-table to the columns exported from the survey response table for a non-anonymous survey. I wonder if I can do this via RPC as well? It is hard for me to understand looking at API:
Code:
export_responses(string $sSessionKey,integer $iSurveyID,string $sDocumentType,string $sLanguageCode = null,string $sCompletionStatus = 'all',string $sHeadingType = 'code',string $sResponseType = 'short',integer $iFromResponseID = null,integer $iToResponseID = null,array $aFields = null): array|string

Advice much appreciated.

r0berts
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose