curl --request GET \
--url https://api.example.com/material-requests{
"data": [
{
"id": "<string>",
"documentId": "<string>",
"status": "<string>",
"productionOrderId": "<string>",
"purchaseOrderId": "<string>",
"purchaseOrderDocumentId": "<string>",
"notes": "<string>",
"createdAt": "<string>",
"production_order": {},
"purchase_order": {},
"lineItems": [
{
"id": "<string>",
"materialRequestId": "<string>",
"requiredQty": 123,
"warehouseAvailableQty": 123,
"qtyToPurchase": 123,
"materialId": "<string>",
"materialName": "<string>",
"supplierId": "<string>",
"uom": "<string>",
"unitPrice": 123,
"estimatedAmount": 123,
"linkedPoLineId": "<string>",
"status": "<string>"
}
]
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"totalPages": 123,
"hasNext": true,
"hasPrev": true
}
}List material requests with pagination.
curl --request GET \
--url https://api.example.com/material-requests{
"data": [
{
"id": "<string>",
"documentId": "<string>",
"status": "<string>",
"productionOrderId": "<string>",
"purchaseOrderId": "<string>",
"purchaseOrderDocumentId": "<string>",
"notes": "<string>",
"createdAt": "<string>",
"production_order": {},
"purchase_order": {},
"lineItems": [
{
"id": "<string>",
"materialRequestId": "<string>",
"requiredQty": 123,
"warehouseAvailableQty": 123,
"qtyToPurchase": 123,
"materialId": "<string>",
"materialName": "<string>",
"supplierId": "<string>",
"uom": "<string>",
"unitPrice": 123,
"estimatedAmount": 123,
"linkedPoLineId": "<string>",
"status": "<string>"
}
]
}
],
"pagination": {
"page": 123,
"limit": 123,
"total": 123,
"totalPages": 123,
"hasNext": true,
"hasPrev": true
}
}Documentation Index
Fetch the complete documentation index at: https://docs.vinmake.com/llms.txt
Use this file to discover all available pages before exploring further.
x >= 11 <= x <= 100