- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Add Limesurvey Participant using the API add_participants
- superbilly
-
Topic Author
- Offline
- New Member
-
Less
More
2 years 9 months ago - 2 years 9 months ago #200565
by superbilly
Hi . i am using Limesurvey version 4.2
i would to add new participants to lime survey .
However,after i have called the api, limesurvey return status ok and error is null.
But no participant was added in the survey.
REQUEST:POST - http://<host>:<port>/index.php/admin/remotecontrol
Payload:
{{
"sSessionKey": "My SESSON KEY",
"iSurveyID": 426539,
"aParticipantData": "[\r\n {\r\n \"email\": \"me@example.com\",\r\n \"lastname\": \"James\",\r\n \"firstname\": \"Bond\"\r\n }\r\n]"
}}
Do you have any idea or is there any log to track api call in limesurvey?
Thank you .
Billy
i would to add new participants to lime survey .
However,after i have called the api, limesurvey return status ok and error is null.
But no participant was added in the survey.
REQUEST:POST - http://<host>:<port>/index.php/admin/remotecontrol
Payload:
{{
"sSessionKey": "My SESSON KEY",
"iSurveyID": 426539,
"aParticipantData": "[\r\n {\r\n \"email\": \"me@example.com\",\r\n \"lastname\": \"James\",\r\n \"firstname\": \"Bond\"\r\n }\r\n]"
}}
Do you have any idea or is there any log to track api call in limesurvey?
Thank you .
Billy
Attachments:
Last edit: 2 years 9 months ago by superbilly.
The topic has been locked.
- DenisChenu
-
- Offline
- LimeSurvey Community Team
-
Less
More
- Posts: 12895
- Thank you received: 2371
2 years 9 months ago #200589
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.
Replied by DenisChenu on topic Add Limesurvey Participant using the API add_participants
LimeSurvey version ?
Else : you can log error, warning, action etc … in file :
manual.limesurvey.org/Optional_settings#Logging_settings
But : if code don't have log action …
Else : you can log error, warning, action etc … in file :
manual.limesurvey.org/Optional_settings#Logging_settings
But : if code don't have log action …
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: superbilly
The topic has been locked.
- superbilly
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
2 years 9 months ago #200661
by superbilly
Replied by superbilly on topic Add Limesurvey Participant using the API add_participants
I have tried to add participants using PHP langauge, it could work.
Therefore , i believe that it might due to something wrong in my code.
Thank you so much .
Therefore , i believe that it might due to something wrong in my code.
Thank you so much .
The topic has been locked.