Odoo Help


How to implement JSON REST webservice?

on 10/6/14, 4:56 AM 822 views


I need to have below functionality

a) Call service URL which resides on core or custom module within openerp

b) Process service

c) Write response back to caller

for example:

POST URL http://localhost:9696/openerp/authUser

    "userName": "Raj",
    "password": "raj@#147",

    "status": 0,
    "message": "User validated successfully",

Please help if there exist any solution or best way to implement

Few queries:

a) In other programming API's we do extract service part for example /service/authUser, then process service with request data by parsing and write response, how do we re-direct or route to service processing code in openerp?

b) As i have seen we can write a simple python service client





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


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/6/14, 4:56 AM
Seen: 822 times
Last updated: 7/10/16, 5:32 AM