getError(); if ($err) { echo '
' . $err . ''; echo '
' . htmlspecialchars($client->getDebug(), ENT_QUOTES) . ''; exit(); } //login ---------------------------------------------------- $login_parameters = array( 'user_auth' => array( 'user_name' => $username, 'password' => md5($password), 'version' => '1' ), 'application_name' => 'SoapTest', 'name_value_list' => array( ), ); $login_result = $client->call('login', $login_parameters); echo '
'; print_r($login_result); echo ''; //get session id $session_id = $login_result['id']; //create account ------------------------------------- $set_entry_parameters = array( //session id "session" => $session_id, //The name of the module from which to retrieve records. "module_name" => "Accounts", 'ids' => array( '5b46ae02-3848-df9d-9703-57875b113611', ), //Record attributes 'select_fields' => array( 'name', ), 'link_name_to_fields_array' => array( ), ); $set_entry_result = $client->call("get_entries", $set_entry_parameters); echo "
"; print_r($set_entry_result['entry_list']); echo ""; ?>