|
|
Search Product |
|
|
\ No newline at end of file |
|
|
# /app/search_product *(POST)*
|
|
|
|
|
|
Returns all the information of the products, its pickings (receptions, deliveries, expeditions, inventory, ...)
|
|
|
|
|
|
**Params**
|
|
|
* `email` *(required)*
|
|
|
* `dbname` *(required)*
|
|
|
* `search` *(required)*
|
|
|
|
|
|
**Return:** *JSON*
|
|
|
|
|
|
**Example return:**
|
|
|
```
|
|
|
{
|
|
|
"status": true,
|
|
|
"search_product": {
|
|
|
"product": {
|
|
|
"product_id":"xx",
|
|
|
"product_name":"xx",
|
|
|
"product_description":"xx",
|
|
|
"product_code":"xx",
|
|
|
"product_barcode":"xx",
|
|
|
},
|
|
|
"delivery": [
|
|
|
{
|
|
|
"picking_id":"xx",
|
|
|
"picking_origin":"xx",
|
|
|
"picking_date":"xx",
|
|
|
"picking_name":"xx",
|
|
|
|
|
|
},
|
|
|
],
|
|
|
"reception": [
|
|
|
{
|
|
|
"picking_id":"xx",
|
|
|
"picking_origin":"xx",
|
|
|
"picking_date":"xx",
|
|
|
"picking_name":"xx",
|
|
|
|
|
|
},
|
|
|
],
|
|
|
"expedition": [
|
|
|
{
|
|
|
"picking_id":"xx",
|
|
|
"picking_origin":"xx",
|
|
|
"picking_date":"xx",
|
|
|
"picking_name":"xx",
|
|
|
|
|
|
},
|
|
|
],
|
|
|
"inventory": [
|
|
|
{
|
|
|
"picking_id":"xx",
|
|
|
"picking_origin":"xx",
|
|
|
"picking_date":"xx",
|
|
|
"picking_name":"xx",
|
|
|
|
|
|
},
|
|
|
],
|
|
|
}
|
|
|
}
|
|
|
``` |