Consultar Orden de Producción
productOrder/getProductOrder
Servicio para obtener las ordenes de producción.
Parámetro | Valor |
---|---|
Nombre servicio | getProductOrder |
Tipo método | POST |
URL | https://gorgeous-dust-0seusmuxapkp.vapor-farm-b1.com/api/auth//productOrder/getProductOrder |
Content type | application/json |
Parámetros de consulta:
Parámetro | Valor |
---|---|
search | description_product, code_product, nit_qualified,code_productive_process, status, code_production_order, description_productive_process |
Respuesta:
{
"status": {
"code": 200,
"message": "Procesado con éxito",
"data": [
{
"current_page": 1,
"data": [
{
"product_id": 6,
"product_code": "205790",
"product_description": "TAPA ESPUMADA 60 MM",
"productive_process_id": 298,
"productive_process_code": "PLT333",
"productive_process_description": "Proceso productivo de prueba",
"productive_process_status": 1,
"production_order_id": 497,
"production_order_code": 497,
"production_order_observation": "orden de pructo crear",
"production_order_total_product": 30,
"production_order_total_calculated": "60000",
"production_order_net_weight_kilo": "0",
"production_order_status": "BORRADOR",
"production_orders_created_at": "2023-06-08 10:14:29",
"production_orders_updated_at": "2023-08-02 14:39:40",
"qualified_users_id": 3,
"qualified_users_nit": "8020193394",
"qualified_users_name": "ADAMA ANDINA B.V SUCURSAL COLOMBIA.",
"product_unit_measurement_id": 10,
"product_unit_measurement": "Unidad o artículo",
"product_unit_measurement_code": "U",
"product_subheading_id": 10617,
"product_subheading_code": "20",
"product_subheading_name": "20",
"product_business_unit_id": 40,
"product_business_unit": "UNIDAD O ARTICU",
"product_business_unit_code": "U",
"productive_process_form_product_quantity": "1",
"precision": "4"
}
],
"first_page_url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"from": 1,
"last_page": 24,
"last_page_url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=24",
"links": [
{
"url": null,
"label": "« Anterior",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"label": "1",
"active": true
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=2",
"label": "2",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=3",
"label": "3",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=4",
"label": "4",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=5",
"label": "5",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=6",
"label": "6",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=7",
"label": "7",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=8",
"label": "8",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=9",
"label": "9",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=10",
"label": "10",
"active": false
},
{
"url": null,
"label": "...",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=23",
"label": "23",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=24",
"label": "24",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=2",
"label": "Siguiente »",
"active": false
}
],
"next_page_url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=2",
"path": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder",
"per_page": 1,
"prev_page_url": null,
"to": 1,
"total": 24
},
{
"current_page": 1,
"data": [],
"first_page_url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"from": null,
"last_page": 1,
"last_page_url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"links": [
{
"url": null,
"label": "« Anterior",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Siguiente »",
"active": false
}
],
"next_page_url": null,
"path": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder",
"per_page": 1,
"prev_page_url": null,
"to": null,
"total": 0
},
{
"current_page": 1,
"data": [],
"first_page_url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"from": null,
"last_page": 1,
"last_page_url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"links": [
{
"url": null,
"label": "« Anterior",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Siguiente »",
"active": false
}
],
"next_page_url": null,
"path": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder",
"per_page": 1,
"prev_page_url": null,
"to": null,
"total": 0
},
{
"current_page": 1,
"data": [],
"first_page_url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"from": null,
"last_page": 1,
"last_page_url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"links": [
{
"url": null,
"label": "« Anterior",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Siguiente »",
"active": false
}
],
"next_page_url": null,
"path": "http://127.0.0.1:8000/api/auth/productOrder/getProductOrder",
"per_page": 1,
"prev_page_url": null,
"to": null,
"total": 0
}
]
}
}