12.3.1.1 Syntax of the xPath query
12.3.1.1.1 List of the fields in a table
A list of the fields within a table is read out via an
@
before the table identifier.
https://server-URL:8080/@geraetid?user=u1&password=p1
Example above provides a list of the fields in the "Device" table (
geraetid
):
<Result>
<Field title="Customer">customer</Field>
<Field title="Serial number">devsn</Field>
<Field title="Device class">devclass</Field>
<Field title="Telephone number">telnr</Field>
<Field title="Device flags">devflags</Field>
<Field title="Firmware version">swversion</Field>
<Field title="Modem version">modemversion</Field>
<Field title="OS version">osversion</Field>
<Field title="Last connection" units="<%data locals.time_code%>
<%data locals.offset_record.lastcon%>">lastcon</Field>
<Field title="Last wakeup" units="<%data locals.time_code%>
<%data locals.offset_record.lastwakeup%>">lastwakeup</Field>
<Field title="Last disconnection" units="<%data locals.time_code%>
<%data locals.offset_record.lastdisc%>">lastdisc</Field>
<Field title="Last transmission error" units="<%data locals.time_code%>
<%data locals.offset_record.lasterr%>">lasterr</Field>
<Field title="Last Aloha connection" units="<%data locals.time_code%>
<%data locals.offset_record.lastaloha%>">lastaloha</Field>
<Field title="Firmware update">fw_update</Field>
<Field title="Firmware type">fw_release_type</Field>
</Result>
A list of possible table identifiers is provided in "Structure of the database" on page 75.
12.3.1.1.2 List of site types
You can access a list of all the types of sites that are supported by the myDataweb server by
specifying the xPath query
SiteTypes
:
https://server-URL:8080/SiteTypes?user=u1&password=p1
Result:
<Result>
:
<SiteType class="6000" title="myDatalogNanoAMR"> FFFF6000 </SiteType>
:
</Result>
12.3.1.1.3 Filter conditions
The filter condition is always within square brackets
[]
and comprises expressions that can be
linked by keywords such as
and
and
or
. The expressions can be prioritised by using round brackets
94
Rev. 01
Summary of Contents for myDatalogNANOamr
Page 2: ......
Page 9: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 9 ...
Page 10: ......
Page 12: ......
Page 20: ......
Page 40: ......
Page 56: ...9 2 2 4 GPRS SIM tariff Selected SIM tariff 56 Rev 01 ...
Page 64: ......
Page 106: ......
Page 112: ......
Page 122: ......
Page 124: ......