Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Get Session parameters
- $myJSONRPCClient = new JsonRPCClient( LS_BASEURL );
- $sessionKey= $myJSONRPCClient->get_session_key( LS_USER, LS_PASSWORD );
- $aParticipantData = array(
- 'user'=>array('firstname'=>'Christopher',
- 'lastname'=>'hitchens',
- 'email'=>'christopher@example.com',
- 'language'=>'en',
- 'emailstatus'=>'ok'),
- );
- $added_user = $myJSONRPCClient->add_participants($sessionKey, $survey_id, $aParticipantData, 1);
- $myJSONRPCClient->release_session_key($sessionKey );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement