Last updated: 2024-06-07
GetSiteName Method
In this topic:
Overview
The GetSiteName method returns the site name of the SmartOffice server receiving the request. In SmartOffice Pro, the site name appears as the Corporate Key field on the Basic Info content link.
The GetSiteName method is invoked using the method operation.
Parameters
This method takes no parameters.
Example
The request looks like this:
XML
<request version='1.0'>
<header>...</header>
<method>
<GetSiteName/>
</method>
</request>The response returns the site name:
XML
<response version="1.0">
<header>
<sessionClosed/>
</header>
<method>
<GetSiteName>
<Site>
<Name>RGQA3CLD</Name>
</Site>
</GetSiteName>
</method>
<_status>OK</_status>
<_systime>2018-03-13T00:18:21</_systime>
<!-- Cost 19 mill seconds. -->
</response>