Get number of responses (remotely, RPC)

More
5 months 3 days ago - 5 months 3 days ago #168601 by rcha88AA
rcha88AA created the topic: Get number of responses (remotely, RPC)
Hi, I've been using the RPC functionality of limesurvey to get some data displayed on my (different) website.

I want to get the number of responses (complete/incomplete/all) that a survey has.

I understand that I can get a csv/json of the response data from 'export_responses', and parse that, but some surveys may contain a lot of data, a lot of responses, and it seems very inefficient and slow to download every single response just to count how many responses there were.

That's why I would like a 'export_response_count' function, or something similar.
Does this sound like a good idea for a new rpc function? :)


Thank you for all the help and support.
Last Edit: 5 months 3 days ago by rcha88AA.

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

More
5 months 3 days ago #168603 by Joffm
Joffm replied the topic: Get number of responses (remotely, RPC)
Hi,
maybe I misunderstood your desire.
But looking at the available functions I saw:

Isn't that exactly what you would like to have?

Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The following user(s) said Thank You: rcha88AA

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

More
5 months 3 days ago #168606 by rcha88AA
rcha88AA replied the topic: Get number of responses (remotely, RPC)
That's exactly what I want!
I should have looked through each function very thoroughly, I missed that, sorry.
It works great.
Thank you very much!

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!