The Vocera Messaging Platform API |
The following XSD may be used to automatically generate a class that can be used for VMP gateway request de-serialization.
<?xml version="1.0" encoding="utf-8"?> <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="PagingAlertUserStatusInfo" nillable="true" type="PagingAlertUserStatusInfo" /> <xs:complexType name="PagingAlertUserStatusInfo"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="AlertExternalID" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="User" type="PagingAlertUserRef" /> <xs:element minOccurs="0" maxOccurs="1" name="ResponseExternalID" type="xs:string" /> <xs:element minOccurs="1" maxOccurs="1" name="Status" type="PagingAlertStatus"/> <xs:element minOccurs="0" maxOccurs="1" name="StatusDetails" type="xs:string"/> <xs:element minOccurs="1" maxOccurs="1" name="StatusChangeTime" type="xs:dateTime" /> <xs:element minOccurs="0" maxOccurs="1" name="ResponseComment" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="TextResponse" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:complexType name="PagingAlertUserRef"> <xs:sequence> <xs:element minOccurs="0" maxOccurs="1" name="PagerID" type="xs:string" /> <xs:element minOccurs="0" maxOccurs="1" name="VoceraID" type="xs:string" /> </xs:sequence> </xs:complexType> <xs:simpleType name="PagingAlertStatus"> <xs:restriction base="xs:string"> <xs:enumeration value="ERROR" /> <xs:enumeration value="QUEUED" /> <xs:enumeration value="SENT" /> <xs:enumeration value="FAILED" /> <xs:enumeration value="DELIVERED_TO_DEVICE" /> <xs:enumeration value="OPENED" /> <xs:enumeration value="RESPONDED" /> <xs:enumeration value="EXPIRED" /> <xs:enumeration value="CANCELED" /> </xs:restriction> </xs:simpleType> </xs:schema>