| GET | /PurchaseInvoices/Countrywide/{StartDate}/{EndDate} | Retrieves Supplier Purchase Invoices in Countrywide format. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| StartDate | path | DateTime | No | |
| EndDate | path | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /PurchaseInvoices/Countrywide/{StartDate}/{EndDate} HTTP/1.1
Host: apitrain.galipo.com.au
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[{"CWMemberCode":"String","GalipoAccountNo":"String","SupplierName":"String","CWSupplierCode":"String","SupplierInvoiceNo":"String","SupplierInvoiceDate":"String","GalipoPartNo":"String","RandomWeightItem":"String","GalipoPartDescription":"String","ProductTUN":"String","ProductEAN":"String","SupplierPartNo":"String","QuantityInvoiced":"String","ConversionFactor":"String","SuppliersUnitCostGSTExc":"String","LineTotalGSTExc":"String","LineTotalGST":"String","LineTotalGSTInc":"String","GoodsReceivedDate":"String","GRNNumber":"String","GRNQuantityReceived":"String","RandomWeightItemDeliveredKG":"String","PurchaseOrderNo":"String","PurchaseOrderDate":"String","QuantityOrdered":"String","RandomWeightItemOrderedKG":"String","PurchaseOrderUOM":"String"}]