Avaya 16-300272 manual Recipient

Page 68

Appendix A Push XML API

Push XML API Operation

Alert action specifies how the Application Gateway is to handle the alert:

If the alert is active, schedule and push it to the phone and also save it in the alert history list. Action = schedule.

If the alert is active, schedule and push it to the phone but do not save it in the alert history list. Action = push.

Remove the alert from the schedule and from the phone’s alert history list. Action = delete.

The following PushMessage child elements further define the alert:

Recipient, page 60

Subject, Body, Image, Audio, Button, page 60

Schedule, page 61

Note See “ManagePushMessage,” page 65 for a detailed explanation of the XML.

Recipient

One or more Recipient elements can be included in a PushMessage element. Recipient element attributes specify the destination phone(s) and/or distribution list(s) of the alert.

Subject, Body, Image, Audio, Button

The following elements define the contents of an alert:

Subject: The alert title, displayed at the top of the phone screen and also in the alert history list.

Body: The text of the alert.

Image: An optional image URL to be sent with the alert.

Audio: An optional audio URL to be sent with the alert.

Button: Optional soft keys to be sent with the alert. Button attributes specify the button labels, order, and whether a button dials a phone number or displays a Web URL. The contents of the Button element defines the number to dial or the URL to display. (OK and Exit soft keys are automatically added to an alert. OK returns to the alert list; Exit returns to the Voice Office menu.)

60Broadcast Server User Guide

Image 68
Contents Broadcast Server User Guide Release 2.1 Service Pack Copyright 2004-2006,Avaya Inc All Rights Reserved Contents A P T E R 6 Subscriber Management A P T E R 9 External Service Management Vi Broadcast Server User Guide Related Documentation PrefaceAudience Related Documentation Viii Broadcast Server User Guide Chapter Introduction to Broadcast ServerBroadcast Server Overview Users Subscribers and Distribution ListsAlerts Sending Alerts BCS Interaction with PhonesOpening and Using the Broadcast Server Interface Configuring Broadcast ServerInitial Configuration Broadcast Server Maintenance Application Gateway and Broadcast Server Operation Application Gateway and Broadcast Server Operation System Management Component VersionsServer configuration Support itemsHome page tips System Management Home page tips Broadcast Server User Guide Quick FAQ System MessagesSystem Messages Quick FAQ Broadcast Server User Guide User Management User Management ListAdministrator user User information PasswordUser Shared distribution list access General user permissionsAlert access User Management The User Broadcast Server User Guide Subscriber Management Subscriber Management ListGo to the Distribution List Management page, select Subscriber Subscriber informationSubscriber settings Distribution list membershipDistribution List Management Distribution ListAutomatically created distribution lists List ownershipSharing distribution lists Distribution List Management Distribution List Management Distribution List Membership Distribution List User Permissions Adding and removing distribution list membersGranting users permission to send to the list Revoking users’ permission to send to the listBroadcast Server User Guide Media Management Media ListSystem media Media ownership Media linkageSupported graphic formats MediaUploading a media file Supported audio formats WAVMedia Management The Media Broadcast Server User Guide External Service Management External Services Management ListExternal Service External Service Management Page Broadcast Alert Management Alert ListColumn Descriptions Alert Types Emergency alertsNormal alerts Background alertsBroadcast Alert Management Quick FAQ Alert TitleSend to the following Use audio alert Page Changing your password Setting the maximum list entries to displayMy Preferences Set the number of alerts perPage Troubleshooting Common problemsTroubleshooting Common problems Broadcast Server User Guide Appendix a Push XML APITo enable the Push XML API on the Application Gateway Push XML API Operation PushMessage RequestRecipient Schedule DistributionList Request MemberPushMessageResponse Response ServerRegistration ResponseSubscribers Response XML Declaration Push XML ReferenceCharacter Set and Character Entities ManagePushMessage Element Parent Element Attributes Enumeration DescriptionMessageid Appendix a Push XML API ManageDistributionLists DistributionListServerRegistration SubscribersPushMessageResponse Sample ASP Pages Distributionlist.aspLoad the XML into an Xmldom object Schedulemessage.asp Appendix a Push XML API Sample ASP Pages