![IFM DTE8 5 Series Device Manual Download Page 44](http://html1.mh-extra.com/html/ifm/dte8-5-series/dte8-5-series_device-manual_3966188044.webp)
44
12 General IoT Core services
The following services can be used to get more information from the data elements of the device.
Get Identity of the device
With this service a device can be identified by the host.
Service available
: All devices
Method: POST
URL:
Request body data:
{"
code
": "request","
cid
": 1234,"
adr
":"getidentity","
reply
":"
reply text
"}
Request
element
Value
Remark
code
"request"
-
cid
<Number>
Correlation identifier.
Can be set from 0…32767
e.g. 1234
adr
"<target_address>"
Service to be called
e.g. getidentity
reply
"reply text"
Optional:
Text to be send back in the response.
If not needed, this element can be removed from
the request.
Response data:
{"
cid
":1234,"
data
":{"iot": {"name": "DTE905AB-0000047712","version": "1.3","catalogue": {"name": "ifm-std",
"version": "1.2"},"namespace": "JSON","deviceclass": "device"}},"
adr
":"XYZ","
code
":200}
Response
element
Value
Remark
cid
<Number>
Correlation identifier.
Same as send in request.
data
":{"iot": {"name": "DTE905AB-
0000047712","version": "1.3","catalogue":
{"name": "ifm-std", "version":
"1.2"},"namespace": "JSON","deviceclass":
"device"}}
adr
<string>
Optional.
Text sent in element "reply" of the service
request
e.g. "
reply text"
code
200
Response code of the IoT core
See chapter ->