Cisco Unity Connection Notification Interface (CUNI) API -- CUNI Event Schema
From DocWiki
(Difference between revisions)
| (2 intermediate revisions not shown) | |||
| Line 1: | Line 1: | ||
| - | '''Other API pages:''' [[Cisco_Unity_Connection_APIs]] | + | '''Links to Other API pages:''' [[Cisco_Unity_Connection_APIs]] |
{| align="right" border="1" | {| align="right" border="1" | ||
|align="center"|'''CUNI Guide Contents''' | |align="center"|'''CUNI Guide Contents''' | ||
|- | |- | ||
| - | |[[Cisco Unity Connection Notification Interface (CUNI) API|API Overview ]]<br>[[Cisco Unity Connection Notification Interface (CUNI) API -- CUNI Event Schema|CUNI Event Schema ]]<br>[[Cisco Unity Connection Notification Interface (CUNI) API -- Subscribing to and Processing Notification Events|Subscribing to and Processing Notification Events]] | + | |[[Cisco Unity Connection Notification Interface (CUNI) API|API Overview ]]<br>[[Cisco Unity Connection Notification Interface (CUNI) API -- CUNI Event Schema|CUNI Event Schema]]<br>[[Cisco Unity Connection Notification Interface (CUNI) API -- Subscribing to and Processing Notification Events|Subscribing to and Processing Notification Events]]<br>[[Cisco Unity Connection Notification Interface (CUNI) API -- CUNI FAQs|CUNI FAQs]] |
|} | |} | ||
__TOC__ | __TOC__ | ||
| + | |||
== Schema Example == | == Schema Example == | ||
Latest revision as of 19:25, 14 December 2010
Links to Other API pages: Cisco_Unity_Connection_APIs
| CUNI Guide Contents |
| API Overview CUNI Event Schema Subscribing to and Processing Notification Events CUNI FAQs |
Contents |
Schema Example
<?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns="\[http://www.cisco.com"\] elementFormDefault="qualified" targetNamespace="\[http://www.cisco.com"\] xmlns:xs="\[http://www.w3.org/2001/XMLSchema">\] <xs:simpleType name="priorityType"> <xs:restriction base="xs:string"> <xs:enumeration value="Low-Priority" /> <xs:enumeration value="Normal-Priority" /> <xs:enumeration value="Urgent" /> <xs:enumeration value="Unknown-Priority" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="eventType"> <xs:restriction base="xs:string"> <xs:enumeration value="MESSAGE_INFO" /> <xs:enumeration value="NEW_MESSAGE" /> <xs:enumeration value="SAVED_MESSAGE" /> <xs:enumeration value="UNREAD_MESSAGE" /> <xs:enumeration value="DELETED_MESSAGE" /> <xs:enumeration value="FAILOVER" /> </xs:restriction> </xs:simpleType> <xs:simpleType name="messageType"> <xs:restriction base="xs:string"> <xs:enumeration value="Voice" /> <xs:enumeration value="NDR" /> <xs:enumeration value="DR" /> <xs:enumeration value="RR" /> <xs:enumeration value="Fax" /> <xs:enumeration value="Text" /> <xs:enumeration value="UnknownType" /> </xs:restriction> </xs:simpleType> <xs:complexType name="messageInfoType"> <xs:attribute name="messageId" type="xs:string" /> <xs:attribute name="receiveTime" type="xs:string" /> <xs:attribute name="msgType" type="messageType" /> <xs:attribute name="uid" type="xs:integer" /> <xs:attribute name="priority" type="priorityType" /> <xs:attribute name="sender" type="xs:string" /> <xs:attribute name="callerAni" type="xs:string" /> </xs:complexType> <xs:element name="messageEvent"> <xs:complexType> <xs:sequence minOccurs="1" maxOccurs="unbounded"> <xs:element name="messageInfo" type="messageInfoType" /> </xs:sequence> <xs:attribute name="subscriptionId" type="xs:string" /> <xs:attribute name="eventType" type="eventType" /> <xs:attribute name="eventTime" type="xs:string" /> <xs:attribute name="mailboxId" type="xs:string" /> <xs:attribute name="displayName" type="xs:string" /> <xs:attribute name="USN" type="xs:integer" /> </xs:complexType> </xs:element> </xs:schema>