Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: invite_participants via remote control JSON/RPC api

invite_participants via remote control JSON/RPC api 11 Monate 3 Wochen her #101140

  • rossokr
  • rossokrs Avatar
  • OFFLINE
  • Bronze Donor
  • Beiträge: 5
  • Karma: 0
Hello-
I've been playing with a local installation of limesurvey and am currently testing the remote control api capability, as this is the most desired feature of this product that I am looking at. Currently, I can successfully call/run:
get_session_key
add_participants
However, after these calls I have tried
invite_participants
and keep getting an 'invalid session id' error. I have tried everything to troubleshoot this (manipulating strings, generating new session key for the request, validated typos, etc). Before I continue, I just wanted to verify that this remote feature is working/available.
I am using Version 2.00+ Build 131022 and issuing calls with Java (HttpClient)
Thanks!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

invite_participants via remote control JSON/RPC api 11 Monate 3 Wochen her #101180

  • rossokr
  • rossokrs Avatar
  • OFFLINE
  • Bronze Donor
  • Beiträge: 5
  • Karma: 0
I solved this myself. The parameters I was using were not correct. The session key param in invite_participants needs to be named sessionkey....not sessionKey or sSessionKey.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.111 Sekunden
Donation Image