GET | /SalesQuotes/{QuoteID}/Historys/{QuoteHistoryID}/Lines | Retrieves a list of sales Quote lines. |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
QuoteID | path | string | No | |
QuoteHistoryID | 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 /SalesQuotes/{QuoteID}/Historys/{QuoteHistoryID}/Lines HTTP/1.1 Host: api.jiwa.com.au Accept: application/xml
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <ArrayOfSalesQuoteLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes"> <SalesQuoteLine> <_x003C_CommentLine_x003E_k__BackingField>false</_x003C_CommentLine_x003E_k__BackingField> <_x003C_CommentText_x003E_k__BackingField>String</_x003C_CommentText_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_FixSellPrice_x003E_k__BackingField>false</_x003C_FixSellPrice_x003E_k__BackingField> <_x003C_InventoryID_x003E_k__BackingField>String</_x003C_InventoryID_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_SalesQuoteNormalLine</_x003C_KitLineType_x003E_k__BackingField> <_x003C_KitUnits_x003E_k__BackingField>0</_x003C_KitUnits_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_PriceExGst_x003E_k__BackingField>0</_x003C_PriceExGst_x003E_k__BackingField> <_x003C_PriceIncGst_x003E_k__BackingField>0</_x003C_PriceIncGst_x003E_k__BackingField> <_x003C_QuantityDecimalPlaces_x003E_k__BackingField>0</_x003C_QuantityDecimalPlaces_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_QuoteLineID_x003E_k__BackingField>String</_x003C_QuoteLineID_x003E_k__BackingField> <_x003C_TaxRate_x003E_k__BackingField>0</_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_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> </SalesQuoteLine> </ArrayOfSalesQuoteLine>