How Rest API Module will Sync Records Between Odoo & 3rd Party Applications - aktivsoftwarecom/Odoo GitHub Wiki

Default Odoo uses XML-RPC web services as a medium of communication 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 Restful API for Odoo and allows the user to access and modify data simply using HTTP requests.

Aktiv Software having expertise in custom Odoo development servicess developed a web service module that allows the user to access Odoo models through HTTP requests such as POST, PUT, GET and DELETE. This module could be used as a connector between Odoo and any third-party app to sync records.

Using this module, the admin can 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 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.

rest-api-module

## User Access Control: Not only admin but every user could create 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 .

To avail this web service module you could directly contact us at [email protected]. In case you want a live demo or a user guide you could easily get it.

Check the original version of this article: https://www.aktivsoftware.com/know-how-rest-api-module-will-sync-records-between-odoo-and-3rd-party-applications/

⚠️ **GitHub.com Fallback** ⚠️