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.
GET /SalesQuotes/{QuoteID}/Historys/{QuoteHistoryID} HTTP/1.1
Host: api.jiwa.com.au
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SalesQuoteHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesQuotes">
<_x003C_CartageCharge1_x003E_k__BackingField>
<_x003C_ExTaxAmount_x003E_k__BackingField>0</_x003C_ExTaxAmount_x003E_k__BackingField>
<_x003C_TaxAmount_x003E_k__BackingField>0</_x003C_TaxAmount_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_CartageCharge1_x003E_k__BackingField>
<_x003C_CartageCharge2_x003E_k__BackingField>
<_x003C_ExTaxAmount_x003E_k__BackingField>0</_x003C_ExTaxAmount_x003E_k__BackingField>
<_x003C_TaxAmount_x003E_k__BackingField>0</_x003C_TaxAmount_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_CartageCharge2_x003E_k__BackingField>
<_x003C_CartageCharge3_x003E_k__BackingField>
<_x003C_ExTaxAmount_x003E_k__BackingField>0</_x003C_ExTaxAmount_x003E_k__BackingField>
<_x003C_TaxAmount_x003E_k__BackingField>0</_x003C_TaxAmount_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_CartageCharge3_x003E_k__BackingField>
<_x003C_CourierDetails_x003E_k__BackingField>String</_x003C_CourierDetails_x003E_k__BackingField>
<_x003C_DelAddress1_x003E_k__BackingField>String</_x003C_DelAddress1_x003E_k__BackingField>
<_x003C_DelAddress2_x003E_k__BackingField>String</_x003C_DelAddress2_x003E_k__BackingField>
<_x003C_DelAddress3_x003E_k__BackingField>String</_x003C_DelAddress3_x003E_k__BackingField>
<_x003C_DelAddress4_x003E_k__BackingField>String</_x003C_DelAddress4_x003E_k__BackingField>
<_x003C_DelContactName_x003E_k__BackingField>String</_x003C_DelContactName_x003E_k__BackingField>
<_x003C_DeliveryAddressCountry_x003E_k__BackingField>String</_x003C_DeliveryAddressCountry_x003E_k__BackingField>
<_x003C_DeliveryAddressee_x003E_k__BackingField>String</_x003C_DeliveryAddressee_x003E_k__BackingField>
<_x003C_DocketPrinted_x003E_k__BackingField>false</_x003C_DocketPrinted_x003E_k__BackingField>
<_x003C_DropShipment_x003E_k__BackingField>false</_x003C_DropShipment_x003E_k__BackingField>
<_x003C_ExpectedCloseDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_ExpectedCloseDate_x003E_k__BackingField>
<_x003C_ExpiryDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_ExpiryDate_x003E_k__BackingField>
<_x003C_ExpiryDays_x003E_k__BackingField>0</_x003C_ExpiryDays_x003E_k__BackingField>
<_x003C_FreightForwardAddress1_x003E_k__BackingField>String</_x003C_FreightForwardAddress1_x003E_k__BackingField>
<_x003C_FreightForwardAddress2_x003E_k__BackingField>String</_x003C_FreightForwardAddress2_x003E_k__BackingField>
<_x003C_FreightForwardAddress3_x003E_k__BackingField>String</_x003C_FreightForwardAddress3_x003E_k__BackingField>
<_x003C_FreightForwardAddress4_x003E_k__BackingField>String</_x003C_FreightForwardAddress4_x003E_k__BackingField>
<_x003C_FreightForwardAddressCountry_x003E_k__BackingField>String</_x003C_FreightForwardAddressCountry_x003E_k__BackingField>
<_x003C_FreightForwardNotes_x003E_k__BackingField>String</_x003C_FreightForwardNotes_x003E_k__BackingField>
<_x003C_HistoryNo_x003E_k__BackingField>0</_x003C_HistoryNo_x003E_k__BackingField>
<_x003C_HistoryTotal_x003E_k__BackingField>0</_x003C_HistoryTotal_x003E_k__BackingField>
<_x003C_InvoiceEmailed_x003E_k__BackingField>false</_x003C_InvoiceEmailed_x003E_k__BackingField>
<_x003C_InvoicePrinted_x003E_k__BackingField>false</_x003C_InvoicePrinted_x003E_k__BackingField>
<_x003C_LastModifiedBy_x003E_k__BackingField>String</_x003C_LastModifiedBy_x003E_k__BackingField>
<_x003C_Notes_x003E_k__BackingField>String</_x003C_Notes_x003E_k__BackingField>
<_x003C_OpportunityNote_x003E_k__BackingField>String</_x003C_OpportunityNote_x003E_k__BackingField>
<_x003C_OpportunityStatusReason_x003E_k__BackingField>
<_x003C_Description_x003E_k__BackingField>String</_x003C_Description_x003E_k__BackingField>
<_x003C_Note_x003E_k__BackingField>String</_x003C_Note_x003E_k__BackingField>
<_x003C_OpportunityStatusReasonID_x003E_k__BackingField>String</_x003C_OpportunityStatusReasonID_x003E_k__BackingField>
<_x003C_StatusType_x003E_k__BackingField>OnGoing</_x003C_StatusType_x003E_k__BackingField>
</_x003C_OpportunityStatusReason_x003E_k__BackingField>
<_x003C_OpportunityStatus_x003E_k__BackingField>OnGoing</_x003C_OpportunityStatus_x003E_k__BackingField>
<_x003C_PostCode_x003E_k__BackingField>String</_x003C_PostCode_x003E_k__BackingField>
<_x003C_QuoteHistoryID_x003E_k__BackingField>String</_x003C_QuoteHistoryID_x003E_k__BackingField>
<_x003C_RecordDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_RecordDate_x003E_k__BackingField>
<_x003C_Ref_x003E_k__BackingField>String</_x003C_Ref_x003E_k__BackingField>
<_x003C_SalesStage_x003E_k__BackingField>
<_x003C_Description_x003E_k__BackingField>String</_x003C_Description_x003E_k__BackingField>
<_x003C_IsDefault_x003E_k__BackingField>false</_x003C_IsDefault_x003E_k__BackingField>
<_x003C_IsEnabled_x003E_k__BackingField>false</_x003C_IsEnabled_x003E_k__BackingField>
<_x003C_ItemNo_x003E_k__BackingField>0</_x003C_ItemNo_x003E_k__BackingField>
<_x003C_LastSavedDateTime_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_LastSavedDateTime_x003E_k__BackingField>
<_x003C_PercentComplete_x003E_k__BackingField>0</_x003C_PercentComplete_x003E_k__BackingField>
<_x003C_SalesStageID_x003E_k__BackingField>String</_x003C_SalesStageID_x003E_k__BackingField>
</_x003C_SalesStage_x003E_k__BackingField>
</SalesQuoteHistory>