Odoo Help


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.


How to implement JSON REST webservice?

on 10/6/14, 4:56 AM 703 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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