IO-Link Master with Modbus TCP Interface DataLine 4 Ports IP 65 / IP 66 / IP 67
>
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
IP address of the IoT interface
Data point which is to be accessed
The syntax of the return of the IoT Core is:
{
"cid":id,
"data":{"value":resp_data},
"code":diag_code
}
Correlation ID for the assignment of request and return
Value of the data point; depending on the data type of the data point
Diagnostic code (→ IoT Core: Diagnostic codes (→ S. 62))
>
Example: GET request
54033
Request (via browser):
http://192.168.0.250/devicetag/applicationtag/getdata
Response:
{
"cid":-1,
"data":{"value":"AL1340"},
"code":200
}