Unsubscribe unsubscriberesponse, Unsubscribe, Unsubscriberesponse – 2N Helios IP HTTP API v2.6 User Manual

Page 20: Message parameters, Subscription_id

Advertising
background image

20

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

®

Unsubscribe

The Unsubscribe request helps you terminate your subscription. Send this request to
the address included in the SubscribeResponse message. 2N

Helios IP replies with the

®

UnsubscribeResponse.

<?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:Unsubscribe>

</wsnt:Unsubscribe>

</s:Body>

</s:Envelope>

Message Parameters

SUBSCRIPTION_ID

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

UnsubscribeResponse

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

Helio

®

s IP confirms the client’s subscription termination.

<?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/UnsubscribeResponse

</wsa5:Action>

</s:Header>

<s:Body>

<wsnt:UnsubscribeResponse>

</wsnt:UnsubscribeResponse>

</s:Body>

</s:Envelope>

Advertising