IO-Link Master with IoT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67
54
>
Access the ifm IoT Core
52257
The user can access the ifm IoT Core via HTTP requests. The following request methods are
available.
>
GET request
33804
Using the GET method the user has read access to a data point.
The syntax of the request to the IoT Core is:
http://ip/datapoint/service
Description
Description
ip
IP address of the IoT interface
data_point
Data point which is to be accessed
service
Service
The syntax of the return of the IoT Core is:
{
"cid":id,
"data":{"value":resp_data},
"code":diag_code
}
parameter
Description
id
Correlation ID for the assignment of request and return
resp_data
Value of the data point; depending on the data type of the data point
diag_code
Diagnostic code (
→
IoT Core: Diagnostic codes
(
→ S.
>
Example: GET request
54033
Request (via browser):
http://192.168.0.250/devicetag/applicationtag/getdata
Response:
{
"cid":-1,
"data":{"value":"AL1352"},
"code":200
}