unsubscribePresence Element
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Represents a request to cancel a subscription to an URI (contact).
Syntax
<unSubscribePresence rid="string value"/>
Attributes
Attribute |
Data Type |
Description |
---|---|---|
rid |
string |
Request Id. This is a string value assigned by the Communicator Web Access client. This is a required attribute. |
Element Information
Parent Element
Element |
Description |
---|---|
Contains one or more methods that a Unified Communications AJAX API Client sends to a Communicator Web Access server. |
Child Elements
Element |
Occurrences |
Description |
---|---|---|
1 |
A list of URI values. |
Remarks
This request method cancels the presence subscription of the stipulated URI.
Examples
The logged-on user is cancelling a subscription to the presence of Jay A. Note that the format of the URI in the uri element appends the substring "sip:" to the beginning of the e-mail alias. The request is rejected without this prefix.
<cwaRequests xmlns="http://schemas.microsoft.com/2006/09/rtc/cwa" sid="106">
<unSubscribePresence rid="2">
<uris>
<uri>sip:jessicaa@contoso.com</uri>
</uris>
</unSubscribePresence>
</cwaRequests>