How do I use the API to retrieve survey groups? (Version 3+)?

More
9 months 6 days ago #165135 by mikeictinus
mikeictinus created the topic: How do I use the API to retrieve survey groups? (Version 3+)?
Hello

I have multiple surveys and each one is related to a "survey group" which is a new feature in limesurvey 3.

I am trying to use the API to retrieve any kind of "survey group" and I can't seem to find anything on the api page.



This is what I am trying to do:

1. Using the api, list all 'survey groups' on front end.

2. Then, for each 'survey group', list the corresponding survey.


I looked at the database and I can't seem to find how they are related. For example, the following survey lime_survey_834591 has a group called "University X" added to it in the limesurvey admin. However, I can't find the relationship in the db.


Can you guys help me with that?
The following user(s) said Thank You: pgiovacchini

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

More
1 week 9 hours ago #178034 by pgiovacchini
pgiovacchini replied the topic: How do I use the API to retrieve survey groups? (Version 3+)?
Hello,
I'm looking for a solution for the same issue.
Heve you find any API/workaround?

Thank you

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

More
1 week 4 hours ago #178040 by holch
holch replied the topic: How do I use the API to retrieve survey groups? (Version 3+)?
As the "survey groups" were just added recently, my guess would be there is no trigger in the API for this. But maybe someone with more experience with the API can shed a light.

The API does not cover every function/feature within Limesurvey.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds
The following user(s) said Thank You: pgiovacchini

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

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!