To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
PATCH /SalesQuotes/{QuoteID}/Historys/{QuoteHistoryID}/Lines/{QuoteLineID} HTTP/1.1
Host: api.jiwa.com.au
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SalesQuoteLinePATCHRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel">
<_x003C_CommentLine_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">false</_x003C_CommentLine_x003E_k__BackingField>
<_x003C_CommentText_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">String</_x003C_CommentText_x003E_k__BackingField>
<_x003C_Cubic_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_Cubic_x003E_k__BackingField>
<_x003C_CustomFieldValues_x003E_k__BackingField xmlns:d2p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.CustomFields" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">
<d2p1:CustomFieldValue>
<d2p1:_x003C_Contents_x003E_k__BackingField>String</d2p1:_x003C_Contents_x003E_k__BackingField>
<d2p1:_x003C_PluginID_x003E_k__BackingField>String</d2p1:_x003C_PluginID_x003E_k__BackingField>
<d2p1:_x003C_PluginName_x003E_k__BackingField>String</d2p1:_x003C_PluginName_x003E_k__BackingField>
<d2p1:_x003C_SettingID_x003E_k__BackingField>String</d2p1:_x003C_SettingID_x003E_k__BackingField>
<d2p1:_x003C_SettingName_x003E_k__BackingField>String</d2p1:_x003C_SettingName_x003E_k__BackingField>
</d2p1:CustomFieldValue>
</_x003C_CustomFieldValues_x003E_k__BackingField>
<_x003C_Description_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">String</_x003C_Description_x003E_k__BackingField>
<_x003C_DiscountGiven_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_DiscountGiven_x003E_k__BackingField>
<_x003C_DiscountedPercentage_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_DiscountedPercentage_x003E_k__BackingField>
<_x003C_DiscountedPrice_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_DiscountedPrice_x003E_k__BackingField>
<_x003C_FixSellPrice_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">false</_x003C_FixSellPrice_x003E_k__BackingField>
<_x003C_InventoryID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">String</_x003C_InventoryID_x003E_k__BackingField>
<_x003C_ItemNo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_ItemNo_x003E_k__BackingField>
<_x003C_KitHeaderLineID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">String</_x003C_KitHeaderLineID_x003E_k__BackingField>
<_x003C_KitLineType_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">e_SalesQuoteNormalLine</_x003C_KitLineType_x003E_k__BackingField>
<_x003C_KitUnits_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_KitUnits_x003E_k__BackingField>
<_x003C_LineLinkID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">String</_x003C_LineLinkID_x003E_k__BackingField>
<_x003C_LineTotal_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_LineTotal_x003E_k__BackingField>
<_x003C_NonInventory_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">false</_x003C_NonInventory_x003E_k__BackingField>
<_x003C_PartNo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">String</_x003C_PartNo_x003E_k__BackingField>
<_x003C_PriceExGst_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_PriceExGst_x003E_k__BackingField>
<_x003C_PriceIncGst_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_PriceIncGst_x003E_k__BackingField>
<_x003C_QuantityDecimalPlaces_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_QuantityDecimalPlaces_x003E_k__BackingField>
<_x003C_QuantityOrdered_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_QuantityOrdered_x003E_k__BackingField>
<_x003C_QuantityOriginalOrdered_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_QuantityOriginalOrdered_x003E_k__BackingField>
<_x003C_QuoteLineID_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes" />
<_x003C_TaxRate_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_TaxRate_x003E_k__BackingField>
<_x003C_TaxToCharge_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_TaxToCharge_x003E_k__BackingField>
<_x003C_UnitCost_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_UnitCost_x003E_k__BackingField>
<_x003C_UserDefinedFloat1_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_UserDefinedFloat1_x003E_k__BackingField>
<_x003C_UserDefinedFloat2_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_UserDefinedFloat2_x003E_k__BackingField>
<_x003C_UserDefinedFloat3_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_UserDefinedFloat3_x003E_k__BackingField>
<_x003C_Weight_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">0</_x003C_Weight_x003E_k__BackingField>
<_x003C_QuoteHistoryID_x003E_k__BackingField>String</_x003C_QuoteHistoryID_x003E_k__BackingField>
<_x003C_QuoteID_x003E_k__BackingField>String</_x003C_QuoteID_x003E_k__BackingField>
<_x003C_QuoteLineID_x003E_k__BackingField>String</_x003C_QuoteLineID_x003E_k__BackingField>
</SalesQuoteLinePATCHRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SalesQuoteLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">
<_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:d2p1="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.CustomFields">
<d2p1:CustomFieldValue>
<d2p1:_x003C_Contents_x003E_k__BackingField>String</d2p1:_x003C_Contents_x003E_k__BackingField>
<d2p1:_x003C_PluginID_x003E_k__BackingField>String</d2p1:_x003C_PluginID_x003E_k__BackingField>
<d2p1:_x003C_PluginName_x003E_k__BackingField>String</d2p1:_x003C_PluginName_x003E_k__BackingField>
<d2p1:_x003C_SettingID_x003E_k__BackingField>String</d2p1:_x003C_SettingID_x003E_k__BackingField>
<d2p1:_x003C_SettingName_x003E_k__BackingField>String</d2p1:_x003C_SettingName_x003E_k__BackingField>
</d2p1: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>