Message parameters – 2N Helios IP HTTP API Manual v2.8 User Manual

Page 13

Advertising
background image

13

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

®

<?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:a="http://www.w3.org/2005/08/addressing"
xmlns:event2n="http://www.2n.cz/2013/event">
<s:Header>
</s:Header>
<s:Body>
<wsnt:Subscribe>
<wsnt:ConsumerReference>
<a:Address>
{HTTP_CONSUMER_ADDRESS}
</a:Address>
</wsnt:ConsumerReference>
<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:MaximumNumber>
{MAX_NUMBER_OF_MSGS_AT_ONCE}
</event2n:MaximumNumber>
<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>

Message Parameters

HTTP_CONSUMER_ADDRESS

Specify the address to which the Notify messages including the requested events shall
be sent. Keep the HTP URI address format, e.g.

.

http://192.168.23.73/notify_server

The parameter is obligatory.

Advertising