59
Access data of the HF ID tag
The following services allow the access to the HF ID tags.
Read UID of HF ID tags
Service available
: DTE105, DTE605
This service is supported in the channel mode "RWH"
Method: POST
URL:
Request body data:
{ "
code
": "request","
cid
": 1001,"
adr
": "data/port[1]/rfid/id_tag/uid/getdata", "
reply
": "
reply text
"}
Request
element
Value
Remark
code
"request"
-
cid
<CorrID>
Correlation identifier.
Can be set from 0…32767
e.g. 1001
adr
"data/port[
N
]/rfid/id_tag/uid/getdata"
For DTE10x :
N
= 1…4
For DTE60x, DTE80x, DTE9Xx:
N
= 1
e.g. 1
reply
"<string>"
Optional:
Text to be send back in the response.
If not needed, this element can be removed from
the request.
e.g. "reply text"
Response data:
{"
cid
":1001,"
data
":{"value":"
e008010c38325124
"},"
adr
":"
reply text
","
code
":200}
Response
element
Value
Remark
cid
<CorrID>
Correlation identifier.
Same as send in request
e.g. 1001
data
{"
value
":"<uid>"}
value
: UID coded in HEX, 2 characters per HEX number
e.g. e008010c38325124
adr
"reply text"
Optional:
Text sent in element "reply" of the service request
code
<status code>
Response code of the IoT core
See chapter ->
e.g. 200