Renewresponse, Message parameters, Datetime_or_duration – 2N Helios IP HTTP API v2.6 User Manual

Page 19: Current_time, Expire_time

Advertising
background image

19

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

®

DATETIME_OR_DURATION

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

Helio

®

s IP when this time period expires. Send another Renew request before expiry to
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.

RenewResponse

The RenewResponse message is a reply to the Renew request, in which 2N

Helios IP

®

informs the client of the prolongation of the client’s subscription time.

<?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">

<s:Header>

<wsa5:Action s:mustUnderstand="true">

http://docs.oasis-open.org/wsn/bw-2/SubscriptionManager/RenewResponse

</wsa5:Action>

</s:Header>

<s:Body>

<wsnt:RenewResponse>

<wsnt:TerminationTime>

{CURRENT_TIME}

</wsnt:TerminationTime>

<wsnt:CurrentTime>

{EXPIRE_TIME}

</wsnt:CurrentTime>

</wsnt:RenewResponse>

</s:Body>

</s:Envelope>

Message Parameters

CURRENT_TIME

Subscription date and time from the viewpoint of 2N

Helios IP. Refer to the Format 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.

Advertising