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 domain controller to use for Active Directory actions.-->
<preferredDomainController>AD01.Fabrikam.Com</preferredDomainController>
<!--The primary SIP URI of the user. This URI must be unique and must be represented in the form "sip:user@domain" where the domain substring is a fully qualified domain name.-->
<primaryURI>sip:JohnC@AlpineSkihouse.com</primaryURI>
<!--The unique name of the OCS user plan.-->
<planName>BasicOCSIM</planName>
<!--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>
<!--Controls whether a user's communications across federated domains are archived.-->
<archiveFederatedCommunications>true</archiveFederatedCommunications>
<!--Controls whether a user's communications within their internal domain are archived.-->
<archiveInternalCommunications>true</archiveInternalCommunications>
<!--Controls whether the user is enabled for both remote call control and Enterprise voice. Requires that the UCEnabled be set to true.-->
<ipPBXSoftPhoneRoutingEnabled>true</ipPBXSoftPhoneRoutingEnabled>
<!--The SIP URI of the telephony gateway server assigned to this user for remote-call control (RCC).-->
<lineServerURI>sip:server01@pbx1.phones.fabrikam.com</lineServerURI>
<!--Either the SIP URI or the Tel. URI of the user's phone line. This value is used by the Microsoft Office Communicator client and by Enterprise Voice for call routing.-->
<lineURI>tel:+15555550101</lineURI>
<!--Controls whether the user is able to use the Microsoft Office Communicator client in combination with the user's computer to initiate, receive, and forward phone calls.-->
<remoteCallControlTelephonyEnabled>true</remoteCallControlTelephonyEnabled>
<!--The fully qualified domain name (FQDN) of the home application pool for this user.-->
<poolFQDN>pool01.fabrikam.com</poolFQDN>
<!--The tag to filter the list of available pools when automatically selecting a pool.-->
<poolTag>LabA</poolTag>
</data>
<procedure>
<execute namespace="Hosted Office Communications Server" procedure="CreateSipUser" impersonate="1">
<before source="data" sourcePath="user" destination="executeData" mode="move" />
<before source="data" sourcePath="preferredDomainController" destination="executeData" mode="move" />
<before source="data" sourcePath="primaryURI" destination="executeData" mode="move" />
<before source="data" sourcePath="planName" destination="executeData" mode="move" />
<before source="data" sourcePath="planOverrides" destination="executeData" mode="move" />
<before source="data" sourcePath="archiveFederatedCommunications" destination="executeData" mode="move" />
<before source="data" sourcePath="archiveInternalCommunications" destination="executeData" mode="move" />
<before source="data" sourcePath="ipPBXSoftPhoneRoutingEnabled" destination="executeData" mode="move" />
<before source="data" sourcePath="lineServerURI" destination="executeData" mode="move" />
<before source="data" sourcePath="lineURI" destination="executeData" mode="move" />
<before source="data" sourcePath="remoteCallControlTelephonyEnabled" destination="executeData" mode="move" />
<before source="data" sourcePath="poolFQDN" destination="executeData" mode="move" />
<before source="data" sourcePath="poolTag" 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>
<!--The fully qualified domain name (FQDN) of the home application pool for this user.-->
<poolFQDN>pool01.fabrikam.com</poolFQDN>
<!--The distinguished name of the home application pool for this user. This name must be valid within the domain's Active Directory.-->
<poolDN>CN=LC Services,CN=Microsoft,CN=Pool,CN=Pools,CN=RTC Service,CN=Microsoft,CN=System,DC=fabrikam,DC=com</poolDN>
</data>
</response>