GET | /PurchaseOrders/{PurchaseOrderID}/Lines | Retrieves a list of purchase order lines. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PurchaseOrderID | path | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /PurchaseOrders/{PurchaseOrderID}/Lines HTTP/1.1 Host: api.jiwa.com.au Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfPurchaseOrderLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.PurchaseOrders"> <PurchaseOrderLine> <_x003C_ClassificationDescription_x003E_k__BackingField>String</_x003C_ClassificationDescription_x003E_k__BackingField> <_x003C_ClassificationID_x003E_k__BackingField>String</_x003C_ClassificationID_x003E_k__BackingField> <_x003C_CostOriginal_x003E_k__BackingField>0</_x003C_CostOriginal_x003E_k__BackingField> <_x003C_Cost_x003E_k__BackingField>0</_x003C_Cost_x003E_k__BackingField> <_x003C_CurrencyRateUsed_x003E_k__BackingField>0</_x003C_CurrencyRateUsed_x003E_k__BackingField> <_x003C_CustomFieldValues_x003E_k__BackingField xmlns:d3p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.CustomFields"> <d3p1:CustomFieldValue> <d3p1:_x003C_Contents_x003E_k__BackingField>String</d3p1:_x003C_Contents_x003E_k__BackingField> <d3p1:_x003C_PluginID_x003E_k__BackingField>String</d3p1:_x003C_PluginID_x003E_k__BackingField> <d3p1:_x003C_PluginName_x003E_k__BackingField>String</d3p1:_x003C_PluginName_x003E_k__BackingField> <d3p1:_x003C_SettingID_x003E_k__BackingField>String</d3p1:_x003C_SettingID_x003E_k__BackingField> <d3p1:_x003C_SettingName_x003E_k__BackingField>String</d3p1:_x003C_SettingName_x003E_k__BackingField> </d3p1:CustomFieldValue> </_x003C_CustomFieldValues_x003E_k__BackingField> <_x003C_Delivered_x003E_k__BackingField>0</_x003C_Delivered_x003E_k__BackingField> <_x003C_DeliveryDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DeliveryDate_x003E_k__BackingField> <_x003C_DeliveryDays_x003E_k__BackingField>0</_x003C_DeliveryDays_x003E_k__BackingField> <_x003C_Description_x003E_k__BackingField>String</_x003C_Description_x003E_k__BackingField> <_x003C_FXCost_x003E_k__BackingField>0</_x003C_FXCost_x003E_k__BackingField> <_x003C_FXDecimalPlaces_x003E_k__BackingField>0</_x003C_FXDecimalPlaces_x003E_k__BackingField> <_x003C_FxTotal_x003E_k__BackingField>0</_x003C_FxTotal_x003E_k__BackingField> <_x003C_HistoryText_Comment_x003E_k__BackingField>String</_x003C_HistoryText_Comment_x003E_k__BackingField> <_x003C_HomeCurrencyDecimalPlaces_x003E_k__BackingField>0</_x003C_HomeCurrencyDecimalPlaces_x003E_k__BackingField> <_x003C_IN_Creditor_RecID_x003E_k__BackingField>String</_x003C_IN_Creditor_RecID_x003E_k__BackingField> <_x003C_IN_OnBackOrder_EstBOValue_x003E_k__BackingField>0</_x003C_IN_OnBackOrder_EstBOValue_x003E_k__BackingField> <_x003C_IN_OnBackOrder_LastSavedDateTime_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_IN_OnBackOrder_LastSavedDateTime_x003E_k__BackingField> <_x003C_IN_OnBackOrder_OrdersOnBackID_x003E_k__BackingField>String</_x003C_IN_OnBackOrder_OrdersOnBackID_x003E_k__BackingField> <_x003C_IN_OnBackOrder_Quantity_x003E_k__BackingField>0</_x003C_IN_OnBackOrder_Quantity_x003E_k__BackingField> <_x003C_IN_SupplierWarehouse_RecID_x003E_k__BackingField>String</_x003C_IN_SupplierWarehouse_RecID_x003E_k__BackingField> <_x003C_IncPrice_x003E_k__BackingField>0</_x003C_IncPrice_x003E_k__BackingField> <_x003C_InventoryExpectedAssetLedgerAccountAccountNo_x003E_k__BackingField>String</_x003C_InventoryExpectedAssetLedgerAccountAccountNo_x003E_k__BackingField> <_x003C_InventoryExpectedAssetLedgerAccountDescription_x003E_k__BackingField>String</_x003C_InventoryExpectedAssetLedgerAccountDescription_x003E_k__BackingField> <_x003C_InventoryExpectedAssetLedgerAccountRecID_x003E_k__BackingField>String</_x003C_InventoryExpectedAssetLedgerAccountRecID_x003E_k__BackingField> <_x003C_InventoryExpectedLiabilityLedgerAccountAccountNo_x003E_k__BackingField>String</_x003C_InventoryExpectedLiabilityLedgerAccountAccountNo_x003E_k__BackingField> <_x003C_InventoryExpectedLiabilityLedgerAccountDescription_x003E_k__BackingField>String</_x003C_InventoryExpectedLiabilityLedgerAccountDescription_x003E_k__BackingField> <_x003C_InventoryExpectedLiabilityLedgerAccountRecID_x003E_k__BackingField>String</_x003C_InventoryExpectedLiabilityLedgerAccountRecID_x003E_k__BackingField> <_x003C_InventoryID_x003E_k__BackingField>String</_x003C_InventoryID_x003E_k__BackingField> <_x003C_InvoiceLineID_x003E_k__BackingField>String</_x003C_InvoiceLineID_x003E_k__BackingField> <_x003C_IsPhysical_x003E_k__BackingField>false</_x003C_IsPhysical_x003E_k__BackingField> <_x003C_ItemNo_x003E_k__BackingField>0</_x003C_ItemNo_x003E_k__BackingField> <_x003C_JobCostingCostCentreName_x003E_k__BackingField>String</_x003C_JobCostingCostCentreName_x003E_k__BackingField> <_x003C_JobCostingCostCentreNo_x003E_k__BackingField>String</_x003C_JobCostingCostCentreNo_x003E_k__BackingField> <_x003C_JobCostingCostCentreRecID_x003E_k__BackingField>String</_x003C_JobCostingCostCentreRecID_x003E_k__BackingField> <_x003C_JobCostingJobDescription_x003E_k__BackingField>String</_x003C_JobCostingJobDescription_x003E_k__BackingField> <_x003C_JobCostingJobNo_x003E_k__BackingField>String</_x003C_JobCostingJobNo_x003E_k__BackingField> <_x003C_JobCostingJobRecID_x003E_k__BackingField>String</_x003C_JobCostingJobRecID_x003E_k__BackingField> <_x003C_JobCostingStageClassificationDescription_x003E_k__BackingField>String</_x003C_JobCostingStageClassificationDescription_x003E_k__BackingField> <_x003C_JobCostingStageClassificationRecID_x003E_k__BackingField>String</_x003C_JobCostingStageClassificationRecID_x003E_k__BackingField> <_x003C_JobCostingStageName_x003E_k__BackingField>String</_x003C_JobCostingStageName_x003E_k__BackingField> <_x003C_JobCostingStageNo_x003E_k__BackingField>String</_x003C_JobCostingStageNo_x003E_k__BackingField> <_x003C_JobCostingStageRecID_x003E_k__BackingField>String</_x003C_JobCostingStageRecID_x003E_k__BackingField> <_x003C_LineTotalExTax_x003E_k__BackingField>0</_x003C_LineTotalExTax_x003E_k__BackingField> <_x003C_LineTotal_x003E_k__BackingField>0</_x003C_LineTotal_x003E_k__BackingField> <_x003C_MakeSupplierTheNewDefault_x003E_k__BackingField>false</_x003C_MakeSupplierTheNewDefault_x003E_k__BackingField> <_x003C_OrderUnits_x003E_k__BackingField>0</_x003C_OrderUnits_x003E_k__BackingField> <_x003C_PartNo_x003E_k__BackingField>String</_x003C_PartNo_x003E_k__BackingField> <_x003C_PurchaseOrderLineID_x003E_k__BackingField>String</_x003C_PurchaseOrderLineID_x003E_k__BackingField> <_x003C_PurchaseOrderLineType_x003E_k__BackingField>Unknown</_x003C_PurchaseOrderLineType_x003E_k__BackingField> <_x003C_PurchasingClassificationDescription_x003E_k__BackingField>String</_x003C_PurchasingClassificationDescription_x003E_k__BackingField> <_x003C_PurchasingClassificationLedgerAccountAccountNo_x003E_k__BackingField>String</_x003C_PurchasingClassificationLedgerAccountAccountNo_x003E_k__BackingField> <_x003C_PurchasingClassificationLedgerAccountDescription_x003E_k__BackingField>String</_x003C_PurchasingClassificationLedgerAccountDescription_x003E_k__BackingField> <_x003C_PurchasingClassificationLedgerAccountRecID_x003E_k__BackingField>String</_x003C_PurchasingClassificationLedgerAccountRecID_x003E_k__BackingField> <_x003C_PurchasingClassificationRecID_x003E_k__BackingField>String</_x003C_PurchasingClassificationRecID_x003E_k__BackingField> <_x003C_QuantityDecimalPlaces_x003E_k__BackingField>0</_x003C_QuantityDecimalPlaces_x003E_k__BackingField> <_x003C_Quantity_x003E_k__BackingField>0</_x003C_Quantity_x003E_k__BackingField> <_x003C_ServiceManagerJobDescription_x003E_k__BackingField>String</_x003C_ServiceManagerJobDescription_x003E_k__BackingField> <_x003C_ServiceManagerJobNo_x003E_k__BackingField>String</_x003C_ServiceManagerJobNo_x003E_k__BackingField> <_x003C_ServiceManagerJobRecID_x003E_k__BackingField>String</_x003C_ServiceManagerJobRecID_x003E_k__BackingField> <_x003C_ServiceManagerTaskDescription_x003E_k__BackingField>String</_x003C_ServiceManagerTaskDescription_x003E_k__BackingField> <_x003C_ServiceManagerTaskNo_x003E_k__BackingField>0</_x003C_ServiceManagerTaskNo_x003E_k__BackingField> <_x003C_ServiceManagerTaskRecID_x003E_k__BackingField>String</_x003C_ServiceManagerTaskRecID_x003E_k__BackingField> <_x003C_SupplierPartNo_x003E_k__BackingField>String</_x003C_SupplierPartNo_x003E_k__BackingField> <_x003C_TaxAmount_x003E_k__BackingField>0</_x003C_TaxAmount_x003E_k__BackingField> <_x003C_TaxRateBASCode_x003E_k__BackingField>0</_x003C_TaxRateBASCode_x003E_k__BackingField> <_x003C_TaxRateDescription_x003E_k__BackingField>String</_x003C_TaxRateDescription_x003E_k__BackingField> <_x003C_TaxRateRecID_x003E_k__BackingField>String</_x003C_TaxRateRecID_x003E_k__BackingField> <_x003C_TaxRate_x003E_k__BackingField>0</_x003C_TaxRate_x003E_k__BackingField> <_x003C_Units_x003E_k__BackingField>String</_x003C_Units_x003E_k__BackingField> <_x003C_UserDefinedDate1_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_UserDefinedDate1_x003E_k__BackingField> <_x003C_UserDefinedDate2_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_UserDefinedDate2_x003E_k__BackingField> <_x003C_UserDefinedDate3_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_UserDefinedDate3_x003E_k__BackingField> <_x003C_UserDefinedFloat1_x003E_k__BackingField>0</_x003C_UserDefinedFloat1_x003E_k__BackingField> <_x003C_UserDefinedFloat2_x003E_k__BackingField>0</_x003C_UserDefinedFloat2_x003E_k__BackingField> <_x003C_UserDefinedFloat3_x003E_k__BackingField>0</_x003C_UserDefinedFloat3_x003E_k__BackingField> <_x003C_UserDefinedString1_x003E_k__BackingField>String</_x003C_UserDefinedString1_x003E_k__BackingField> <_x003C_UserDefinedString2_x003E_k__BackingField>String</_x003C_UserDefinedString2_x003E_k__BackingField> <_x003C_UserDefinedString3_x003E_k__BackingField>String</_x003C_UserDefinedString3_x003E_k__BackingField> </PurchaseOrderLine> </ArrayOfPurchaseOrderLine>