JiwaAPI

<back to all web services

PurchaseOrderLineGETRequest

Requires Authentication
The following routes are available for this service:
GET/PurchaseOrders/{PurchaseOrderID}/Lines/{PurchaseOrderLineID}Retrieves a purchase order line.
PurchaseOrderLineGETRequest Parameters:
NameParameterData TypeRequiredDescription
PurchaseOrderIDpathstringNo
PurchaseOrderLineIDpathstringNo
PurchaseOrderLine Parameters:
NameParameterData TypeRequiredDescription
PurchaseOrderLineIDformstringNo
ItemNoformint?No
InventoryIDformstringNo
IsPhysicalformbool?No
PartNoformstringNo
DescriptionformstringNo
QuantityDecimalPlacesformint?No
MakeSupplierTheNewDefaultformbool?No
PurchaseOrderLineTypeformOrderLineType?No
Quantityformdecimal?No
IncPriceformdecimal?No
TaxAmountformdecimal?No
LineTotalformdecimal?No
LineTotalExTaxformdecimal?No
FxTotalformdecimal?No
CurrencyRateUsedformdecimal?No
FXDecimalPlacesformint?No
HomeCurrencyDecimalPlacesformint?No
DeliveryDateformDateTime?No
Deliveredformdecimal?No
HistoryText_CommentformstringNo
JobCostingStageRecIDformstringNo
JobCostingStageNoformstringNo
JobCostingStageNameformstringNo
JobCostingStageClassificationRecIDformstringNo
JobCostingStageClassificationDescriptionformstringNo
JobCostingCostCentreRecIDformstringNo
JobCostingCostCentreNoformstringNo
JobCostingCostCentreNameformstringNo
JobCostingJobRecIDformstringNo
JobCostingJobNoformstringNo
JobCostingJobDescriptionformstringNo
IN_OnBackOrder_OrdersOnBackIDformstringNo
IN_OnBackOrder_Quantityformdecimal?No
IN_OnBackOrder_EstBOValueformdecimal?No
IN_OnBackOrder_LastSavedDateTimeformDateTime?No
InvoiceLineIDformstringNo
UserDefinedFloat1formdecimal?No
UserDefinedFloat2formdecimal?No
UserDefinedFloat3formdecimal?No
UserDefinedDate1formDateTime?No
UserDefinedDate2formDateTime?No
UserDefinedDate3formDateTime?No
UserDefinedString1formstringNo
UserDefinedString2formstringNo
UserDefinedString3formstringNo
PurchasingClassificationRecIDformstringNo
PurchasingClassificationDescriptionformstringNo
PurchasingClassificationLedgerAccountRecIDformstringNo
PurchasingClassificationLedgerAccountAccountNoformstringNo
PurchasingClassificationLedgerAccountDescriptionformstringNo
ServiceManagerTaskRecIDformstringNo
ServiceManagerTaskNoformint?No
ServiceManagerTaskDescriptionformstringNo
ServiceManagerJobRecIDformstringNo
ServiceManagerJobNoformstringNo
ServiceManagerJobDescriptionformstringNo
IN_Creditor_RecIDformstringNo
SupplierPartNoformstringNo
IN_SupplierWarehouse_RecIDformstringNo
OrderUnitsformdecimal?No
DeliveryDaysformint?No
FXCostformdecimal?No
Costformdecimal?No
CostOriginalformdecimal?No
UnitsformstringNo
TaxRateRecIDformstringNo
TaxRateDescriptionformstringNo
TaxRateformdecimal?No
TaxRateBASCodeformint?No
InventoryExpectedLiabilityLedgerAccountRecIDformstringNo
InventoryExpectedLiabilityLedgerAccountAccountNoformstringNo
InventoryExpectedLiabilityLedgerAccountDescriptionformstringNo
InventoryExpectedAssetLedgerAccountRecIDformstringNo
InventoryExpectedAssetLedgerAccountAccountNoformstringNo
InventoryExpectedAssetLedgerAccountDescriptionformstringNo
ClassificationIDformstringNo
ClassificationDescriptionformstringNo
CustomFieldValuesformList<CustomFieldValue>No
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 /PurchaseOrders/{PurchaseOrderID}/Lines/{PurchaseOrderLineID} HTTP/1.1 
Host: api.jiwa.com.au 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"PurchaseOrderLineID":"String","ItemNo":0,"InventoryID":"String","IsPhysical":false,"PartNo":"String","Description":"String","QuantityDecimalPlaces":0,"MakeSupplierTheNewDefault":false,"PurchaseOrderLineType":"Unknown","Quantity":0,"IncPrice":0,"TaxAmount":0,"LineTotal":0,"LineTotalExTax":0,"FxTotal":0,"CurrencyRateUsed":0,"FXDecimalPlaces":0,"HomeCurrencyDecimalPlaces":0,"DeliveryDate":"0001-01-01T00:00:00.0000000","Delivered":0,"HistoryText_Comment":"String","JobCostingStageRecID":"String","JobCostingStageNo":"String","JobCostingStageName":"String","JobCostingStageClassificationRecID":"String","JobCostingStageClassificationDescription":"String","JobCostingCostCentreRecID":"String","JobCostingCostCentreNo":"String","JobCostingCostCentreName":"String","JobCostingJobRecID":"String","JobCostingJobNo":"String","JobCostingJobDescription":"String","IN_OnBackOrder_OrdersOnBackID":"String","IN_OnBackOrder_Quantity":0,"IN_OnBackOrder_EstBOValue":0,"IN_OnBackOrder_LastSavedDateTime":"0001-01-01T00:00:00.0000000","InvoiceLineID":"String","UserDefinedFloat1":0,"UserDefinedFloat2":0,"UserDefinedFloat3":0,"UserDefinedDate1":"0001-01-01T00:00:00.0000000","UserDefinedDate2":"0001-01-01T00:00:00.0000000","UserDefinedDate3":"0001-01-01T00:00:00.0000000","UserDefinedString1":"String","UserDefinedString2":"String","UserDefinedString3":"String","PurchasingClassificationRecID":"String","PurchasingClassificationDescription":"String","PurchasingClassificationLedgerAccountRecID":"String","PurchasingClassificationLedgerAccountAccountNo":"String","PurchasingClassificationLedgerAccountDescription":"String","ServiceManagerTaskRecID":"String","ServiceManagerTaskNo":0,"ServiceManagerTaskDescription":"String","ServiceManagerJobRecID":"String","ServiceManagerJobNo":"String","ServiceManagerJobDescription":"String","IN_Creditor_RecID":"String","SupplierPartNo":"String","IN_SupplierWarehouse_RecID":"String","OrderUnits":0,"DeliveryDays":0,"FXCost":0,"Cost":0,"CostOriginal":0,"Units":"String","TaxRateRecID":"String","TaxRateDescription":"String","TaxRate":0,"TaxRateBASCode":0,"InventoryExpectedLiabilityLedgerAccountRecID":"String","InventoryExpectedLiabilityLedgerAccountAccountNo":"String","InventoryExpectedLiabilityLedgerAccountDescription":"String","InventoryExpectedAssetLedgerAccountRecID":"String","InventoryExpectedAssetLedgerAccountAccountNo":"String","InventoryExpectedAssetLedgerAccountDescription":"String","ClassificationID":"String","ClassificationDescription":"String","CustomFieldValues":[{"SettingID":"String","SettingName":"String","Contents":"String","PluginID":"String","PluginName":"String"}]}