| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 288 |
| Technical Name |
rest_api_odoo |
| License | LGPL-3 |
| Website | https://www.cybrosys.com |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 288 |
| Technical Name |
rest_api_odoo |
| License | LGPL-3 |
| Website | https://www.cybrosys.com |
| Versions | 16.0 17.0 18.0 19.0 |
Key Highlights
Api Key Generation
This module Api key generation using database authentication.
Create Records
Can create records for the models we want to access.
Methods
This module Choose specific methods like GET, POST etc.
Create & Updates
This module Create and update records from database.
Delete
This module Choose DELETE method to delete records.
Add a New Parameter in the Odoo.conf File
Note: If you need to uninstall the module, ensure you remove this parameter from the configuration file.
Locate the Postman collections in the provided app folder.
Open Postman
Select the JSON file
Imported collections.
Open Authentication.
Update the Headers.
API Key in the User's Form View
Create Rest API Records.
Getting Records via REST API
Note: Make sure that GET method is enabled for product.template model in Rest API record.
The retrieved records.
Creating Records via POST Method.
Creating Records via POST Method.
Note: Make sure that POST method is enabled for the selected model in Rest API record.
Created Record.
Update Records Using PUT.
Delete Records Using DELETE.
Note: Make sure that DELETE method is enabled for the selected model in Rest API record.
Response after deleting the record.
Our Features
We can create records in the rest api app.
Update of records in the database can be done with PUT method.
request to retrieve data from the database.
Database records can be deleted by sending DELETE method request.
Frequently Asked Questions
What is the purpose of the Odoo REST API module?
The Odoo REST API module allows users to connect to the Odoo database and perform operations using standard HTTP methods: GET, POST, PUT, and DELETE.
How can the REST API module benefit developers?
It enables developers to integrate Odoo with other applications and systems, facilitating seamless data exchange and enhancing functionality.
What types of requests can be made using the Odoo REST API?
Users can make GET requests to retrieve data, POST requests to create new records, PUT requests to update existing records, and DELETE requests to remove records from the database.
Please log in to comment on this module