Add a response to the survey responses collection
lsAddResponse( surveyID, response, lsAPIurl = getOption("lsAPIurl"), sessionKey = NULL )
surveyID | ID of the survey |
---|---|
response | The actual response. A list of answers, where the keys must
follow the format |
lsAPIurl | (optional) The URL of the LimeSurvey RemoteControl 2 JSON-RPC API |
sessionKey | (optional) Authentication token, see |
The response ID or an list with status message (can include result_id)
https://api.limesurvey.org/classes/remotecontrol_handle.html#method_add_response
if (FALSE) { lsAddResponse("123456", list("326623X37X288" = "This answer comes via RPC", "326623X38X289" = "This one also")) }