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

Page 15: Current_time

Advertising
background image

15

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:wsa5="http://www.w3.org/2005/08/addressing"
xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"
xmlns:event2n="http://www.2n.cz/2013/event">
<s:Header>
<wsa5:Action s:mustUnderstand="true">
http://docs.oasis-open.org/wsn/bw-2/NotificationProducer/SubscribeResponse
</wsa5:Action>
<s:Header>
<s:Body>
<wsnt:SubscribeResponse>
<wsnt:SubscriptionReference>
<wsa5:Address>
{NOTIFICATIONS_PRODUCER_ADDRESS}
</wsa5:Address>
<wsa5:ReferenceParameters>
<event2n:SubscriptionId>
{SUBSCRIPTION_ID}
</event2n:SubscriptionId>
</wsa5:ReferenceParameters>
</wsnt:SubscriptionReference>
<wsnt:CurrentTime>
{CURRENT_TIME}
</wsnt:CurrentTime>
<wsnt:TerminationTime>
{EXPIRE_TIME}
</wsnt:TerminationTime>
</wsnt:SubscribeResponse>
</s:Body>
</s:Envelope>

Message Parameters

NOTIFICATIONS_PRODUCER_ADDRESS

Specify the address for subsequent subscription communication with

(i.

2N

Helios IP

®

e. a new address for Unsubscribe and Renew requests). In the present implementation,
the address is

.

http://helios_ip_address/notification

SUBSCRIPTION_ID

A unique subscription identification code to be used for subsequent Renew and
Unsubscribe communication with

. Edit the Id as a common text.

2N

Helios

®

CURRENT_TIME

Subscription date and time from the viewpoint of

. Refer to the Format

2N

Helios IP

®

of Selected Parameters for format details.

Advertising