SWsoft SiteBuilder Integration API v3.2 Reference

PlanWebService.GetCurrentPlan Method 

 [This is preliminary documentation and subject to change.]

Get a Plan for a current user (at web service for a user specified in CredentialsSoapHeader SOAP-header)

[C#]
public PlanValue GetCurrentPlan();

Return Value

Instance of PlanValue

Example SOAP 1.1

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

<?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/PlanService/v_3_2">
      <Login>string</Login>
      <Password>string</Password>
    </CredentialsSoapHeader>
  </soap:Header>
  <soap:Body>
    <GetCurrentPlan xmlns="http://swsoft.com/SiteBuilder/PlanService/v_3_2" />
  </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>
    <GetCurrentPlanResponse xmlns="http://swsoft.com/SiteBuilder/PlanService/v_3_2">
      <GetCurrentPlanResult>
        <OwnerId>string</OwnerId>
        <PlanId>string</PlanId>
        <CreationDate>dateTime</CreationDate>
        <Name>string</Name>
        <Description>string</Description>
        <MaxPagesNumber>int</MaxPagesNumber>
        <MaxPagesRootLevel>int</MaxPagesRootLevel>
        <MaxPagesLevel>int</MaxPagesLevel>
        <MaxSitesNumber>int</MaxSitesNumber>
        <MaxAccountsNumber>int</MaxAccountsNumber>
        <MaxHostsNumber>int</MaxHostsNumber>
        <IsPersonal>boolean</IsPersonal>
        <IsAnonymous>boolean</IsAnonymous>
        <IsActive>boolean</IsActive>
        <PersonFullName>string</PersonFullName>
        <AssignedAccountsNumber>int</AssignedAccountsNumber>
        <TrialLifeTime>int</TrialLifeTime>
        <TrialLifeType>Days or Hours</TrialLifeType>
        <Templates>
          <string>string</string>
          <string>string</string>
        </Templates>
        <Pagesets>
          <string>string</string>
          <string>string</string>
        </Pagesets>
        <Hosts>
          <string>string</string>
          <string>string</string>
        </Hosts>
        <Modules>
          <string>string</string>
          <string>string</string>
        </Modules>
        <SiteFamilies>
          <string>string</string>
          <string>string</string>
        </SiteFamilies>
        <DefaultSiteFamilyId>string</DefaultSiteFamilyId>
      </GetCurrentPlanResult>
    </GetCurrentPlanResponse>
  </soap:Body>
</soap:Envelope>

See Also

PlanWebService Web Service | Web services