Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Where can I find an OpenERP Web Service API method list?

By
Jill Glue
on 6/21/13, 9:58 AM 6,230 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

1

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

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.

OpenERP Vietnam
on 8/30/13, 5:23 AM
1

patrick

--patrick--
1958
| 5 4 7
Baarn, Netherlands
--patrick--
patrick
On 6/21/13, 11:29 AM

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).

0

Hello Patrick, 

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 6/21/13, 9:58 AM
Seen: 6230 times
Last updated: 11/25/16, 6:54 AM