Createpullpoint, Expire_time – 2N Helios IP HTTP API v2.6 User Manual

Page 16

Advertising
background image

16

2N TELEKOMUNIKACE a.s., www.2n.cz

®

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 2N

Helios IP event retrieval in the

®

PullPoint mode, in which you read out events from the log actively using the
GetMessages request.

Send the CreatePullPoint request to the 2N

Helios IP address:

®

.

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>

Advertising