Skip to main content

How to get a report of question IDs of a Survey that’s in the Central repository?


Forum|alt.badge.img

Hi everyone, I’m Roberto Moscatelli from the Docebo Support team and I would like to share something about Survey in Central repository.

 

Currently, there isn't a report whereby you can retrieve the question_IDs of a Survey.

Anyway, there is a way to retrieve this information via API

 

You should catch the poll_id of the survey as shown below:

 

FkSj0wP4_mI4u6_I-uFesmnnuHZb9Grxo54CjRH-KYkiur8EuGCeZPnNnzO4wvC2PJ2lODJhqTk2AWA1ng5wLgXl0Aexn90eVoCX_RzfvNxyMFdsKwM67_t0640huE1DUhWYB4wo66cp9DVyzw

 

At the bottom left you can see that there is poll_id = 1:

 

FcZUBdYxb1B-73RyCc2zz62u6YuiKophve3bXFoMOoH6Ytt1T6Y0yzibkOSVqpEcvqguzhzQtZRBMmpcZsxbZcywlfQKba0P9YtM9u5Msk-v2IqTS7ZKOYBpXhW7xy9lz6RlXFaoFtSKxsM1OA


 

Then use the following API to retrieve the questions ID, inserting the poll_id that we’ve just retrieved:

 

GET/learn/v1/survey/{id_object}/answer


 

50UxL_1-K880zOtJUyWxHw_SE_VVKJbu51c-2etqf_4jQNGoLCymejnip5B61UU5wfum8axYlaOwj8Ei16op8ADgbYV2LGMyYZ5rKEo5ryF_OgS5NHyFYhrnUMpIhR84rQuHlKk4x1t2E6vr7w

 

 

Did this post help you find an answer to your question?

6 replies

lrnlab
Hero III
Forum|alt.badge.img+8
  • Hero III
  • 4709 replies
  • May 5, 2022

Thanks for posting this.


Annarose.Peterson
Hero III
Forum|alt.badge.img+6

Going to tinker with this too!


Bfarkas
Hero III
Forum|alt.badge.img+5
  • Hero III
  • 3582 replies
  • May 5, 2022

Love looking through the URL’s on random system buttons to see what id’s are readily available :) Do this almost weekly for random tasks, always useful!


janina.zielecki
Influencer III
Forum|alt.badge.img

Hi everybody, it looks like this information is no longer available with the new central repository. Where can I find the ID now?


KMallette
Hero I
Forum|alt.badge.img+7
  • Hero I
  • 740 replies
  • March 21, 2024

@roberto.moscatelli @erin.brisson 

This information is no longer accurate. Can we either get the endpoint updated to support the new Central Repository, OR, tell us how to find this poll_ID in some other manner? I need to use an API, not a report.


erin.brisson
Docebian
Forum|alt.badge.img+2
  • Docebian
  • 2851 replies
  • March 22, 2024

Looking into this @KMallette, stay tuned!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings