SWsoft SiteBuilder Integration API v3.2 Reference

SystemWebService.GetSkins Method 

 [This is preliminary documentation and subject to change.]

Get all the skins installed in the system

[C#]
public TotalListOfThemeValue GetSkins(
   bool activeOnly
);

Parameters

activeOnly
If true - returns only active skins. Otherwise, all the skins

Return Value

Example SOAP 1.1

Request
POST /ServiceFacade/version_3_2/SystemWebService.asmx HTTP/1.1
Host: sitebuilder.swsoft.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://swsoft.com/SiteBuilder/SystemService/v_3_2/GetSkins"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <CredentialsSoapHeader xmlns="http://swsoft.com/SiteBuilder/SystemService/v_3_2">
      <Login>string</Login>
      <Password>string</Password>
    </CredentialsSoapHeader>
  </soap:Header>
  <soap:Body>
    <GetSkins xmlns="http://swsoft.com/SiteBuilder/SystemService/v_3_2">
      <activeOnly>boolean</activeOnly>
    </GetSkins>
  </soap:Body>
</soap:Envelope>
Response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetSkinsResponse xmlns="http://swsoft.com/SiteBuilder/SystemService/v_3_2">
      <GetSkinsResult>
        <TotalCount>int</TotalCount>
        <Items>
          <ThemeValue>
            <ThemeId>string</ThemeId>
            <Active>boolean</Active>
            <Name>string</Name>
            <Code>string</Code>
          </ThemeValue>
          <ThemeValue>
            <ThemeId>string</ThemeId>
            <Active>boolean</Active>
            <Name>string</Name>
            <Code>string</Code>
          </ThemeValue>
        </Items>
      </GetSkinsResult>
    </GetSkinsResponse>
  </soap:Body>
</soap:Envelope>

See Also

SystemWebService Web Service | Web services