Accounting
Retrieves purchase orders
get/PurchaseOrders
Query parameters
Status'DRAFT' | 'SUBMITTED' | 'AUTHORISED' | 'BILLED' | 'DELETED'
Filter by purchase order status
DateFromstring
Filter by purchase order date (e.g. GET https://.../PurchaseOrders?DateFrom=2015-12-01&DateTo=2015-12-31
DateTostring
Filter by purchase order date (e.g. GET https://.../PurchaseOrders?DateFrom=2015-12-01&DateTo=2015-12-31
orderstring
Order by an any element
pageinteger
To specify a page, append the page parameter to the URL e.g. ?page=1. If there are 100 records in the response you will need to check if there is any more data by fetching the next page e.g ?page=2 and continuing this process until no more results are returned.
pageSizeinteger
Number of records to retrieve per page
Headers
If-Modified-Sincestring date-time
Only records created or modified since this timestamp will be returned
Response
Success - return response of type PurchaseOrder array of all PurchaseOrder