This GET method allows you to retrieve a list of purchase orders from your administration. You can also retreive the details of a single purchase using the OrderNumber request parameter.
Notes:
- Maximum 50 orders will be returned per request
- You can retrieve more orders by doing multiple requests and using the offset parameter
- The returned invoices will be sorted by createddate (descending)
- Request
- Response
Parameters
OrderNumber
Integer
Details
Optional parameter. Use this to retreive the details of a single purchase order.
Limit
Integer
Details
Define an optional limit for the retrieve. Defaults to 100 which is also the maximum.
Offset
Integer
Details
Define an optional offset for the retrieve.
CreatedSince
Date String (dd-MM-yyyy)
Details
The order from date filter in format dd-MM-yyyy. (http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html). Default to no from date filter.
CreatedTill
Date String (dd-MM-yyyy)
Details
The order till date filter in format dd-MM-yyyy. (http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html). Default to no from date filter.
ReceiptStatus
String
Details
Define an optional filter based on receipt status for the retrieve.
CURL Example
|
1 |
curl -X GET -H "Content-Type: application/json" -H "ApiKey: b7d343Bnhd436f3ec3bd3504582" -H "Username: [email protected]" "https://rest-api.silvasoft.nl//rest/listpurchaseorders" |
Parameters
OrderNumber
Long
More info
The order number
SupplierNumber
Integer
More info
The supplier number as available in Silvasoft of the supplier associated with the order.
SupplierName
String
More info
The name of the supplier associated with the order.
OrderDate
String Date (dd-MM-yyyy)
More info
The order date in format dd-MM-yyyy. (http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html).
PurchaseOrderLines
String
More info
A JSON array of orderlines.
PurchaseOrderLines > ProductNumber
String
More info
The productnumber of the product associated with the order line.
PurchaseOrderLines > ProductEAN
String
More info
The product EAN code of the product associated with the order line.
PurchaseOrderLines > ProductName
String
More info
The product name of the product associated with the order line.
PurchaseOrderLines > ProductVPE
Float
More info
The number of products in a VPE.
PurchaseOrderLines > VPEOrdered
Float
More info
The number of VPE ordered that are on the order line.
OrderStatus
String
More info
The order status.
ReceiptStatus
String
More info
The receipt status of the order.
Response JSON Example
The response order can vary from the parameter order above|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
[{ "OrderNumber": 176, "SupplierNumber": 2, "SupplierName": "test 2", "OrderDate": "2026-01-22T12:56:06.557Z", "PurchaseOrderLines": [ { "ProductNumber": "1", "ProductEAN": "80988915", "ProductName": "Voorbeeld 1", "ProductVPE": 23, "VPEOrdered": 1 }, { "ProductNumber": "2", "ProductEAN": "80988918", "ProductName": "Voorbeeld 2", "ProductVPE": 2, "VPEOrdered": 8 } ], "OrderStatus": "Final", "ReceiptStatus": "NothingReceived" }] |