Default Odoo uses XML-RPC web services as a communication medium between other platforms to send/receive requests/responses.
To ease down the hassles of handling these responses, there is a need for a module that creates Rest API Module for Odoo and allows the user to access and modify data simply using HTTP requests.
Aktiv Software offers custom Odoo development services and has expertise in developing a third-party web service module that allows users to access Odoo models through HTTP requests such as POST, PUT, GET and DELETE.
This Rest API module could be used as a connector between Odoo and any third-party app to let the admin fetch, create, update and delete a record from the database by sending the request in JSON. On the other hand, the response could be chosen in the JSON dictionary format.
The REST API Odoo Module Contains the Following Endpoints:
• It allows the user to fetch records from the database.
• The user could also create a record in the Odoo database.
• Records could be updated in the Odoo database.
• The user could delete records in the database.
• It also allows fetching the field information of any record in the database.
• The user could search for a specific record in the database.
• It also allows getting results of similar records present in the database.
User Access Control:
Not only admin but every user could create third-party API keys to access the endpoints. Separate keys could be made for different endpoint users and the admin could also restrict specific users to different API key users.
Authentication:
This is done with OAuth. Each endpoint requires the access token which checks for the model access rights for the specific endpoint. The token will be passed to the endpoint via http header: Authorization: Bearer <token>.
If you are interested in 3rd party REST API module, schedule a live demo.