TIP: You can type at any time to perform a new search.
WebService Core
webservice_core · OCA/web-api
- Repository
- OCA/web-api · module folder · Try on Runboat
- Module version
- 1.0.1
- Category
- Uncategorized
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/web-api
- Last tracking update
- 2026-09-23 17:21:01
- Authors
- Camptocamp, Odoo Community Association (OCA), Creu Blanca
- Maintainers
- Camptocamp, Odoo Community Association (OCA), Creu Blanca
- Committers
- Simone Orsi, OCA-git-bot, oca-ci
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- openupgradelib, requests
- System dependencies
- None
- Required by
- webservice
- Description
This module provides the ``webservice.backend`` model with its authentication (public, username/password, API key) and HTTP call features (``get``/``post``/``put``). It has no dependency on ``component`` or ``server_environment``, so it can be used as a lightweight building block by any module needing to configure and call an outbound webservice, without pulling in extra frameworks.
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
webservice_backend_form_view |
webservice.backend.form (in webservice_core) | webservice.backend | form | New |
webservice_backend_search_view |
webservice.backend.search (in webservice_core) | webservice.backend | search | New |
webservice_backend_tree_view |
webservice.backend.tree (in webservice_core) | webservice.backend | list | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (2)
New fields (3)
-
company_idMany2one → res.companystring='Company' args: 'res.company' -
nameCharrequired=True -
urlCharrequired=True
No public methods.
New fields (8)
-
api_keyCharauth_type='api_key'string='API Key' -
api_key_headerCharauth_type='api_key'string='API Key header' -
auth_typeSelectionrequired=Trueselection=[('none', 'Public'), ('user_pwd', 'Username & password'), ('api_key', 'API Key')] -
content_typeSelectionargs: [('application/json', 'JSON'), ('application/xml', 'XML'), ('application/x-www-form-urlencoded', 'Form')] -
passwordCharauth_type='user_pwd' -
protocolSelectionrequired=True args: [('http', 'HTTP Request')] -
tech_nameCharcopy=Falsehelp='Unique name for technical purposes. Automatically generated from the name if left empty.'required=True -
usernameCharauth_type='user_pwd'
-
call(self, method, *args, **kwargs) -
call_delete(self, **kwargs) -
call_get(self, **kwargs) -
call_post(self, **kwargs) -
call_put(self, **kwargs) -
create(self, vals_list)@api.model_create_multi -
write(self, vals)