Odoo REST API

by
Odoo

130.02

v 13.0 Third Party 11
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 968
Technical Name restapi_acs
LicenseOPL-1
Websitehttps://www.aurayancs.com
Versions 13.0 15.0 14.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 968
Technical Name restapi_acs
LicenseOPL-1
Websitehttps://www.aurayancs.com
Versions 13.0 15.0 14.0

The RESTful API that accesses Odoo using standard HTTP GET, PUT, POST, and DELETE methods and a simple JSON input and output format.


It uses both the OAuth1 and OAuth2 protocols to authenticate 3rd party applications.

The Odoo REST API endpoints can be used for a variety of purposes such as:


Odoo Version Information:


GET /restapi/1.0/common/version

Logging In:


- OAuth1 Authentication
POST /restapi/1.0/common/oauth1/request_token (Temporary Credential Request endpoint)
GET /restapi/1.0/common/oauth1/authorize (Resource Owner Authorization endpoint)
POST /restapi/1.0/common/oauth1/access_token (Token Credentials Request endpoint)

- OAuth2 Authentication
GET /restapi/1.0/common/oauth2/authorize (Resource Owner Authorization endpoint)
POST /restapi/1.0/common/oauth2/access_token (Token Credentials Request endpoint)

Calling Methods:


- Check Access Rights
GET /restapi/1.0/object/{object_name}/check_access_rights?operation={list_of_operations}

- List Records
GET /restapi/1.0/object/{object_name}/search

- Count Records
GET /restapi/1.0/object/{object_name}/search_count

- Read Records
GET /restapi/1.0/object/{object_name}/{id} (Read Single Record)
GET /restapi/1.0/object/{object_name}?ids={comma_separated_ids} (Read Record Set)
GET /restapi/1.0/object/{object_name}/?domain={comma_separated_list_of_args} (Read Filter Records)

- Listing Record Fields
GET /restapi/1.0/object/{object_name}/fields_get

- Create Records
POST /restapi/1.0/object/{object_name}?vals={values_for_the_object's_fields}

- Update Records
PUT /restapi/1.0/object/{object_name}/{id}?vals={fields_and_values_to_update} (Update Single Record)
PUT /restapi/1.0/object/{object_name}?ids={comma_separated_ids}&vals={fields_and_values_to_update} (Update Record Set)

- Delete Records
DELETE /restapi/1.0/object/{object_name}/{id} (Delete Single Record)
DELETE /restapi/1.0/object/{object_name}?ids={comma_separated_ids} (Delete Record Set)

Report Printing:

GET /restapi/1.0/report/{report_name}/{id} (Print Single Report)
GET /restapi/1.0/report/{report_name}?ids={comma_separated_ids} (Print Report Set)

Inspection and Introspection:

- Provides information about Odoo models via its various fields (ir.model)
- Provides information about the fields of Odoo models and allows adding custom fields without using Python code (ir.model.fields)

API Quick Reference Guide

For a quick reference guide to use the odoo REST API Click Here
Checkout Other Apps Developed By Aurayan Consulting Services Click Here

Free Support

1) One month free bug support period will be offered pertaining to any one server used, testing or live.
2) If an error appears in our app due to other custom modules installed in your system, we will charge for our efforts to resolve those errors.
3) Please refer the document for configuration. If you need our support for configuration, please request our paid support.
4) Please note that you are not allowed to distribute or resell this module after purchase.
5) This module is tested and working on Odoo vanilla with Ubuntu OS.

Our Contact Details

E-mail : aurayancs@gmail.com | Skype : aurayancs@gmail.com | Mobile : +91-931-346-7836
For product demo, please generate a ticket and mention your preferred time and date. Please make sure the demo timing you mentioned are as per Indian Standard Time (IST), between 10:30 AM to 7:00 PM (IST), Monday to Friday.

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_acs is available on Odoo App Store, Here are links for:

Installation

Install restapi_acs module by following below steps:

  1. Unzip restapi_acs module to custom addons directory
  2. Restart odoo server
  3. Activate Developer Mode from the Settings menu
  4. Navigate to the Apps menu
  5. Click on Update Apps List menu in left side bar
  6. Once apps list is updated, click on Apps menu from left / top side bar
  7. Search module restapi_acs
  8. 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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.