Oregional Odoo RestAPI endpoint: /orestapi/application/model Query available models for an application |
Odoo models can be made available at the Application screen |
https://odoo.dev.oregional.hu/orestapi/application/model |
Item | Description | Notes |
---|---|---|
endpoint | /orestapi/application/model | |
type | GET | |
Header | ||
authorization | Bearer access_token | |
Params | ||
- | - | No parameters necessary, it is enough to simply call the endpoint with a valid access_token |
[{"name": "Contact", "model": "res.partner"}, {"name": "Lead/Opportunity", "model": "crm.lead"}] |
Returns a list of dictionaries (key-value pairs) |
Parent | Key | Type | Default | Description | Notes |
---|---|---|---|---|---|
model | string | - | the technical name of the model (eg: res.partner, crm.lead, account.invoice, etc) | Unique reference of the model, should be used in other API calls | |
name | string | - | the human readable name of the model (eg: Contact, Lead/Opportunity, Invoice, etc) | This is what users should see |