AnsweredAssumed Answered

Receive Xml over REST

Question asked by gisbiz10 on Feb 19, 2016
Latest reply on Apr 21, 2016 by rsunderman-esristaff

Hi I would like to receive following Xml over REST in GeoEvent

 

<?xml version="1.0" encoding="UTF-8"?>
<ez_data>
<fz title="First Test" id="abc55">
<updated timestamp="2016-02-12T22:59:59Z"/>
<pos x="52.30" y="-13.02"/>
<Statuslist>
<Assetstatus Status="NORMAL" type="A"/>
<Assetstatus Status="NORMAL" type="C"/>
<Assetstatus Status="NORMAL" type="C"/>
<Assetstatus Status="ABNORMAL" type="B"/>
<Assetstatus Status="ABNORMAL" type="C"/>
</Statuslist>
</fz>
</ez_data>

 

I would like to generate a new field using a defined logic by looking at the values of status and type in the list

e.g. if status="ABNORMAL" and type = "B", then new field= "MAJOR"

Is this feasible using any processor in GeoEvent ?

Outcomes