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.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.