IO-Link Master with IoT Interface DataLine 8 Ports IP 65 / IP 66 / IP 67
78
>
Service: getsubscriptioninfo
34172
Name:
getsubscriptioninfo
Description:
The service provides information about an existing subscription (subscribe).
Request data (field "data"):
Data field
Required field
Data type Description
callback
mandatory
STRING
Address to which IoT Core event notifications are to be sent; complete
URL: http://ipaddress:port/path
Response data (field "data"):
Data field
Required field
Data type Description
callback
mandatory
STRING
Address to which IoT Core event notifications are to be sent; complete
URL: http://ipaddress:port/path
datatosend
mandatory
ARRAY
OF
STRINGS
List of subscribed data points
Example:
Request:
{
"code":"request",
"cid": 4715,
"adr":"/timer[1]/counter/datachanged/getsubscriptioninfo",
"data":{
"callback":"http://192.168.0.44:80/temp"}
}
Response:
{
"cid": 4715,
"data":{
"callback":"http://192.168.0.44:80/temp",
"datatosend":[
"/iolinkmaster/port[2]/iolinkdevice/productname",
"/iolinkmaster/port[2]/iolinkdevice/pdin",
"/processdatamaster/temperature"]},
"code":200
}