Skip to Content
Menu
This question has been flagged
4 Replies
12661 Views

We are looking to implement OpenERP for a client in a web based application. This means we will be using the web services through XML-RPC to connect with their database.

We have already found quite some how-to documentation, but cannot seem to find a list of methods and arguments callable from the execute function.

Is there any where we can find out the signature of the accessible API methods?

Thanks

Avatar
Discard
Best Answer

Look for this file in your OpenERP server directory:

./openerp/service/web_services.py

You should find several class definition:

  • db
  • common
  • object
  • wizard
  • report

Those are the services you will find, now for each service you should see these function defs:

  • exp_login
  • exp_authenticate
  • etc...

To call the function from another application, just remove the exp_ , e.g:

login, authenticate, and so on...

HTH

Avatar
Discard

You can refer at https://doc.openerp.com/6.0/developer/6_22_XML-RPC_web_services/. I did a demo to call a function with framework .NET access web service OpenERP at http://www.youtube.com/watch?v=u-4WYOgN1RM. In case calling others function in OpenERP, you still call normally.

Best Answer

If you want to have some online-documentation, try here, and click on

namespaces -> Name space list -> openerp -> osv -> orm (for everything regarding basic / all models)

or

namespaces -> Name space list -> openerp -> addons (for everything regarding specific models).

Avatar
Discard
Best Answer

Hello Patrick, 

Your link seems to be broken. Where I can find out this documentation ?

Avatar
Discard
Related Posts Replies Views Activity
2
Aug 18
2990
1
Mar 15
7511
0
Dec 24
20
3
Aug 24
12142
2
Jan 19
16872