JiwaAPI

<back to all web services

PurchaseInvoiceLineGETRequest

Requires Authentication
The following routes are available for this service:
GET/PurchaseInvoices/{PurchaseInvoiceID}/Lines/{PurchaseInvoiceLineID}Retrieves a purchase invoice line.
PurchaseInvoiceLineGETRequest Parameters:
NameParameterData TypeRequiredDescription
PurchaseInvoiceIDpathstringNo
PurchaseInvoiceLineIDpathstringNo
PurchaseInvoiceLine Parameters:
NameParameterData TypeRequiredDescription
PurchaseInvoiceLineIDformstringNo
Quantityformdecimal?No
InventoryIDformstringNo
PartNoformstringNo
Aux2formstringNo
DescriptionformstringNo
SupplierPartNoformstringNo
PurchaseInvoiceLineTypeformInvoiceLineType?No
QuantityDecimalPlacesformint?No
LastSavedDateTimeformDateTime?No
TaxAmountformdecimal?No
TaxIDformstringNo
TaxRateformdecimal?No
Costformdecimal?No
CurrencyRateUsedformdecimal?No
PurchasingClassificationIDformstringNo
PurchasingClassificationDescriptionformstringNo
LineDetailsformList<PurchaseInvoiceLineDetail>No
UseSerialNoformbool?No
FXCostformdecimal?No
PhysicalItemformbool?No
InventoryExpectedLiability_LedgerAccountIDformstringNo
InventoryExpectedLiability_LedgerAccountNoformstringNo
InventoryExpectedLiability_LedgerAccountDescriptionformstringNo
InventoryExpectedAsset_LedgerAccountIDformstringNo
InventoryExpectedAsset_LedgerAccountNoformstringNo
InventoryExpectedAsset_LedgerAccountDescriptionformstringNo
InventoryDeliveredAsset_LedgerAccountIDformstringNo
InventoryDeliveredAsset_LedgerAccountNoformstringNo
InventoryDeliveredAsset_LedgerAccountDescriptionformstringNo
InventoryValue_LedgerAccountIDformstringNo
InventoryValue_LedgerAccountNoformstringNo
InventoryValue_LedgerAccountDescriptionformstringNo
InventoryDeliveredLiability_LedgerAccountIDformstringNo
InventoryDeliveredLiability_LedgerAccountNoformstringNo
InventoryDeliveredLiability_LedgerAccountDescriptionformstringNo
InventoryCreditorPurchases_LedgerAccountIDformstringNo
InventoryCreditorPurchases_LedgerAccountNoformstringNo
InventoryCreditorPurchases_LedgerAccountDescriptionformstringNo
InventoryCostOfGoodsVariance_LedgerAccountIDformstringNo
InventoryCostOfGoodsVariance_LedgerAccountNoformstringNo
InventoryCostOfGoodsVariance_LedgerAccountDescriptionformstringNo
InventoryStockMovement_LedgerAccountIDformstringNo
InventoryStockMovement_LedgerAccountNoformstringNo
InventoryStockMovement_LedgerAccountDescriptionformstringNo
InventoryLastSavedDateTimeformDateTime?No
OrderUnitsformdecimal?No
ItemNoformint?No
IN_SupplierWarehouse_RecIDformstringNo
IncPriceformdecimal?No
LineTotalformdecimal?No
FXTotalformdecimal?No
FXDecimalPlacesformint?No
HomeDecimalPlacesformint?No
UseExpiryDateformbool?No
PostedToWIPformbool?No
JobCostingStageIDformstringNo
JobCostingStageNoformstringNo
JobCostingStageNameformstringNo
JobCostingCostCentreIDformstringNo
JobCostingCostCentreNoformstringNo
JobCostingCostCentreNameformstringNo
JobCostingJobIDformstringNo
JobCostingJobNoformstringNo
OrderNoformstringNo
OrderIDformstringNo
PurchaseOrderLineNoformint?No
PurchaseOrderTypeformPurchaseOrderType?No
CustomFieldValuesformList<CustomFieldValue>No
LineTotalExTaxformdecimal?No
RE_Lines_SourceIDformstringNo
PurchaseInvoiceLineDetail Parameters:
NameParameterData TypeRequiredDescription
LineDetailIDformstringNo
LinkIDformstringNo
Quantityformdecimal?No
LastSavedDateTimeformDateTime?No
SerialNoformstringNo
BinLocationIDformstringNo
BinLocationDescriptionformstringNo
ExpiryDateformDateTime?No
RE_LineDetails_RecIDformstringNo
CustomFieldValue Parameters:
NameParameterData TypeRequiredDescription
SettingIDformstringNo
SettingNameformstringNo
ContentsformstringNo
PluginIDformstringNo
PluginNameformstringNo

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

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /PurchaseInvoices/{PurchaseInvoiceID}/Lines/{PurchaseInvoiceLineID} HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"PurchaseInvoiceLineID":"String","Quantity":0,"InventoryID":"String","PartNo":"String","Aux2":"String","Description":"String","SupplierPartNo":"String","PurchaseInvoiceLineType":"0","QuantityDecimalPlaces":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","TaxAmount":0,"TaxID":"String","TaxRate":0,"Cost":0,"CurrencyRateUsed":0,"PurchasingClassificationID":"String","PurchasingClassificationDescription":"String","LineDetails":[{"LineDetailID":"String","LinkID":"String","Quantity":0,"LastSavedDateTime":"0001-01-01T00:00:00.0000000","SerialNo":"String","BinLocationID":"String","BinLocationDescription":"String","ExpiryDate":"0001-01-01T00:00:00.0000000","RE_LineDetails_RecID":"String"}],"UseSerialNo":false,"FXCost":0,"PhysicalItem":false,"InventoryExpectedLiability_LedgerAccountID":"String","InventoryExpectedLiability_LedgerAccountNo":"String","InventoryExpectedLiability_LedgerAccountDescription":"String","InventoryExpectedAsset_LedgerAccountID":"String","InventoryExpectedAsset_LedgerAccountNo":"String","InventoryExpectedAsset_LedgerAccountDescription":"String","InventoryDeliveredAsset_LedgerAccountID":"String","InventoryDeliveredAsset_LedgerAccountNo":"String","InventoryDeliveredAsset_LedgerAccountDescription":"String","InventoryValue_LedgerAccountID":"String","InventoryValue_LedgerAccountNo":"String","InventoryValue_LedgerAccountDescription":"String","InventoryDeliveredLiability_LedgerAccountID":"String","InventoryDeliveredLiability_LedgerAccountNo":"String","InventoryDeliveredLiability_LedgerAccountDescription":"String","InventoryCreditorPurchases_LedgerAccountID":"String","InventoryCreditorPurchases_LedgerAccountNo":"String","InventoryCreditorPurchases_LedgerAccountDescription":"String","InventoryCostOfGoodsVariance_LedgerAccountID":"String","InventoryCostOfGoodsVariance_LedgerAccountNo":"String","InventoryCostOfGoodsVariance_LedgerAccountDescription":"String","InventoryStockMovement_LedgerAccountID":"String","InventoryStockMovement_LedgerAccountNo":"String","InventoryStockMovement_LedgerAccountDescription":"String","InventoryLastSavedDateTime":"0001-01-01T00:00:00.0000000","OrderUnits":0,"ItemNo":0,"IN_SupplierWarehouse_RecID":"String","IncPrice":0,"LineTotal":0,"FXTotal":0,"FXDecimalPlaces":0,"HomeDecimalPlaces":0,"UseExpiryDate":false,"PostedToWIP":false,"JobCostingStageID":"String","JobCostingStageNo":"String","JobCostingStageName":"String","JobCostingCostCentreID":"String","JobCostingCostCentreNo":"String","JobCostingCostCentreName":"String","JobCostingJobID":"String","JobCostingJobNo":"String","OrderNo":"String","OrderID":"String","PurchaseOrderLineNo":0,"PurchaseOrderType":"DefaultOrderType","CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}],"LineTotalExTax":0,"RE_Lines_SourceID":"String"}