Welcome to the LimeSurvey Community Forum

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

remote control 2 issues

  • egisupport
  • egisupport's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 8 months ago #204007 by egisupport
remote control 2 issues was created by egisupport
It appears the remotecontrol API was built with token tables in mind. Many of the endpoints expect a token identifier. for example...
Code:
/**
     * Obtain all uploaded files for all responses
     *
     * @access public
     *
     * @param string  $sSessionKey  Auth credentials
     * @param int     $iSurveyID    ID of the Survey
     * @param int     $sToken       Response token
     *
     * @return array On success: array containing all uploads of the specified response
     *               On failure: array with error information
     */

However the survey does not have a token table. Will a response ID work as a replacement for the sToken?
As it is the parameter type is 'int' and yet tokens themselves are alphanumeric.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #204511 by DenisChenu
Replied by DenisChenu on topic remote control 2 issues
See : forums.limesurvey.org/forum/development/...l_from_uploaded_file

It's for this function,
I close this one

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.

Lime-years ahead

Online-surveys for every purse and purpose