|
# /app/auth
|
|
# /app/auth *(POST)*
|
|
|
|
|
|
Tries to login an user to the requested ODOO instance and returns its token and the available components
|
|
Tries to login an user to the requested ODOO instance and returns its token and the available components
|
|
|
|
|
|
**Method:** ```POST```
|
|
|
|
|
|
|
|
**Params**
|
|
**Params**
|
|
* `email` *(required)*
|
|
* `email` *(required)*
|
|
* `passwd` *(required)*
|
|
* `passwd` *(required)*
|
... | @@ -20,9 +18,17 @@ true, "inventory": true, "internal": true, "expedition": true, "reception": true |
... | @@ -20,9 +18,17 @@ true, "inventory": true, "internal": true, "expedition": true, "reception": true |
|
|
|
|
|
|
|
|
|
|
|
|
|
# /app/warehouse
|
|
# /app/warehouse *(GET)*
|
|
|
|
|
|
|
|
Returns all the available warehouses of the requested instance
|
|
|
|
|
|
|
|
**Params**
|
|
|
|
* `token` *(required)*
|
|
|
|
* `dbname` *(required)*
|
|
|
|
|
|
* **Method:** `GET`
|
|
**Return:** *JSON*
|
|
* **Params**
|
|
|
|
* **token**
|
|
**Example return:**
|
|
* **dbname** |
|
```
|
|
\ No newline at end of file |
|
{"status": true, "warehouse": [{"warehouse_name": "Almacen Central", "warehouse_id": 1}]}
|
|
|
|
``` |
|
|
|
\ No newline at end of file |