Example XML Request
<request>
<data>
<!--The preferred domain controller for Active Directory operations.-->
<preferredDomainController>AD01.Fabrikam.com</preferredDomainController>
<!--LDAP path of the organization.-->
<organization>LDAP://OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com</organization>
</data>
<procedure>
<execute namespace="Managed Office Communications Server" procedure="GetSipDomainsByOrganization" impersonate="1">
<before source="data" sourcePath="preferredDomainController" destination="executeData" mode="move" />
<before source="data" sourcePath="organization" destination="executeData" mode="move" />
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
Example XML Response
<response>
<data>
<!--A collection of SIP Domains.-->
<sipDomains>
<!--A SIP Domain container.-->
<sipDomain>
<!--The fully qualified domain name (FQDN) of a domain handled by the Office Communications Server. The value must be the FQDN. An IP address is not allowed.-->
<address>sip.AlpineSkiHouse.com</address>
<!--The actual owner of the domain. It could be 'Tenant' if the organization has direct ownership of the domain, or 'Parent' if the parent of the organization owns the domain. If neither is true, an error will be thrown.-->
<owner>Tenant</owner>
</sipDomain>
</sipDomains>
</data>
</response>