GetSiteName Method

The GetSiteName method returns the name of the site where the SmartOffice server is hosted. The site name appears as the Corporate Key field on the User Preferences > Basic Info content link in SmartOffice Pro.

The GetSiteName method is invoked using the MethodOperation.

Parameters

This method takes no parameters.

Examples

Request XML
<request version='1.0'>
    <header>
        <office>myoffice</office>
        <user>jdoe</user>
        <password>password</password>
    </header>
    <method>    
        <GetSiteName/>
    </method>  
</request>

Response XML
<?xml version="1.0" encoding="UTF-8" ?> 
<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>
Topic revision: 12 Mar 2018, DinosLambropoulos
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback