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

Page 18: Expire_time, Subscription_id, Datetime_or_duration

Advertising
background image

18

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

®

CURRENT_TIME

Subscription date and time from the viewpoint of

. Refer to the Format

2N

Helios IP

®

of Selected Parameters for format details.

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.

Renew

The Renew request helps you extend your subscription time. Send the request to the
address included in the SubscribeResponse message.

replies with the

2N

Helios IP

®

RenewResponse message.

<?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>
<event2n:SubscriptionId a:IsReferenceParameter="true">
{SUBSCRIPTION_ID}
</event2n:SubscriptionId>
</s:Header>
<s:Body>
<wsnt:Renew>
<wsnt:TerminationTime>
{DATETIME_OR_DURATION}
</wsnt:TerminationTime>
</wsnt:Renew>
</s:Body>
</s:Envelope>

Message Parameters

SUBSCRIPTION_ID

A unique subscription identification code included in the SubscriptionResponse. The
parameter is obligatory.

DATETIME_OR_DURATION

Extend the subscription time. Subscription will be cancelled automatically by 2N

®

when this time period expires. Send another Renew request before expiry to

Helios IP
extend the subscription time. Enter the absolute time (DateTime) or relative duration
(Duration) to specify the subscription time; refer to the Format of Selected Parameters
subsection. The parameter is obligatory.

Advertising