Example XML Request
<request>
<data>
<!--LDAP path of the user.-->
<user>LDAP://CN=Johnc@AlpineSkiHouse.com,OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</user>
<!--The name of the desired service plan.-->
<planName>OCSBasicIM</planName>
<!--The domain controller to use for Active Directory actions.-->
<preferredDomainController>AD01.Fabrikam.Com</preferredDomainController>
<!--Feature values to override plan settings.-->
<planOverrides>
<!--This allows the user to invite anonymous user to meeting.-->
<allowOrganizeMeetingWithAnonymousParticipants>true</allowOrganizeMeetingWithAnonymousParticipants>
<!--This enables the user for Office Communications Server.-->
<enabled>true</enabled>
<!--This enables the user for new advanced features of Office Communications Server.-->
<enabledForEnhancedPresence>true</enabledForEnhancedPresence>
<!--This enables the user to participate in a federated conversation.-->
<enabledForFederation>true</enabledForFederation>
<!--This enables the user for internet access.-->
<enabledForInternetAccess>true</enabledForInternetAccess>
<!--This setting controls the user ability to participate in conversations with public IM providers such as AOL, MSN and Yahoo.-->
<publicNetworkEnabled>true</publicNetworkEnabled>
<!--Specifies the name of the Meeting Policy to be applied to a user.-->
<meetingPolicy>Default Policy</meetingPolicy>
<!--This enables the user for Unified Communications.-->
<ucEnabled>true</ucEnabled>
<!--Specifies the name of the Unified Communications Policy to be applied to a user. This parameter must be present if ucEnabled is true.-->
<ucPolicy>Default Policy</ucPolicy>
</planOverrides>
</data>
<procedure>
<execute namespace="Hosted Office Communications Server" procedure="ChangeUserPlanAssignment" impersonate="1">
<before source="data" sourcePath="user" destination="executeData" mode="move" />
<before source="data" sourcePath="planName" destination="executeData" mode="move" />
<before source="data" sourcePath="preferredDomainController" destination="executeData" mode="move" />
<before source="data" sourcePath="planOverrides" destination="executeData" mode="move" />
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
<response>
<data>
<!--A list of features applied to the user, combining the list of features from the plan and any overrides specified.-->
<features>
<!--This allows the user to invite anonymous user to meeting.-->
<allowOrganizeMeetingWithAnonymousParticipants>true</allowOrganizeMeetingWithAnonymousParticipants>
<!--This enables the user for Office Communications Server.-->
<enabled>true</enabled>
<!--This enables the user for new advanced features of Office Communications Server.-->
<enabledForEnhancedPresence>true</enabledForEnhancedPresence>
<!--This enables the user to participate in a federated conversation.-->
<enabledForFederation>true</enabledForFederation>
<!--This enables the user for internet access.-->
<enabledForInternetAccess>true</enabledForInternetAccess>
<!--This setting controls the user ability to participate in conversations with public IM providers such as AOL, MSN and Yahoo.-->
<publicNetworkEnabled>true</publicNetworkEnabled>
<!--Specifies the name of the Meeting Policy to be applied to a user.-->
<meetingPolicy>Default Policy</meetingPolicy>
<!--This enables the user for Unified Communications.-->
<ucEnabled>true</ucEnabled>
<!--Specifies the name of the Unified Communications Policy to be applied to a user. This parameter must be present if ucEnabled is true.-->
<ucPolicy>Default Policy</ucPolicy>
</features>
</data>
</response>