Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2296 Weergaven

Is it possible to synchronize data between Odoo enterprise on Odoo.com with other SW? Does the API work here?

Avatar
Annuleer
Beste antwoord

Yes you can build your APIs through Odoo's XMLRPC point located at this URL /xmlrpc/2/object

here is an example of an XMLRPC request from a PHP file

	$url = "http://demo3.odoo.com";
$db = "demo3";
$username = "admin";
$password = "admin";
$end_point = $url . "/xmlrpc/2/object";

        $model = ripcord::client($end_point);

        $result = $model->execute_kw(
$db,$uid,$password,"res.partner","search_read",
array(
array(
// array("id","=",1),
array("name","ilike","ali")
),
),
array('fields'=>array("name","phone","email"))
);

echo json_encode($result);


You can find a full example here if you want.



Happy to help :) an upvote will be awesome

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
aug. 24
761
2
jul. 24
1006
2
jun. 24
855
2
mrt. 24
3144
1
feb. 24
949