Partager via


Opération PlayOnPhoneGreeting (service web de messagerie unifiée)

L’opération PlayOnPhoneGreeting effectue un appel sortant et lit l’un des deux messages d’accueil sur le téléphone.

Exemple de requête PlayOnPhoneGreeting

Description

L’exemple suivant de demande PlayOnPhoneGreeting montre comment former une demande pour passer un appel sortant et lire le message d’accueil normal sur un téléphone.

Code

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <PlayOnPhoneGreeting xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
      <GreetingType>NormalCustom</GreetingType>
      <DialString>12345</DialString>
    </PlayOnPhoneGreeting>
  </soap:Body>
</soap:Envelope>

Exemple de réponse PlayOnPhoneGreeting réussi

Description

L’exemple suivant de réponse PlayOnPhoneGreeting montre une réponse à la demande PlayOnPhoneGreeting.

Code

<?xml version="1.0" encoding="utf-8" ?> 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <PlayOnPhoneGreetingResponse xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
    <PlayOnPhoneGreetingResponse>MjA4MTQ5MmItMTBmZC00ZGFmLThiMzEtNDllNDJjM2Y3MjIxQGRmLWV1bS0wMS5leGNoYW5nZS5jb3JwLm1pY3Jvc29mdC5jb20=</PlayOnPhoneGreetingResponse> 
    </PlayOnPhoneGreetingResponse>
  </soap:Body>
</soap:Envelope>

Voir aussi

PlayOnPhoneGreeting (service web de messagerie unifiée)

PlayOnPhoneGreetingResponse (service web de messagerie unifiée)

GreetingType (service web de messagerie unifiée)

dialString (service web de messagerie unifiée)