Hi, I am try to make api call for triggering an action. Following is the body:
<?xml version="1.0" encoding="UTF-8"?>
<BES xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="BES.xsd">
<SourcedFixletAction>
<SourceFixlet>
<Sitename>Monitoring</Sitename>
<FixletID>875</FixletID>
<Action>Action3</Action>
</SourceFixlet>
<Target>
<!-- set computer id--> <IPAddress>10.238.72.211</IPAddress>
</Target>
</SourcedFixletAction>
</BES>
But I am getting following error:
XML parsing error: no declaration found for element ‘IPAddress’ Line 10, Character 36
API call works fine, if I use <ComputerName>
or <ComputerID>
however it is failing if I use <IPAddress>
. How can I fix this?