GET | /SalesOrders/{InvoiceID}/Historys/{InvoiceHistoryID}/Lines | Retrieves a list of sales order lines. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
InvoiceID | path | string | No | |
InvoiceHistoryID | 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 /SalesOrders/{InvoiceID}/Historys/{InvoiceHistoryID}/Lines HTTP/1.1 Host: api.jiwa.com.au Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfSalesOrderLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesOrders"> <SalesOrderLine> <_x003C_Aux2_x003E_k__BackingField>String</_x003C_Aux2_x003E_k__BackingField> <_x003C_CommentLine_x003E_k__BackingField>false</_x003C_CommentLine_x003E_k__BackingField> <_x003C_CommentText_x003E_k__BackingField>String</_x003C_CommentText_x003E_k__BackingField> <_x003C_CostCenter_x003E_k__BackingField>String</_x003C_CostCenter_x003E_k__BackingField> <_x003C_Cubic_x003E_k__BackingField>0</_x003C_Cubic_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_Description_x003E_k__BackingField>String</_x003C_Description_x003E_k__BackingField> <_x003C_DiscountGiven_x003E_k__BackingField>0</_x003C_DiscountGiven_x003E_k__BackingField> <_x003C_DiscountedPercentage_x003E_k__BackingField>0</_x003C_DiscountedPercentage_x003E_k__BackingField> <_x003C_DiscountedPrice_x003E_k__BackingField>0</_x003C_DiscountedPrice_x003E_k__BackingField> <_x003C_EDIDCLocationCode_x003E_k__BackingField>String</_x003C_EDIDCLocationCode_x003E_k__BackingField> <_x003C_EDIStoreLocationCode_x003E_k__BackingField>String</_x003C_EDIStoreLocationCode_x003E_k__BackingField> <_x003C_FixPrice_x003E_k__BackingField>false</_x003C_FixPrice_x003E_k__BackingField> <_x003C_FixSellPrice_x003E_k__BackingField>false</_x003C_FixSellPrice_x003E_k__BackingField> <_x003C_ForwardOrderDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_ForwardOrderDate_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_ItemNo_x003E_k__BackingField>0</_x003C_ItemNo_x003E_k__BackingField> <_x003C_KitHeaderLineID_x003E_k__BackingField>String</_x003C_KitHeaderLineID_x003E_k__BackingField> <_x003C_KitLineType_x003E_k__BackingField>e_SalesOrderNormalLine</_x003C_KitLineType_x003E_k__BackingField> <_x003C_KitUnits_x003E_k__BackingField>0</_x003C_KitUnits_x003E_k__BackingField> <_x003C_LineDetails_x003E_k__BackingField> <SalesOrderLineDetail> <_x003C_BinLocation_x003E_k__BackingField>String</_x003C_BinLocation_x003E_k__BackingField> <_x003C_Cost_x003E_k__BackingField>0</_x003C_Cost_x003E_k__BackingField> <_x003C_DateIn_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DateIn_x003E_k__BackingField> <_x003C_ExpiryDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_ExpiryDate_x003E_k__BackingField> <_x003C_IN_LogicalID_x003E_k__BackingField>String</_x003C_IN_LogicalID_x003E_k__BackingField> <_x003C_LineDetailID_x003E_k__BackingField>String</_x003C_LineDetailID_x003E_k__BackingField> <_x003C_Quantity_x003E_k__BackingField>0</_x003C_Quantity_x003E_k__BackingField> <_x003C_SOHID_x003E_k__BackingField>String</_x003C_SOHID_x003E_k__BackingField> <_x003C_SerialNo_x003E_k__BackingField>String</_x003C_SerialNo_x003E_k__BackingField> <_x003C_SpecialPrice_x003E_k__BackingField>0</_x003C_SpecialPrice_x003E_k__BackingField> </SalesOrderLineDetail> </_x003C_LineDetails_x003E_k__BackingField> <_x003C_LineLinkID_x003E_k__BackingField>String</_x003C_LineLinkID_x003E_k__BackingField> <_x003C_LineTotal_x003E_k__BackingField>0</_x003C_LineTotal_x003E_k__BackingField> <_x003C_NonInventory_x003E_k__BackingField>false</_x003C_NonInventory_x003E_k__BackingField> <_x003C_PartNo_x003E_k__BackingField>String</_x003C_PartNo_x003E_k__BackingField> <_x003C_Picked_x003E_k__BackingField>false</_x003C_Picked_x003E_k__BackingField> <_x003C_PriceExGst_x003E_k__BackingField>0</_x003C_PriceExGst_x003E_k__BackingField> <_x003C_PriceIncGst_x003E_k__BackingField>0</_x003C_PriceIncGst_x003E_k__BackingField> <_x003C_QuantityBackOrd_x003E_k__BackingField>0</_x003C_QuantityBackOrd_x003E_k__BackingField> <_x003C_QuantityDecimalPlaces_x003E_k__BackingField>0</_x003C_QuantityDecimalPlaces_x003E_k__BackingField> <_x003C_QuantityDemand_x003E_k__BackingField>0</_x003C_QuantityDemand_x003E_k__BackingField> <_x003C_QuantityOrdered_x003E_k__BackingField>0</_x003C_QuantityOrdered_x003E_k__BackingField> <_x003C_QuantityOriginalOrdered_x003E_k__BackingField>0</_x003C_QuantityOriginalOrdered_x003E_k__BackingField> <_x003C_QuantityThisDel_x003E_k__BackingField>0</_x003C_QuantityThisDel_x003E_k__BackingField> <_x003C_QuotedDiscountPercentage_x003E_k__BackingField>0</_x003C_QuotedDiscountPercentage_x003E_k__BackingField> <_x003C_QuotedDiscountedPrice_x003E_k__BackingField>0</_x003C_QuotedDiscountedPrice_x003E_k__BackingField> <_x003C_SalesOrderSerialStockSelectionTypes_x003E_k__BackingField>e_SalesOrderSerialStockSelectionPrompted</_x003C_SalesOrderSerialStockSelectionTypes_x003E_k__BackingField> <_x003C_ScheduledDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_ScheduledDate_x003E_k__BackingField> <_x003C_ShippingLabels_x003E_k__BackingField> <SalesOrderShippingLabel> <_x003C_BatchNo_x003E_k__BackingField>String</_x003C_BatchNo_x003E_k__BackingField> <_x003C_LabelNumber_x003E_k__BackingField>0</_x003C_LabelNumber_x003E_k__BackingField> <_x003C_LastSavedDateTime_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_LastSavedDateTime_x003E_k__BackingField> <_x003C_Quantity_x003E_k__BackingField>0</_x003C_Quantity_x003E_k__BackingField> <_x003C_Reference_x003E_k__BackingField>String</_x003C_Reference_x003E_k__BackingField> <_x003C_SSCCNumber_x003E_k__BackingField>String</_x003C_SSCCNumber_x003E_k__BackingField> <_x003C_ShippingLabelID_x003E_k__BackingField>String</_x003C_ShippingLabelID_x003E_k__BackingField> <_x003C_SpareDate1_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_SpareDate1_x003E_k__BackingField> <_x003C_SpareDate2_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_SpareDate2_x003E_k__BackingField> <_x003C_SpareDate3_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_SpareDate3_x003E_k__BackingField> <_x003C_SpareNumeric1_x003E_k__BackingField>0</_x003C_SpareNumeric1_x003E_k__BackingField> <_x003C_SpareNumeric2_x003E_k__BackingField>0</_x003C_SpareNumeric2_x003E_k__BackingField> <_x003C_SpareNumeric3_x003E_k__BackingField>0</_x003C_SpareNumeric3_x003E_k__BackingField> <_x003C_SpareString1_x003E_k__BackingField>String</_x003C_SpareString1_x003E_k__BackingField> <_x003C_SpareString2_x003E_k__BackingField>String</_x003C_SpareString2_x003E_k__BackingField> <_x003C_SpareString3_x003E_k__BackingField>String</_x003C_SpareString3_x003E_k__BackingField> <_x003C_UseByDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_UseByDate_x003E_k__BackingField> </SalesOrderShippingLabel> </_x003C_ShippingLabels_x003E_k__BackingField> <_x003C_Stage_x003E_k__BackingField>String</_x003C_Stage_x003E_k__BackingField> <_x003C_TaxRate_x003E_k__BackingField xmlns:d3p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.Tax"> <d3p1:_x003C_BASCode_x003E_k__BackingField>0</d3p1:_x003C_BASCode_x003E_k__BackingField> <d3p1:_x003C_Description_x003E_k__BackingField>String</d3p1:_x003C_Description_x003E_k__BackingField> <d3p1:_x003C_GSTTaxGroup_x003E_k__BackingField>WST</d3p1:_x003C_GSTTaxGroup_x003E_k__BackingField> <d3p1:_x003C_IsDefaultRateInGroup_x003E_k__BackingField>false</d3p1:_x003C_IsDefaultRateInGroup_x003E_k__BackingField> <d3p1:_x003C_IsDefaultRate_x003E_k__BackingField>false</d3p1:_x003C_IsDefaultRate_x003E_k__BackingField> <d3p1:_x003C_IsEnabled_x003E_k__BackingField>false</d3p1:_x003C_IsEnabled_x003E_k__BackingField> <d3p1:_x003C_LedgerAccount_x003E_k__BackingField xmlns:d4p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.GeneralLedger"> <d4p1:_x003C_AccountNo_x003E_k__BackingField>String</d4p1:_x003C_AccountNo_x003E_k__BackingField> <d4p1:_x003C_Description_x003E_k__BackingField>String</d4p1:_x003C_Description_x003E_k__BackingField> <d4p1:_x003C_LedgerID_x003E_k__BackingField>String</d4p1:_x003C_LedgerID_x003E_k__BackingField> </d3p1:_x003C_LedgerAccount_x003E_k__BackingField> <d3p1:_x003C_Rate_x003E_k__BackingField>0</d3p1:_x003C_Rate_x003E_k__BackingField> <d3p1:_x003C_RecID_x003E_k__BackingField>String</d3p1:_x003C_RecID_x003E_k__BackingField> <d3p1:_x003C_TaxID_x003E_k__BackingField>String</d3p1:_x003C_TaxID_x003E_k__BackingField> </_x003C_TaxRate_x003E_k__BackingField> <_x003C_TaxToCharge_x003E_k__BackingField>0</_x003C_TaxToCharge_x003E_k__BackingField> <_x003C_UnitCost_x003E_k__BackingField>0</_x003C_UnitCost_x003E_k__BackingField> <_x003C_UnitOfMeasure_x003E_k__BackingField xmlns:d3p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.Inventory"> <d3p1:_x003C_Barcode_x003E_k__BackingField>String</d3p1:_x003C_Barcode_x003E_k__BackingField> <d3p1:_x003C_InnerUnitOfMeasure_x003E_k__BackingField> <d3p1:_x003C_Barcode_x003E_k__BackingField>String</d3p1:_x003C_Barcode_x003E_k__BackingField> <d3p1:_x003C_InnerUnitOfMeasure_x003E_k__BackingField> <d3p1:_x003C_Barcode_x003E_k__BackingField>String</d3p1:_x003C_Barcode_x003E_k__BackingField> <d3p1:_x003C_InnerUnitOfMeasure_x003E_k__BackingField i:nil="true" /> <d3p1:_x003C_IsPurchase_x003E_k__BackingField>false</d3p1:_x003C_IsPurchase_x003E_k__BackingField> <d3p1:_x003C_IsSell_x003E_k__BackingField>false</d3p1:_x003C_IsSell_x003E_k__BackingField> <d3p1:_x003C_ItemNo_x003E_k__BackingField>0</d3p1:_x003C_ItemNo_x003E_k__BackingField> <d3p1:_x003C_LastSavedDateTime_x003E_k__BackingField>0001-01-01T00:00:00</d3p1:_x003C_LastSavedDateTime_x003E_k__BackingField> <d3p1:_x003C_Name_x003E_k__BackingField>String</d3p1:_x003C_Name_x003E_k__BackingField> <d3p1:_x003C_PartNo_x003E_k__BackingField>String</d3p1:_x003C_PartNo_x003E_k__BackingField> <d3p1:_x003C_QuantityInnersPerUnitOfMeasure_x003E_k__BackingField>0</d3p1:_x003C_QuantityInnersPerUnitOfMeasure_x003E_k__BackingField> <d3p1:_x003C_RecID_x003E_k__BackingField>String</d3p1:_x003C_RecID_x003E_k__BackingField> <d3p1:_x003C_UnitOfMeasureID_x003E_k__BackingField>String</d3p1:_x003C_UnitOfMeasureID_x003E_k__BackingField> </d3p1:_x003C_InnerUnitOfMeasure_x003E_k__BackingField> <d3p1:_x003C_IsPurchase_x003E_k__BackingField>false</d3p1:_x003C_IsPurchase_x003E_k__BackingField> <d3p1:_x003C_IsSell_x003E_k__BackingField>false</d3p1:_x003C_IsSell_x003E_k__BackingField> <d3p1:_x003C_ItemNo_x003E_k__BackingField>0</d3p1:_x003C_ItemNo_x003E_k__BackingField> <d3p1:_x003C_LastSavedDateTime_x003E_k__BackingField>0001-01-01T00:00:00</d3p1:_x003C_LastSavedDateTime_x003E_k__BackingField> <d3p1:_x003C_Name_x003E_k__BackingField>String</d3p1:_x003C_Name_x003E_k__BackingField> <d3p1:_x003C_PartNo_x003E_k__BackingField>String</d3p1:_x003C_PartNo_x003E_k__BackingField> <d3p1:_x003C_QuantityInnersPerUnitOfMeasure_x003E_k__BackingField>0</d3p1:_x003C_QuantityInnersPerUnitOfMeasure_x003E_k__BackingField> <d3p1:_x003C_RecID_x003E_k__BackingField>String</d3p1:_x003C_RecID_x003E_k__BackingField> <d3p1:_x003C_UnitOfMeasureID_x003E_k__BackingField>String</d3p1:_x003C_UnitOfMeasureID_x003E_k__BackingField> </d3p1:_x003C_InnerUnitOfMeasure_x003E_k__BackingField> <d3p1:_x003C_IsPurchase_x003E_k__BackingField>false</d3p1:_x003C_IsPurchase_x003E_k__BackingField> <d3p1:_x003C_IsSell_x003E_k__BackingField>false</d3p1:_x003C_IsSell_x003E_k__BackingField> <d3p1:_x003C_ItemNo_x003E_k__BackingField>0</d3p1:_x003C_ItemNo_x003E_k__BackingField> <d3p1:_x003C_LastSavedDateTime_x003E_k__BackingField>0001-01-01T00:00:00</d3p1:_x003C_LastSavedDateTime_x003E_k__BackingField> <d3p1:_x003C_Name_x003E_k__BackingField>String</d3p1:_x003C_Name_x003E_k__BackingField> <d3p1:_x003C_PartNo_x003E_k__BackingField>String</d3p1:_x003C_PartNo_x003E_k__BackingField> <d3p1:_x003C_QuantityInnersPerUnitOfMeasure_x003E_k__BackingField>0</d3p1:_x003C_QuantityInnersPerUnitOfMeasure_x003E_k__BackingField> <d3p1:_x003C_RecID_x003E_k__BackingField>String</d3p1:_x003C_RecID_x003E_k__BackingField> <d3p1:_x003C_UnitOfMeasureID_x003E_k__BackingField>String</d3p1:_x003C_UnitOfMeasureID_x003E_k__BackingField> </_x003C_UnitOfMeasure_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_Weight_x003E_k__BackingField>0</_x003C_Weight_x003E_k__BackingField> </SalesOrderLine> </ArrayOfSalesOrderLine>