GET | /Inventory/{InventoryID}/Pricing/{DebtorID}/{IN_LogicalID}/{Date}/{Quantity} | Retrieves a price for a product, for a debtor, warehouse, date and quantity |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InventoryID | path | string | No | |
DebtorID | path | string | No | |
IN_LogicalID | path | string | No | |
Date | path | DateTime | No | |
Quantity | path | decimal | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Price | form | decimal? | No | |
IncludesTax | form | bool? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /Inventory/{InventoryID}/Pricing/{DebtorID}/{IN_LogicalID}/{Date}/{Quantity} HTTP/1.1 Host: api.jiwa.com.au Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Price":0,"IncludesTax":false}