Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2497 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 8 24
967
2
thg 7 24
1206
2
thg 6 24
1063
2
thg 3 24
3409
1
thg 2 24
1116