- Posts: 43
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Remote control - ask for IDs of completed responses
- arnaudbore
- Topic Author
- Offline
- Senior Member
Less
More
2 years 11 months ago #215480
by arnaudbore
Remote control - ask for IDs of completed responses was created by arnaudbore
Dear Limesurvey experts,
I would like to know if, remotely, I can know if a response is completed or not.
So far, I was able to get the responses (from a token) using get_response_ids but then I would like either to be able to ask if a specific ID response points to a completed response or be able to ask for IDs of completed answers only.
Thank you in advance
Arnaud
I use Limesurvey Version 3.25.10+210128
I would like to know if, remotely, I can know if a response is completed or not.
So far, I was able to get the responses (from a token) using get_response_ids but then I would like either to be able to ask if a specific ID response points to a completed response or be able to ask for IDs of completed answers only.
Thank you in advance
Arnaud
I use Limesurvey Version 3.25.10+210128
The topic has been locked.
- arnaudbore
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 43
- Thank you received: 1
2 years 11 months ago #215666
by arnaudbore
Replied by arnaudbore on topic Remote control - ask for IDs of completed responses
A quick follow up here. I still didn't find the way to get only completed responses IDs.
I also tried the export_responses function but get a "No permission" from this query.
I really need some help on this one. I've got no clue on how to move forward.
Thank you in advance for your help
Arnaud
I also tried the export_responses function but get a "No permission" from this query.
I really need some help on this one. I've got no clue on how to move forward.
Thank you in advance for your help
Arnaud
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 years 11 months ago #215683
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Remote control - ask for IDs of completed responses
You need to use export_response
Code:
export_responses( $sSessionKey, $iSurveyID, 'json', null, 'all', 'code', 'short', null, null, ['id'] )
Then you don't have export permission.I also tried the export_responses function but get a "No permission" from this query.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- arnaudbore
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 43
- Thank you received: 1
2 years 11 months ago #215688
by arnaudbore
Replied by arnaudbore on topic Remote control - ask for IDs of completed responses
Thank you Denis for your answer.
Do you know how to get permission to export ? Is this a limesurvey permission or something related to my server ?
I'm the owner of the survey and so far I'm able to use a couple of function such as create participant, get_response_ids.
Thank you again for your help
Arnaud
Do you know how to get permission to export ? Is this a limesurvey permission or something related to my server ?
I'm the owner of the survey and so far I'm able to use a couple of function such as create participant, get_response_ids.
Thank you again for your help
Arnaud
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
2 years 11 months ago #215689
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Remote control - ask for IDs of completed responses
-
manual.limesurvey.org/Manage_users#Set_g...rmissions_for_a_user
- manual.limesurvey.org/Survey_permissions
- manual.limesurvey.org/Survey_permissions
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
2 years 11 months ago #215772
by DenisChenu
Can you try with a superadmin ?
Acn you try with a sample user ?
Etc ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Remote control - ask for IDs of completed responses
? Strange : if you're owner : you must have all rights on this survey.I'm the owner of the survey and so far I'm able to use a couple of function such as create participant, get_response_ids.
Can you try with a superadmin ?
Acn you try with a sample user ?
Etc ?
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- arnaudbore
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 43
- Thank you received: 1
2 years 10 months ago - 2 years 10 months ago #216851
by arnaudbore
Replied by arnaudbore on topic Remote control - ask for IDs of completed responses
Dear Denis,
Thank you for your quick response. It took me a while to get back to this task.
I agreed myself as superadmin privileges and still get the same error.
-> Array ( [status] => No permission )
Could it be because the export_responses is not a RPC function ?
Thank you again for your help.
Thank you for your quick response. It took me a while to get back to this task.
I agreed myself as superadmin privileges and still get the same error.
-> Array ( [status] => No permission )
Could it be because the export_responses is not a RPC function ?
Thank you again for your help.
Last edit: 2 years 10 months ago by arnaudbore.
The topic has been locked.
- arnaudbore
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 43
- Thank you received: 1
2 years 10 months ago #216855
by arnaudbore
Replied by arnaudbore on topic Remote control - ask for IDs of completed responses
Just found the issue....php issue on my side.
The following user(s) said Thank You: DenisChenu
The topic has been locked.