Skip to Content
Menu
This question has been flagged

Hello, I have installed Odoo 10 in my localhost and I have followed web service api documentation here https://www.odoo.com/documentation/10.0/api_integration.html

My script is:


error_reporting(E_ALL);

ini_set('display_errors', 1);

require_once('ripcord_lib/ripcord.php');

$url = 'http://localhost:8069';

$db = 'DEMO';

$username = *****;

$password = *****;

$common = ripcord::client($url.'/xmlrpc/2/common');

print_r($common->version());

$uid = $common->authenticate($db, $username, $password, array());

print_r($uid);


It does print only the version

Array ( [server_serie] => 10.0 [server_version_info] => Array ( [0] => 10 [1] => 0 [2] => 0 [3] => final [4] => 0 [5] => ) [server_version] => 10.0-20181127 [protocol_version] => 1 )

Why it does not print the user id? Thanks for your help. 

Avatar
Discard
Related Posts Replies Views Activity
1
Nov 16
4387
4
Aug 24
33338
5
Dec 20
8634
1
Sep 20
5901
0
Oct 18
1969