Fail incoming update and delete trade XML without an ID
Currently, Update and Delete trade XMLs from an external source system to IMOS work for action on the given id in the <id> tag. However if id is not present , then the XML updates/deletes the next trade in the list where the second tag 'BrokerConfNo' is a match. We would prefer IMOS to be able to fail the action of the XML based on empty <id> tag if a configuration flag is enabled. Or have a check in place so as the user is notified and XML is resent with a correct <id> tag value.
Below example for reference
<?xml version="1.0" encoding="UTF-8"?><FFADetailImport xmlns="http://schemas.veson.com/2005/ImosFFADet" xmlns:imosmsg="http://schemas.veson.com/2005/ImosMsg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" IsBunkerSwap="1" imosmsg:action="update"><FFADetail>
<Id>1234</Id>
<BrokerConfNo>xx</BrokerConfNo>
<Status>xx</Status>