SetOofStatus operation (UM web service)
The SetOofStatus operation sets a value that indicates whether the Out of Office (OOF) greeting should be played for the user who makes the request.
SetOofStatus request example
Description
The following example of a SetOofStatus request shows how to form a request to enable the Out of Office greeting for a mailbox.
Code
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<SetOofStatus xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<status>true</status>
</SetOofStatus>
</soap:Body>
</soap:Envelope>
Successful SetOofStatus response example
Description
The following example of a SetOofStatus response shows a response to the SetOofStatus request.
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>
<SetOofStatusResponse xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" />
</soap:Body>
</soap:Envelope>