Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • minorisa-app minorisa-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Sergi Zamora
  • minorisa-appminorisa-app
  • Wiki
  • Api routes
  • Expeditions

Expeditions · Changes

Page history
Update Expeditions authored Nov 24, 2020 by Sergi Zamora's avatar Sergi Zamora
Hide whitespace changes
Inline Side-by-side
API-Routes/Expeditions.md
View page @ ec7d06a3
API Routes/General # /app/expeditions *(POST)*
\ No newline at end of file
Returns an array of all expeditions and their information
**Params**
* `picking` *(required)*
* `warehouse_id` *(required)*
* `dbname` *(required)*
**Return:** *JSON*
**Example return:**
```
{"status": true, "expeditions": [{"name": "ALB/00003", "picking_id": 13, "partner": "GESTORIA LLURBA GARZON, S.L.", "origin": "PO03969", "scheduled_date": "2020-10-07 10:46:10"}, {"name": "ALB/00009", "picking_id": 25, "partner": "COSTA CONCENTRADOS LEVANTINOS", "origin": "SO011", "scheduled_date": "2020-10-15 10:00:01"}, {"name": "POS00001", "picking_id": 26, "partner": "COSTA CONCENTRADOS LEVANTINOS", "origin": false, "scheduled_date": "2020-10-15 10:02:12"}, {"name": "ALB/00011", "picking_id": 30, "partner": "GESTORIA LLURBA GARZON, S.L.", "origin": "SO013", "scheduled_date": "2020-10-16 08:07:04"}, {"name": "ALB/00012", "picking_id": 32, "partner": "COSTA CONCENTRADOS LEVANTINOS", "origin": "SO014", "scheduled_date": "2020-10-16 08:21:20"}, {"name": "ALB/00013", "picking_id": 33, "partner": "PRATS CANELA ASSESSORS, S.L.", "origin": "SO015", "scheduled_date": "2020-10-16 08:23:49"}, {"name": "ALB/00014", "picking_id": 34, "partner": "MEZQUITA GARCIA-GRANERO, C.B.", "origin": "SO016", "scheduled_date": "2020-10-16 08:28:27"}, {"name": "ALB/00015", "picking_id": 35, "partner": "MEZQUITA GARCIA-GRANERO, C.B.", "origin": "SO017", "scheduled_date": "2020-10-16 08:34:38"}, {"name": "ALB/00016", "picking_id": 38, "partner": "GESTORIA LLURBA GARZON, S.L.", "origin": "SO018", "scheduled_date": "2020-10-16 08:40:40"}, {"name": "ALB/00021", "picking_id": 44, "partner": "COSTA CONCENTRADOS LEVANTINOS", "origin": "SO024", "scheduled_date": "2020-10-16 09:23:38"}, {"name": "ALB/00025", "picking_id": 48, "partner": "GESTORIA LLURBA GARZON, S.L.", "origin": "SO028", "scheduled_date": "2020-10-16 10:30:37"}, {"name": "ALB/00035", "picking_id": 68, "partner": "SOLA DOMINGO, S.A.", "origin": "SO037", "scheduled_date": "2020-10-19 09:40:43"}, {"name": "ALB/00036", "picking_id": 69, "partner": "MEZQUITA GARCIA-GRANERO, C.B.", "origin": "SO038", "scheduled_date": "2020-10-19 09:43:11"}, {"name": "ALB/00037", "picking_id": 72, "partner": "SOLA DOMINGO, S.A.", "origin": "SO039", "scheduled_date": "2020-10-19 09:58:50"}, {"name": "ALB/00039", "picking_id": 74, "partner": "SOLA DOMINGO, S.A.", "origin": "SO041", "scheduled_date": "2020-10-19 10:04:15"}, {"name": "ALB/00041", "picking_id": 76, "partner": "SEGUR NOU, S.L.", "origin": "SO043", "scheduled_date": "2020-10-20 09:07:01"}]}
```
# /app/expeditions_all_products *(POST)*
Returns an array containing all the products that must be expedited
**Params**
* `token` *(required)*
* `picking_id` *(required)*
* `dbname` *(required)*
* `picking` *(required)*
**Return:** *JSON*
**Example return:**
```
{"status": true, "expeditions_all_products": [{"hasLots": false, "product_name": "T\u00e9 Verde", "barcodes": [{"name": "8412016286545"}], "location": "Magatzem Central", "product_id": 70, "product_uom_qty": 0.0}]}
```
# /app/expedition_validate *(POST)*
Returns all the information of a picking
**Params**
* `token` *(required)*
* `picking_id` *(required)*
* `dbname` *(required)*
**Return:** *JSON*
**Example return:**
```
...
```
Clone repository
  • API Routes
    • Deliveries
    • Expeditions
    • General
    • Inventories
    • Receptions
    • SAT
    • Search Product
  • Build App
    • Android
    • iOS
  • Development
    • Introduction
    • Start Development Environment
  • Home