Data retrieval in pullpoint mode – 2N Helios IP HTTP API Manual v2.8 User Manual
Page 10

10
Data Retrieval in PullPoint Mode
To retrieve events from
in the PullPoint mode, create the PullPoint via
2N Helios IP
®
the
request, specifying the type of events to be retrieved and the
CreatePullPoint
subscription time.
If the subscription is successful,
sends the
2N Helios IP
®
CreatePullPointResponse
including the Subscription Id for subsequent communication with
.
2N Helios IP
®
Now you can read out events from
periodically using the
2N Helios IP
®
GetMessages
request.
sends the
including the list of
2N Helios IP
®
GetMessagesResponse
events. In case there is no event in the queue, the event list is empty in the response.
The subscription time is limited (as specified in the CreatePullPoint request). When the
subscription time expires, you will be unsubscribed automatically. To extend the
subscription time, send the
request before expiry.
will reply
Renew
2N Helios IP
®
with the
message.
RenewResponse
Send the
request to unsubscribe explicitly.
will reply with
Unsubscribe
2N Helios IP
®
the
message.
UnsubscribeResponse