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

Page 21

Advertising
background image

21

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:event2n="http://www.2n.cz/2013/event">
<s:Header>
<event2n:SubscriptionId a:IsReferenceParameter="true">
{SUBSCRIPTION_ID}
</event2n:SubscriptionId>
</s:Header>
<s:Body>
<wsnt:GetMessages>
<wsnt:MaximumNumber>
{MAXIMUM_MSGS_IN_RESPONSE}
</wsnt:MaximumNumber>
</wsnt:GetMessages>
</s:Body>
</s:Envelope>

Message Parameters

SUBSCRIPTION_ID

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

MAXIMUM_MSGS_IN_RESPONSE

Set the maximum count of events to be sent within the GetMessagesResponse. The
parameter is optional. If no value is completed, up to 10 events will be sent in one
GetMessagesResponse message.

GetMessagesResponse

The GetMessagesResponse message is a reply to the GetMessages request.

Advertising