Welcome to the LimeSurvey Community Forum

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

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

  • mikeictinus
  • mikeictinus's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 7 months ago #165135 by mikeictinus
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
The topic has been locked.
More
5 years 10 months ago #178034 by pgiovacchini
Hello,
I'm looking for a solution for the same issue.
Heve you find any API/workaround?

Thank you
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 10 months ago #178040 by holch
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 answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: pgiovacchini
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose