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

10
Data Retrieval in PullPoint Mode
To retrieve events from 2N® Helios IP in the PullPoint mode, create the PullPoint via
the
request, specifying the type of events to be retrieved and the
CreatePullPoint
subscription time.
If the subscription is successful, 2N® Helios IP sends the
i
CreatePullPointResponse
ncluding the Subscription Id for subsequent communication with 2N® Helios IP.
Now you can read out events from 2N® Helios IP periodically using the
GetMessages
request. 2N® Helios IP sends the
including the list of events.
GetMessagesResponse
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. 2N® Helios IP will reply with
Renew
the
message.
RenewResponse
Send the
request to unsubscribe explicitly. 2N® Helios IP will reply with
Unsubscribe
the
message.
UnsubscribeResponse