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 /SalesOrders/{InvoiceID}/Historys/{InvoiceHistoryID} HTTP/1.1
Host: api.jiwa.com.au
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<SalesOrderHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.SalesOrders">
<_x003C_AmountPaid_x003E_k__BackingField>0</_x003C_AmountPaid_x003E_k__BackingField>
<_x003C_Carrier_x003E_k__BackingField>
<_x003C_AccountNo_x003E_k__BackingField>String</_x003C_AccountNo_x003E_k__BackingField>
<_x003C_CarrierID_x003E_k__BackingField>String</_x003C_CarrierID_x003E_k__BackingField>
<_x003C_CarrierName_x003E_k__BackingField>String</_x003C_CarrierName_x003E_k__BackingField>
<_x003C_ChargeTo_x003E_k__BackingField>FreightChargeToSender</_x003C_ChargeTo_x003E_k__BackingField>
<_x003C_ConsignmentNoteCollection_x003E_k__BackingField>
<SalesOrderConsignmentNote>
<_x003C_ConsignmentNoteDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_ConsignmentNoteDate_x003E_k__BackingField>
<_x003C_ConsignmentNoteID_x003E_k__BackingField>String</_x003C_ConsignmentNoteID_x003E_k__BackingField>
<_x003C_ConsignmentNoteNo_x003E_k__BackingField>String</_x003C_ConsignmentNoteNo_x003E_k__BackingField>
<_x003C_ExGSTAmount_x003E_k__BackingField>0</_x003C_ExGSTAmount_x003E_k__BackingField>
<_x003C_GSTAmount_x003E_k__BackingField>0</_x003C_GSTAmount_x003E_k__BackingField>
</SalesOrderConsignmentNote>
</_x003C_ConsignmentNoteCollection_x003E_k__BackingField>
<_x003C_FreightItemCollection_x003E_k__BackingField>
<SalesOrderFreightItem>
<_x003C_ConsignmentNote_x003E_k__BackingField>
<_x003C_ConsignmentNoteDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_ConsignmentNoteDate_x003E_k__BackingField>
<_x003C_ConsignmentNoteID_x003E_k__BackingField>String</_x003C_ConsignmentNoteID_x003E_k__BackingField>
<_x003C_ConsignmentNoteNo_x003E_k__BackingField>String</_x003C_ConsignmentNoteNo_x003E_k__BackingField>
<_x003C_ExGSTAmount_x003E_k__BackingField>0</_x003C_ExGSTAmount_x003E_k__BackingField>
<_x003C_GSTAmount_x003E_k__BackingField>0</_x003C_GSTAmount_x003E_k__BackingField>
</_x003C_ConsignmentNote_x003E_k__BackingField>
<_x003C_FreightDescription_x003E_k__BackingField>
<_x003C_CarrierFreightDescriptionID_x003E_k__BackingField>String</_x003C_CarrierFreightDescriptionID_x003E_k__BackingField>
<_x003C_Description_x003E_k__BackingField>String</_x003C_Description_x003E_k__BackingField>
</_x003C_FreightDescription_x003E_k__BackingField>
<_x003C_FreightItemID_x003E_k__BackingField>String</_x003C_FreightItemID_x003E_k__BackingField>
<_x003C_ItemCubic_x003E_k__BackingField>0</_x003C_ItemCubic_x003E_k__BackingField>
<_x003C_ItemHeight_x003E_k__BackingField>0</_x003C_ItemHeight_x003E_k__BackingField>
<_x003C_ItemLength_x003E_k__BackingField>0</_x003C_ItemLength_x003E_k__BackingField>
<_x003C_ItemWeight_x003E_k__BackingField>0</_x003C_ItemWeight_x003E_k__BackingField>
<_x003C_ItemWidth_x003E_k__BackingField>0</_x003C_ItemWidth_x003E_k__BackingField>
<_x003C_NumberItems_x003E_k__BackingField>0</_x003C_NumberItems_x003E_k__BackingField>
<_x003C_Reference_x003E_k__BackingField>String</_x003C_Reference_x003E_k__BackingField>
</SalesOrderFreightItem>
</_x003C_FreightItemCollection_x003E_k__BackingField>
<_x003C_Service_x003E_k__BackingField>
<_x003C_CarrierServiceID_x003E_k__BackingField>String</_x003C_CarrierServiceID_x003E_k__BackingField>
<_x003C_Name_x003E_k__BackingField>String</_x003C_Name_x003E_k__BackingField>
</_x003C_Service_x003E_k__BackingField>
<_x003C_Status_x003E_k__BackingField>FreightSystemStatusNone</_x003C_Status_x003E_k__BackingField>
<_x003C_UseLeastCost_x003E_k__BackingField>false</_x003C_UseLeastCost_x003E_k__BackingField>
</_x003C_Carrier_x003E_k__BackingField>
<_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_ConsignmentNote_x003E_k__BackingField>String</_x003C_ConsignmentNote_x003E_k__BackingField>
<_x003C_CourierDetails_x003E_k__BackingField>String</_x003C_CourierDetails_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_DBTransID_x003E_k__BackingField>String</_x003C_DBTransID_x003E_k__BackingField>
<_x003C_DateCreated_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DateCreated_x003E_k__BackingField>
<_x003C_DateLastSaved_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DateLastSaved_x003E_k__BackingField>
<_x003C_DatePosted_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DatePosted_x003E_k__BackingField>
<_x003C_DateProcessed_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DateProcessed_x003E_k__BackingField>
<_x003C_DeliveredDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DeliveredDate_x003E_k__BackingField>
<_x003C_Delivered_x003E_k__BackingField>false</_x003C_Delivered_x003E_k__BackingField>
<_x003C_DeliveryAddress1_x003E_k__BackingField>String</_x003C_DeliveryAddress1_x003E_k__BackingField>
<_x003C_DeliveryAddress2_x003E_k__BackingField>String</_x003C_DeliveryAddress2_x003E_k__BackingField>
<_x003C_DeliveryAddress3_x003E_k__BackingField>String</_x003C_DeliveryAddress3_x003E_k__BackingField>
<_x003C_DeliveryAddress4_x003E_k__BackingField>String</_x003C_DeliveryAddress4_x003E_k__BackingField>
<_x003C_DeliveryAddressContactName_x003E_k__BackingField>String</_x003C_DeliveryAddressContactName_x003E_k__BackingField>
<_x003C_DeliveryAddressCountry_x003E_k__BackingField>String</_x003C_DeliveryAddressCountry_x003E_k__BackingField>
<_x003C_DeliveryAddressEmailAddress_x003E_k__BackingField>String</_x003C_DeliveryAddressEmailAddress_x003E_k__BackingField>
<_x003C_DeliveryAddressPostcode_x003E_k__BackingField>String</_x003C_DeliveryAddressPostcode_x003E_k__BackingField>
<_x003C_DeliveryAddressee_x003E_k__BackingField>String</_x003C_DeliveryAddressee_x003E_k__BackingField>
<_x003C_DocketEmailed_x003E_k__BackingField>false</_x003C_DocketEmailed_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_EDIASNNumber_x003E_k__BackingField>String</_x003C_EDIASNNumber_x003E_k__BackingField>
<_x003C_EDIPickStatus_x003E_k__BackingField>e_SalesOrderHistoryEDIPickStatusNone</_x003C_EDIPickStatus_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_FreightForwardAddressNotes_x003E_k__BackingField>String</_x003C_FreightForwardAddressNotes_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_InvoiceHistoryID_x003E_k__BackingField>String</_x003C_InvoiceHistoryID_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_OtherEmailed_x003E_k__BackingField>false</_x003C_OtherEmailed_x003E_k__BackingField>
<_x003C_OtherPrinted_x003E_k__BackingField>false</_x003C_OtherPrinted_x003E_k__BackingField>
<_x003C_PackSlipEmailed_x003E_k__BackingField>false</_x003C_PackSlipEmailed_x003E_k__BackingField>
<_x003C_PackSlipPrinted_x003E_k__BackingField>false</_x003C_PackSlipPrinted_x003E_k__BackingField>
<_x003C_PickSheetEmailed_x003E_k__BackingField>false</_x003C_PickSheetEmailed_x003E_k__BackingField>
<_x003C_PickSheetPrinted_x003E_k__BackingField>false</_x003C_PickSheetPrinted_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_RunNo_x003E_k__BackingField>String</_x003C_RunNo_x003E_k__BackingField>
<_x003C_Status_x003E_k__BackingField>e_SalesOrderHistoryStatusEntering</_x003C_Status_x003E_k__BackingField>
<_x003C_TotalQuantityDelivered_x003E_k__BackingField>0</_x003C_TotalQuantityDelivered_x003E_k__BackingField>
</SalesOrderHistory>