Welcome to the LimeSurvey Community Forum

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

Export Responses JSON - Not providing the User Email

  • pranavcervello
  • pranavcervello's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #230812 by pranavcervello
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 5.3.25
Own server or LimeSurvey hosting: LimeSurvey Hosting
Survey theme/template: Extended Vanilla
==================
While exporting the responses in JSON using the RemoteCOntrol RPC, I am not able to get the user's email who submitted the response. 
Is it possible to get the User email as well ?
Current Response below: 
{"responses": [{"id":"6","submitdate":"2022-08-01 00:55:37","lastpage":"3","startlanguage":"en","seed":"2006847072","token":"uEiiddNNZ7XUYH7","startdate":"2022-08-01 00:55:20","datestamp":"2022-08-01 00:55:37","ipaddr":"69.122.30.6","refurl":"https:\/\/cervello.limesurvey.net\/surveyAdministration\/view?surveyid=584828","Q00":"AO01","G02Q02[SQ001]":"33","G03Q03":"","G03Q03[comment]":"","G00Q04[SQ001]":null}]}
 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago - 2 years 4 months ago #230824 by Joffm
Hi,
you did not show how you call "export_responses".
Probably not defining the fields you want to export and you get this
 

But if you define the fields
like    
Code:
[color=#0000ff]['id', 'token', 'submitdate', 'lastpage', 'interviewtime', 'email', '159677X490time','159677X487time','159677X490X9219SQ001','159677X490X9221SQ001'][/color]
you get this
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 years 4 months ago by Joffm.
The following user(s) said Thank You: pranavcervello

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago #230825 by Joffm
Neglect the color=xxx and /color, but this editor doesn't want me to edit this.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: pranavcervello

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago #230834 by tpartner
@pranavcervello, DO NOT report posts because you don't get a fast enough answer! Reporting is for spam or forum misuse.

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: holch

Please Log in to join the conversation.

  • pranavcervello
  • pranavcervello's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago #230849 by pranavcervello
Replied by pranavcervello on topic Export Responses JSON - Not providing the User Email
Apologies. Will take care in future.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose