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 /WarehouseTransfersIn/{WarehouseTransferInID}/Lines/{WarehouseTransferInLineID} HTTP/1.1
Host: api.jiwa.com.au
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<WarehouseTransferInLine 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>
<WarehouseTransferInLineDetail>
<_x003C_AddedCost_x003E_k__BackingField>0</_x003C_AddedCost_x003E_k__BackingField>
<_x003C_CostReceived_x003E_k__BackingField>0</_x003C_CostReceived_x003E_k__BackingField>
<_x003C_Cost_x003E_k__BackingField>0</_x003C_Cost_x003E_k__BackingField>
<_x003C_DestinationBinLocation_x003E_k__BackingField>String</_x003C_DestinationBinLocation_x003E_k__BackingField>
<_x003C_DestinationExpiryDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DestinationExpiryDate_x003E_k__BackingField>
<_x003C_DestinationSerialNo_x003E_k__BackingField>String</_x003C_DestinationSerialNo_x003E_k__BackingField>
<_x003C_Destination_IN_SOHID_x003E_k__BackingField>String</_x003C_Destination_IN_SOHID_x003E_k__BackingField>
<_x003C_InTransit_IN_SOHID_x003E_k__BackingField>String</_x003C_InTransit_IN_SOHID_x003E_k__BackingField>
<_x003C_QuantityReceived_x003E_k__BackingField>0</_x003C_QuantityReceived_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_SourceDateIn_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_SourceDateIn_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_SourceSpecialPrice_x003E_k__BackingField>0</_x003C_SourceSpecialPrice_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>
</WarehouseTransferInLineDetail>
</_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_QuantityReceived_x003E_k__BackingField>0</_x003C_QuantityReceived_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_WarehouseTransferInLineID_x003E_k__BackingField>String</_x003C_WarehouseTransferInLineID_x003E_k__BackingField>
</WarehouseTransferInLine>