- Posts: 5
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
RemoteControl 2 API - Get one response from ID
- ellande
- Topic Author
- Offline
- New Member
Less
More
6 years 10 months ago #153814
by ellande
RemoteControl 2 API - Get one response from ID was created by ellande
Hello,
I'm using the remote control 2 API to get all answer (all IDs). But now I would like to get the response for a specific response from ID.
In second time, I would like to get attached files ?
Thank you very much.
Best regards,
Ellande
I'm using the remote control 2 API to get all answer (all IDs). But now I would like to get the response for a specific response from ID.
In second time, I would like to get attached files ?
Thank you very much.
Best regards,
Ellande
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
6 years 10 months ago #153818
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 RemoteControl 2 API - Get one response from ID
If using the
export_responses method
, there are "$iFromResponseID" and "$iToResponseID" parameters. It seems to me that setting both of these to the same value will return a single response.
As far as I know, you cannot access uploaded files via the API.
As far as I know, you cannot access uploaded files via the API.
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: ellande
The topic has been locked.
- ellande
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
6 years 10 months ago - 6 years 10 months ago #153821
by ellande
Replied by ellande on topic RemoteControl 2 API - Get one response from ID
Thank you !
I didn't see these parameters.
I'm trying to modify my code.
To get the attached files, it's a bad news !!!
But I see when I get answer in JSON, someting like this :
[{"title":"test","comment":"","size":"304.944","name":"Capture%20d%E2%80%99e%CC%81cran%202017-03-24%20a%CC%80%2009.03.07.png","filename":"fu_xtv8dwcdmbu8t2e","ext":"png" }]
Maybe we can acces to the file, with a secure access.....
What do you think about it ?
I didn't see these parameters.
I'm trying to modify my code.
To get the attached files, it's a bad news !!!
But I see when I get answer in JSON, someting like this :
[{"title":"test","comment":"","size":"304.944","name":"Capture%20d%E2%80%99e%CC%81cran%202017-03-24%20a%CC%80%2009.03.07.png","filename":"fu_xtv8dwcdmbu8t2e","ext":"png" }]
Maybe we can acces to the file, with a secure access.....
What do you think about it ?
Last edit: 6 years 10 months ago by ellande.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
6 years 10 months ago #153832
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 RemoteControl 2 API - Get one response from ID
Sorry, out of my skill set.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.