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.
POST /WarehouseTransfersOut/{WarehouseTransferOutID}/Lines HTTP/1.1
Host: api.jiwa.com.au
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<WarehouseTransferOutLinePOSTRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel">
<_x003C_AddedCostLedger1AccountNo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_AddedCostLedger1AccountNo_x003E_k__BackingField>
<_x003C_AddedCostLedger1Description_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_AddedCostLedger1Description_x003E_k__BackingField>
<_x003C_AddedCostLedger1RecID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_AddedCostLedger1RecID_x003E_k__BackingField>
<_x003C_AddedCostLedger2AccountNo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_AddedCostLedger2AccountNo_x003E_k__BackingField>
<_x003C_AddedCostLedger2Description_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_AddedCostLedger2Description_x003E_k__BackingField>
<_x003C_AddedCostLedger2RecID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_AddedCostLedger2RecID_x003E_k__BackingField>
<_x003C_AddedCostLedger3AccountNo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_AddedCostLedger3AccountNo_x003E_k__BackingField>
<_x003C_AddedCostLedger3Description_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_AddedCostLedger3Description_x003E_k__BackingField>
<_x003C_AddedCostLedger3RecID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_AddedCostLedger3RecID_x003E_k__BackingField>
<_x003C_BackOrderID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_BackOrderID_x003E_k__BackingField>
<_x003C_Cost_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">0</_x003C_Cost_x003E_k__BackingField>
<_x003C_DecimalPlaces_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">0</_x003C_DecimalPlaces_x003E_k__BackingField>
<_x003C_Description_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_Description_x003E_k__BackingField>
<_x003C_InventoryID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_InventoryID_x003E_k__BackingField>
<_x003C_ItemNo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">0</_x003C_ItemNo_x003E_k__BackingField>
<_x003C_LineDetails_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">
<WarehouseTransferOutLineDetail>
<_x003C_Cost_x003E_k__BackingField>0</_x003C_Cost_x003E_k__BackingField>
<_x003C_InTransit_IN_SOHID_x003E_k__BackingField>String</_x003C_InTransit_IN_SOHID_x003E_k__BackingField>
<_x003C_Quantity_x003E_k__BackingField>0</_x003C_Quantity_x003E_k__BackingField>
<_x003C_SourceBinLocation_x003E_k__BackingField>String</_x003C_SourceBinLocation_x003E_k__BackingField>
<_x003C_SourceExpiryDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_SourceExpiryDate_x003E_k__BackingField>
<_x003C_SourceSerialNo_x003E_k__BackingField>String</_x003C_SourceSerialNo_x003E_k__BackingField>
<_x003C_Source_IN_SOHID_x003E_k__BackingField>String</_x003C_Source_IN_SOHID_x003E_k__BackingField>
<_x003C_TransferLineDetailsID_x003E_k__BackingField>String</_x003C_TransferLineDetailsID_x003E_k__BackingField>
</WarehouseTransferOutLineDetail>
</_x003C_LineDetails_x003E_k__BackingField>
<_x003C_PartNo_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_PartNo_x003E_k__BackingField>
<_x003C_PurchaseOrderID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_PurchaseOrderID_x003E_k__BackingField>
<_x003C_PurchaseOrderLineID_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_PurchaseOrderLineID_x003E_k__BackingField>
<_x003C_QuantityBackOrdered_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">0</_x003C_QuantityBackOrdered_x003E_k__BackingField>
<_x003C_QuantityTransferred_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">0</_x003C_QuantityTransferred_x003E_k__BackingField>
<_x003C_QuantityWanted_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">0</_x003C_QuantityWanted_x003E_k__BackingField>
<_x003C_Ref_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">String</_x003C_Ref_x003E_k__BackingField>
<_x003C_TotalCostReceived_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">0</_x003C_TotalCostReceived_x003E_k__BackingField>
<_x003C_TotalCostTransferred_x003E_k__BackingField xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">0</_x003C_TotalCostTransferred_x003E_k__BackingField>
<_x003C_WarehouseTransferOutLineID_x003E_k__BackingField i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers" />
<_x003C_WarehouseTransferOutID_x003E_k__BackingField>String</_x003C_WarehouseTransferOutID_x003E_k__BackingField>
<_x003C_WarehouseTransferOutLineID_x003E_k__BackingField>String</_x003C_WarehouseTransferOutLineID_x003E_k__BackingField>
</WarehouseTransferOutLinePOSTRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<WarehouseTransferOutLine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JiwaFinancials.Jiwa.JiwaServiceModel.WarehouseTransfers">
<_x003C_AddedCostLedger1AccountNo_x003E_k__BackingField>String</_x003C_AddedCostLedger1AccountNo_x003E_k__BackingField>
<_x003C_AddedCostLedger1Description_x003E_k__BackingField>String</_x003C_AddedCostLedger1Description_x003E_k__BackingField>
<_x003C_AddedCostLedger1RecID_x003E_k__BackingField>String</_x003C_AddedCostLedger1RecID_x003E_k__BackingField>
<_x003C_AddedCostLedger2AccountNo_x003E_k__BackingField>String</_x003C_AddedCostLedger2AccountNo_x003E_k__BackingField>
<_x003C_AddedCostLedger2Description_x003E_k__BackingField>String</_x003C_AddedCostLedger2Description_x003E_k__BackingField>
<_x003C_AddedCostLedger2RecID_x003E_k__BackingField>String</_x003C_AddedCostLedger2RecID_x003E_k__BackingField>
<_x003C_AddedCostLedger3AccountNo_x003E_k__BackingField>String</_x003C_AddedCostLedger3AccountNo_x003E_k__BackingField>
<_x003C_AddedCostLedger3Description_x003E_k__BackingField>String</_x003C_AddedCostLedger3Description_x003E_k__BackingField>
<_x003C_AddedCostLedger3RecID_x003E_k__BackingField>String</_x003C_AddedCostLedger3RecID_x003E_k__BackingField>
<_x003C_BackOrderID_x003E_k__BackingField>String</_x003C_BackOrderID_x003E_k__BackingField>
<_x003C_Cost_x003E_k__BackingField>0</_x003C_Cost_x003E_k__BackingField>
<_x003C_DecimalPlaces_x003E_k__BackingField>0</_x003C_DecimalPlaces_x003E_k__BackingField>
<_x003C_Description_x003E_k__BackingField>String</_x003C_Description_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_LineDetails_x003E_k__BackingField>
<WarehouseTransferOutLineDetail>
<_x003C_Cost_x003E_k__BackingField>0</_x003C_Cost_x003E_k__BackingField>
<_x003C_InTransit_IN_SOHID_x003E_k__BackingField>String</_x003C_InTransit_IN_SOHID_x003E_k__BackingField>
<_x003C_Quantity_x003E_k__BackingField>0</_x003C_Quantity_x003E_k__BackingField>
<_x003C_SourceBinLocation_x003E_k__BackingField>String</_x003C_SourceBinLocation_x003E_k__BackingField>
<_x003C_SourceExpiryDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_SourceExpiryDate_x003E_k__BackingField>
<_x003C_SourceSerialNo_x003E_k__BackingField>String</_x003C_SourceSerialNo_x003E_k__BackingField>
<_x003C_Source_IN_SOHID_x003E_k__BackingField>String</_x003C_Source_IN_SOHID_x003E_k__BackingField>
<_x003C_TransferLineDetailsID_x003E_k__BackingField>String</_x003C_TransferLineDetailsID_x003E_k__BackingField>
</WarehouseTransferOutLineDetail>
</_x003C_LineDetails_x003E_k__BackingField>
<_x003C_PartNo_x003E_k__BackingField>String</_x003C_PartNo_x003E_k__BackingField>
<_x003C_PurchaseOrderID_x003E_k__BackingField>String</_x003C_PurchaseOrderID_x003E_k__BackingField>
<_x003C_PurchaseOrderLineID_x003E_k__BackingField>String</_x003C_PurchaseOrderLineID_x003E_k__BackingField>
<_x003C_QuantityBackOrdered_x003E_k__BackingField>0</_x003C_QuantityBackOrdered_x003E_k__BackingField>
<_x003C_QuantityTransferred_x003E_k__BackingField>0</_x003C_QuantityTransferred_x003E_k__BackingField>
<_x003C_QuantityWanted_x003E_k__BackingField>0</_x003C_QuantityWanted_x003E_k__BackingField>
<_x003C_Ref_x003E_k__BackingField>String</_x003C_Ref_x003E_k__BackingField>
<_x003C_TotalCostReceived_x003E_k__BackingField>0</_x003C_TotalCostReceived_x003E_k__BackingField>
<_x003C_TotalCostTransferred_x003E_k__BackingField>0</_x003C_TotalCostTransferred_x003E_k__BackingField>
<_x003C_WarehouseTransferOutLineID_x003E_k__BackingField>String</_x003C_WarehouseTransferOutLineID_x003E_k__BackingField>
</WarehouseTransferOutLine>