Challenge with API for add_participants, list_participants

11 months 1 week ago #169870 by rabshier1
I am trying to make the add_participants API call using node.js and express. It's adding the participants, but I am not getting the array back in the response from the post. I get an OK code back .

This is not the case with all API calls. I made a copy_survey call and do indeed get the response with the newsid inside. Made the call the same manner as shown below. Any thoughts?

Here's the objective:
  • Activate the participants table (works)
    Activate the survey (works)
    Add Participants (works, but no array returned)
    Send Invitations

I chased an alternative of doing list_participants and sending the emails in a separate route/post. But I am having similar issue here. I get an OK code but no array back when I make the list_participants call also.

Any thoughts to what I have missed? Thanks!!


Please Log in or Create an account to join the conversation.

LimeSurvey Partners

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!