updateGeofenceRule
Update Rule setup on an event of crossing Geofence.
Geofence Rule is a trigger set on events when a mobile device crosses the Geofence. The Rule can be triggered when a GPS device enters or exits the fenced area. The triggered event can send various notifications such as emails, SMS messages etc.
updateGeofenceRuleRequest
Update Geofence Rule request.
Object Fields
NameTypeRequiredDescription
wsAdminTdxAdminYesAdmin Credentials
geofenceRuleTdxGeofenceRuleYesRule to be updated



XML Example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <ns1:updateGeofenceRule soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:tns">
   <wsAdmin href="#id0"/>
   <geofenceRule href="#id1"/>
  </ns1:updateGeofenceRule>
  <multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:TdxAdmin" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://www.telenavtrack.net/schema">
   <email xsi:type="xsd:string">1251855792857@telenav.com</email>
   <password xsi:type="xsd:string">password</password>
  </multiRef>
  <multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns3:TdxGeofenceRule" xmlns:ns3="http://www.telenavtrack.net/schema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
   <ruleId href="#id2"/>
   <geofenceId href="#id3"/>
   <ptn xsi:type="xsd:string">0000000002</ptn>
   <enableInOutAlert href="#id4"/>
   <enableOutInAlert href="#id5"/>
   <sendByMail href="#id6"/>
   <mailAddressList xsi:type="xsd:string">1130 Kifer Rd, Sunnyvale, CA 94086</mailAddressList>
   <sendBySMS href="#id7"/>
   <sendByMsg href="#id8"/>
   <alertMessage xsi:type="xsd:string">Test Alert</alertMessage>
  </multiRef>
  <multiRef id="id7" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:boolean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">false</multiRef>
  <multiRef id="id5" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:boolean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">false</multiRef>
  <multiRef id="id4" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:boolean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">true</multiRef>
  <multiRef id="id8" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:boolean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">false</multiRef>
  <multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:long" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">359438</multiRef>
  <multiRef id="id6" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:boolean" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">false</multiRef>
  <multiRef id="id3" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:long" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">131233</multiRef>
 </soapenv:Body>
</soapenv:Envelope>
				



updateGeofenceRuleResponse
Update Geofence Rule response.
Object Fields
NameTypeRequired
updateCircleFenceRuleReturnbooleanYes

XML Example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 <soapenv:Body>
  <ns1:updateGeofenceRuleResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:tns">
   <updateGeofenceRuleReturn xsi:type="xsd:boolean">true</updateGeofenceRuleReturn>
  </ns1:updateGeofenceRuleResponse>
 </soapenv:Body>
</soapenv:Envelope>