REST API Application (JSON & XML)
REST API, also known as (application programming interference), is commonly used to provide web services interaction. All interactions between applications, data, and devices have APIs that allow computers to operate them and that is what ultimately creates connectivity.
The RESTful API accesses Odoo using standard HTTP GET, PUT, POST, and DELETE methods and a simple JSON and XML input and output format.
It uses both the OAuth1 and OAuth2 protocols to authenticate 3rd party applications.
Consider the following link for a quick reference guide to use Odoo RestAPI:
https://bit.ly/3QI4219
This module is compatible with
Authentication
Provides Authentication with both Oauth1, Oauth2 and Basic protocols.
Fetching of Records
Super easy to fetch records of any Odoo objects.
Creating records
Creating records in Odoo.
Updates records
Updates records in Odoo.
Deleting Records
Deleting records in Odoo
Calling Methods
Calling Methods in Odoo
Support Reports
Supports Report Printing
Odoo Version Information.
|
OAuth1 Authentication
|
OAuth2 Authentication
|
Basic Authentication
|
Check Access Rights
|
List Record
|
Count Record
|
Read Records
|
Listening Record Fields
|
Create Record
|
Update Records
|
Delete Records
|
Report Printing
|
Inspection and Introspection
|
|
Frequently Asked Questions
Yes, You need to execute the requirements.txt file of this module using pip3.
You need to go to Users â Authentication, Here you need to create a new record after the creation of the record you will get Consumer Key and Consumer Secret.
Go to Users â Authentication â Oauth2 Access Token and Endpoint, Here to Authorize Redirect URL you need to add a URL and this URL will be used as Redirect URL for Oauth2.
No, the Oauth2 access token will be expired within half an hour, then you need to regenerate the access token using the refresh token.
Yes, Our module also supports request operation for custom objects.
No, Our module will not work on Multi-database filters.
Yes, You can call functions which are declared on a particular model.
For Example: /restapi/1.0/object///
Terms & Conditions
- All the apps are to be purchased separately, for individual versions and individual edition.
- One month free bug support period will be offered pertaining to any one server used, testing or live.
- Synconics is not responsible for installation or updating of the module on any of your server.
- If an error appears in our app due to other custom modules installed in your system or if Odoo base source code is not updated on your system, to make it compatible with your source code, we'll charge you for our efforts to resolve those errors and make the module compatible with your source code.
- Please refer the document for configuration. If any support is needed for module configuration, installation, updating or any help is needed, it will be considered in paid support.
- Please note that you are not allowed to distribute or resell this module after purchase.
- This module is tested and working on Odoo vanilla with Ubuntu OS.
- Support services will be provided from Monday to Friday, 10:30 AM to 7 PM IST (Indian Standard Time).
- Support will not be provided during Indian public holidays or company holidays.
Odoo REST API: Version 1.0 documentation
Our Odoo REST API Reference houses a lot of information, but doesn't always tell you how you should use it.
If you want to built apps and other integrations for the Odoo, this tutorial will walk you through what is required to authenticate and make basic API calls.
Get the module
The module restapi is available on Synconics App Store, Here are links for:
- Version 12.0 (Community & Enterprise)
- Version 13.0 (Community & Enterprise)
- Version 14.0 (Community & Enterprise)
- Version 15.0 (Community & Enterprise)
Installation
Install restapi module by following below steps:
- Unzip restapi module to custom addons directory
- Restart odoo server
- Activate Developer Mode from the Settings menu
- Navigate to the Apps menu
- Click on Update Apps List menu in left side bar
- Once apps list is updated, click on Apps menu from left / top side bar
- Search module restapi
- Click on Install button.
Getting Started
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module