Cisco Unity Connection Messaging Interface (CUMI) API -- Dispatch Message Operations
From DocWiki
(Difference between revisions)
| (One intermediate revision not shown) | |||
| Line 10: | Line 10: | ||
== About Dispatch Messages == | == About Dispatch Messages == | ||
A '''Dispatch message''' is a message that needs to go to one and only one member of a group. When the message is accepted by any one user, it is no longer available to other users. When the message is rejected by a user in the group, it is removed from the user's voicemail list. | A '''Dispatch message''' is a message that needs to go to one and only one member of a group. When the message is accepted by any one user, it is no longer available to other users. When the message is rejected by a user in the group, it is removed from the user's voicemail list. | ||
| + | |||
| + | == Sending a Dispatch Message == | ||
| + | Sending a Dispatch Message is very similar to sending any other CUMI Message. To sending a Dispatch message, a Boolean field (<Dispatch>) is set on the POST API call. | ||
| + | <pre> | ||
| + | <Dispatch>true</Dispatch> | ||
| + | </pre> | ||
| + | |||
| + | For more details on using the CUMI to send messages, refer here [[Cisco_Unity_Connection_Messaging_Interface_(CUMI)_API#Sending_Messages_using_the_API | Sending Messages using CUMI]] | ||
| + | |||
| + | == Accepting or Rejecting a Dispatch Message == | ||
| + | A POST API call on the Message can be used to accept or reject a Dispatch message. | ||
| + | <pre> | ||
| + | POST /vmrest/messages/{messageObjectId}?method=accept | ||
| + | POST /vmrest/messages/{messageObjectId}?method=reject | ||
| + | </pre> | ||
---- | ---- | ||
Latest revision as of 18:43, 6 March 2012
| Back to: CUMI API Overview |
|---|
Contents |
About Dispatch Messages
A Dispatch message is a message that needs to go to one and only one member of a group. When the message is accepted by any one user, it is no longer available to other users. When the message is rejected by a user in the group, it is removed from the user's voicemail list.
Sending a Dispatch Message
Sending a Dispatch Message is very similar to sending any other CUMI Message. To sending a Dispatch message, a Boolean field (<Dispatch>) is set on the POST API call.
<Dispatch>true</Dispatch>
For more details on using the CUMI to send messages, refer here Sending Messages using CUMI
Accepting or Rejecting a Dispatch Message
A POST API call on the Message can be used to accept or reject a Dispatch message.
POST /vmrest/messages/{messageObjectId}?method=accept
POST /vmrest/messages/{messageObjectId}?method=reject
| Back to: CUMI API Overview |
|---|