4.4 UpdateUserConfiguration Operation
The following example of an UpdateUserConfiguration operation request, as described in section 3.1.4.4, shows how to form a request to update a user configuration object on the Inbox folder.
<?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:Header>
<RequestServerVersion Version="Exchange2013" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" />
</soap:Header>
<soap:Body>
<UpdateUserConfiguration xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<UserConfiguration>
<UserConfigurationName Name="PersonalDetails" xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
<DistinguishedFolderId Id="inbox" />
</UserConfigurationName>
<Dictionary xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
<DictionaryEntry>
<DictionaryKey>
<Type>String</Type>
<Value>Birthday</Value>
</DictionaryKey>
<DictionaryValue>
<Type>DateTime</Type>
<Value>1990-09-09</Value>
</DictionaryValue>
</DictionaryEntry>
</Dictionary>
</UserConfiguration>
</UpdateUserConfiguration>
</soap:Body>
</soap:Envelope>
The following example shows a successful response to the UpdateUserConfiguration operation request.
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:ServerVersionInfo MajorVersion="15" MinorVersion="0" MajorBuildNumber="1054" MinorBuildNumber="12" Version="Exchange2013" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<m:UpdateUserConfigurationResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<m:ResponseMessages>
<m:UpdateUserConfigurationResponseMessage ResponseClass="Success">
<m:ResponseCode>NoError</m:ResponseCode>
</m:UpdateUserConfigurationResponseMessage>
</m:ResponseMessages>
</m:UpdateUserConfigurationResponse>
</s:Body>
</s:Envelope>