Createpullpoint, Expire_time – 2N Helios IP HTTP API Manual v2.8 User Manual
Page 16

16
EXPIRE_TIME
Specify the subscription date and time. Use the Renew request to extend the
subscription time before expiry. Refer to the Format of Selected Parameters for format
details.
CreatePullPoint
The CreatePullPoint request helps you subscribe to
event retrieval in
2N
Helios IP
®
the PullPoint mode, in which you read out events from the log actively using the
GetMessages request.
Send the CreatePullPoint request to the
address:
2N
Helios IP
®
.
http://helios_ip_address/notification
2N
Helios IP
®
will reply with the CreatePullPointResponse.
CreatePullPoint request format:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope
xmlns:s="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
xmlns:event2n="http://www.2n.cz/2013/event">
<s:Header>
</s:Header>
<s:Body>
<wsnt:CreatePullPoint>
<wsnt:Filter>
<wsnt:TopicExpression Dialect=
"http://www.2n.cz/2013/TopicExpression/Multiple">
{EVENTS_LIST}
</wsnt:TopicExpression>
</wsnt:Filter>
<wsnt:InitialTerminationTime>
{DATETIME_OR_DURATION}
</wsnt:InitialTerminationTime>
<wsnt:SubscriptionPolicy>
<event2n:SimpleMessages>
{SIMPLE_MSGS_ENABLED_FLAG}
</event2n:SimpleMessages>
<event2n:StartRecordId>
{START_RECORD_ID}
</event2n:StartRecordId>
<event2n:StartTimestamp>
{START_TIMESTAMP}
</event2n:StartTimestamp>
</wsnt:SubscriptionPolicy>
</wsnt:Subscribe>
</s:Body>
</s:Envelope>