Welcome to the LimeSurvey Community Forum

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

Getting question attributes with API

More
3 years 3 months ago #228542 by darliv

Hello everyone, 
I am new to Limesurvey and i want your help.
I have attached screenshots.
When i get the questions information with API (Postman) the CSS (Classes) dont show up.
How can i get all informations from the question?

Thank you! 

Please Log in to join the conversation.

More
3 years 3 months ago #228571 by bezojeffs
This should not be that hard get survey_attributes and it might work

Please Log in to join the conversation.

More
3 years 3 months ago #228606 by DenisChenu
Why you don't answer about LimeSurvey version ?
Since you have language attributes : seems to be an issue.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
3 years 3 months ago #228607 by darliv
LimeSurvey Community Edition
Version 5.3.13+220509

Please Log in to join the conversation.

More
3 years 3 months ago #228608 by darliv
The problem is that i dont get all the attributes like CSS classes that i want to get

Please Log in to join the conversation.

More
3 years 3 months ago #228610 by darliv
 
All the other attributes that i didnt include in the screenshot

Please Log in to join the conversation.

More
3 years 3 months ago #228611 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: darliv

Please Log in to join the conversation.

More
3 years 3 months ago - 3 years 3 months ago #228764 by darliv
Hi,
After reporting this case to the bug tracking team they informed me that this field is not available in limesurvey rest api  bugs.limesurvey.org/view.php?id=18135

As this field is very crucial to our  mobile application development, could you suggest me if there is a way to extend an RPC functions?
More exactly i want to clone : get_question_properties into a new function like get_question_properties_extended  with the fields i want to get,that will not be overrided by limesurvey updates.



Thanks!!
 
Last edit: 3 years 3 months ago by darliv.

Please Log in to join the conversation.

More
3 years 3 months ago #228771 by DenisChenu

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: darliv

Please Log in to join the conversation.

More
3 years 3 months ago - 3 years 3 months ago #228886 by darliv
Hello,
Can you please explain me with a few steps how to connect the plugin with Limesurvey so i can get functions to execute in POSTMAN.
 
But here it shows that functions i made in the plugin (functions),only i cant execute functions in POSTMAN. 


Thank you!!
Last edit: 3 years 3 months ago by darliv.

Please Log in to join the conversation.

More
3 years 3 months ago #228909 by darliv
Because it's not very clear...


Thank you!!

Please Log in to join the conversation.

More
3 years 3 months ago #228910 by DenisChenu
Surely not the best solution ....
blog.alexanderwolf.tech/how-to-test-a-js...pc-api-with-postman/

Create a simple python or php is more easy
You need to get your tokenkey before

Then :
1. Use www.limesurvey.org/manual/RemoteControl_2_API#get_session_key to get you token key
2. Use it in all other request (during 2 hours)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: darliv

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose