![background image](http://html1.mh-extra.com/html/ifm/al1330/al1330_operating-instructions-manual_3887894126.webp)
IO-Link master with EtherCAT interface DataLine 4 ports IP 65 / IP 66 / IP 67
126
>
Service: getsubscriberlist
61191
Name:
getsubscriberlist
Description:
The service provides a list of all active subscriptions.
Request data ("data" field):
none
Return data ("data" field):
Array with the following data
Data field
Mandatory
field
Data type Description
adr
mandatory
STRING
Data source
datatosend
mandatory
ARRAY
OF
STRINGS
List with URLs of the subscribed data points
cid
mandatory
NUMBER
ID of the subscription
callbackurl
mandatory
STRING
Address to which IoT Core event notifications are to be sent;
duration
mandatory
STRING
Storage duration of the value
Example:
•
Request object:
{
"code":"request",
"cid":4711,
"adr":"/getsubscriberlist"
}
•
Return object:
{
"cid":4711,
"data":[
{
"adr":"/timer[1]/counter/datachanged/subscribe",
"datatosend":["/iolinkmaster/port[2]/iolinkdevice/pdin"],
"cid":1,
"callbackurl":"http://192.168.0.45:80/temp",
"duration":"lifetime"},
{
"adr":"/timer[1]/counter/datachanged/subscribe",
"datatosend":["/processdatamaster/temperature","/processdatamaster/voltage"],
"cid":2,
"callbackurl":"http://192.168.0.44:80/temp",
"duration":"lifetime"}
]
"code":200
}