• GET /rest/listpurchaseorders

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

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