|
API Routes/General |
|
# /app/reception_receptions *(POST)*
|
|
\ No newline at end of file |
|
|
|
|
|
Returns all receptions of a selected warehouse
|
|
|
|
|
|
|
|
**Params**
|
|
|
|
* `token` *(required)*
|
|
|
|
* `warehouse_id` *(required)*
|
|
|
|
* `dbname` *(required)*
|
|
|
|
|
|
|
|
**Return:** *JSON*
|
|
|
|
|
|
|
|
**Example return:**
|
|
|
|
```
|
|
|
|
{"status": true, "reception_receptions": [{"name": "WH/IN/00011", "picking_id": 37, "partner": "Agencia Estatal de Administraci\u00f3n Tributaria (AEAT)", "origin": "PO00009"}, {"name": "WH/IN/00015", "picking_id": 54, "partner": "Agencia Estatal de Administraci\u00f3n Tributaria (AEAT)", "origin": "PO00013"}, {"name": "WH/IN/00016", "picking_id": 56, "partner": "Agencia Estatal de Administraci\u00f3n Tributaria (AEAT)", "origin": "PO00014"}]}
|
|
|
|
```
|
|
|
|
|
|
|
|
# /app/product_in_reception *(POST)*
|
|
|
|
|
|
|
|
Returns all the information of a picking
|
|
|
|
|
|
|
|
**Params**
|
|
|
|
* `token` *(required)*
|
|
|
|
* `warehouse_id` *(required)*
|
|
|
|
* `product` *(required)*
|
|
|
|
* `dbname` *(required)*
|
|
|
|
|
|
|
|
**Return:** *JSON*
|
|
|
|
|
|
|
|
**Example return:**
|
|
|
|
```
|
|
|
|
{"product_quantity_done": 0.0, "serial": true, "reception_product": "", "product_info": "aaa", "status": true, "product_quantity_inicial": 40.0}
|
|
|
|
```
|
|
|
|
|
|
|
|
# /app/reception_validate *(POST)*
|
|
|
|
|
|
|
|
Returns all the information of a picking
|
|
|
|
|
|
|
|
**Params**
|
|
|
|
* `token` *(required)*
|
|
|
|
* `picking_id` *(required)*
|
|
|
|
* `dbname` *(required)*
|
|
|
|
|
|
|
|
**Return:** *JSON*
|
|
|
|
|
|
|
|
**Example return:**
|
|
|
|
```
|
|
|
|
{"status": true, "delivery_scan": {"city": "Reus", "partner": "ACTIA SUGRANYES, S.L.", "phone": "977322615", "user":
|
|
|
|
"Administrator", "note": false, "email": "maite@actiasg.com", "country": "Espa\u00f1a", "mobile": "False", "zip":
|
|
|
|
"43202", "street": "Raval Jes\u00fas, 14 2on", "picking": "ALB/00001", "street2": false}}
|
|
|
|
```
|
|
|
|
|
|
|
|
# /app/reception_product *(POST)*
|
|
|
|
|
|
|
|
Returns all the information of a picking
|
|
|
|
|
|
|
|
**Params**
|
|
|
|
* `token` *(required)*
|
|
|
|
* `picking_id` *(required)*
|
|
|
|
* `barcode` *(required)*
|
|
|
|
* `qty` *(required)*
|
|
|
|
* `serial` *(required)*
|
|
|
|
* `dbname` *(required)*
|
|
|
|
|
|
|
|
**Return:** *JSON*
|
|
|
|
|
|
|
|
**Example return:**
|
|
|
|
```
|
|
|
|
{"status": true, "delivery_scan": {"city": "Reus", "partner": "ACTIA SUGRANYES, S.L.", "phone": "977322615", "user":
|
|
|
|
"Administrator", "note": false, "email": "maite@actiasg.com", "country": "Espa\u00f1a", "mobile": "False", "zip":
|
|
|
|
"43202", "street": "Raval Jes\u00fas, 14 2on", "picking": "ALB/00001", "street2": false}}
|
|
|
|
``` |