- Posts: 62
- Thank you received: 3
Ask the community, share ideas, and connect with other LimeSurvey users!
I don't understand the question. My example does use the token to retrieve the participant properties.... there is a way to call this get_participant_properties directly using the TOKEN?
The version is 2.50+ Build 160620tpartner wrote: My example is for version 2.5. What version are you using?
I try also on another ( little bit older ) installation of limesurvey, and works in the same way using TID instead token.tpartner wrote: I'm sorry, I cannot help with that error because I cannot reproduce it.
If you need to use the TID, you can access it via the list_participants() method .
Code:// Find the TID of a token $aConditions = array('token' => $token); $participants = $myJSONRPCClient->list_participants($sSessionKey, $iSurveyID, 0, 1, true, '', $aConditions); $tid = $participants[0]['tid']; echo 'TID: '.$tid;