|
|
API Routes/General |
|
|
\ No newline at end of file |
|
|
# /app/delivery_scan *(POST)*
|
|
|
|
|
|
Returns all the information of a picking
|
|
|
|
|
|
**Params**
|
|
|
* `picking` *(required)*
|
|
|
* `token` *(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/delivery_sign *(POST)*
|
|
|
|
|
|
Signs a delivery and returns sign information
|
|
|
|
|
|
**Params**
|
|
|
* `token` *(required)*
|
|
|
* `picking` *(required)*
|
|
|
* `sign` *(required)*
|
|
|
* `date_sign` *(required)*
|
|
|
* `latitude` *(required)*
|
|
|
* `longitude` *(required)*
|
|
|
* `dbname` *(required)*
|
|
|
|
|
|
**Return:** *JSON*
|
|
|
|
|
|
**Example return:**
|
|
|
```
|
|
|
{"status": true, "delivery_sign": {"email": "maite@actiasg.com", "date_sign": "2020-11-24 12:33:56.601962", "picking": "ALB/00001"}}
|
|
|
``` |
|
|
\ No newline at end of file |