- Posts: 8
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
{ request: { debugId: 2, uri: 'https://limesurvey.xxxxx.loc/index.php/admin/remotecontrol', method: 'POST', headers: { 'user-agent': 'Apache-HttpClient/4.2.2 (java 1.5)', host: 'limesurvey.xxxxx.loc', path: '/index.php/admin/remotecontrol', connection: 'keep-alive', 'content-type': 'application/json', 'content-length': 160 }, body: '{"method":"export_responses()","params":{"sSessionKey":"2u9qys5dxk57d7bn2dkvgxspe2wteiju","iSurveyID":186622,"sDocumentType":"csv","sLanguageCode":null},"id":1}' } } { response: { debugId: 2, headers: { server: 'nginx/1.6.2', date: 'Fri, 10 Jul 2015 15:31:18 GMT', 'content-type': 'text/javascript;charset=utf-8', 'content-length': '35', connection: 'keep-alive', 'x-powered-by': 'PHP/5.3.10', 'set-cookie': [Object], expires: 'Thu, 19 Nov 1981 08:52:00 GMT', 'cache-control': 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0', pragma: 'no-cache' }, statusCode: 200, body: '{"id":1,"result":null,"error":null}' } }
RPC Routine to export responses. Returns the requested data in the specified format as base64 encoded string.
Return: array|string On success: Requested data in the specified format as base 64-encoded string. On failure array with error information
TypeError('must start with number, buffer, array or string');
"method":"export_responses()"
"method":"export_responses"