Retrieves available plans for a specified or new user.
[C#] public TotalListOfPlanValue GetAvailablePlans( string accountId );
null for a new user.TotalList`1 of value object of available plans.
| Request |
|---|
POST /sbw_trunk/ServiceFacade/4.5/PlanWebService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://swsoft.com/webservices/sb/4.5/PlanService/GetAvailablePlans"
<?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/webservices/sb/4.5/PlanService">
<Login>string</Login>
<Password>string</Password>
</CredentialsSoapHeader>
</soap:Header>
<soap:Body>
<GetAvailablePlans xmlns="http://swsoft.com/webservices/sb/4.5/PlanService">
<accountId>string</accountId>
</GetAvailablePlans>
</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>
<GetAvailablePlansResponse xmlns="http://swsoft.com/webservices/sb/4.5/PlanService">
<GetAvailablePlansResult>
<TotalCount>int</TotalCount>
<Items>
<PlanValue>
<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 xsi:nil="true" />
<Pagesets xsi:nil="true" />
<Hosts xsi:nil="true" />
<Modules xsi:nil="true" />
<EvaluationModules xsi:nil="true" />
<SiteFamilies xsi:nil="true" />
<DefaultSiteFamilyId>string</DefaultSiteFamilyId>
<IsUserManagementAllowed>boolean</IsUserManagementAllowed>
<IsSiteManagementAllowed>boolean</IsSiteManagementAllowed>
<IsPublishingSettingsEditable>boolean</IsPublishingSettingsEditable>
<IsFtpPublishAvailable>boolean</IsFtpPublishAvailable>
<IsXcopyPublishAvailable>boolean</IsXcopyPublishAvailable>
<IsVpsPublishAvailable>boolean</IsVpsPublishAvailable>
<IsAdditionalSiteContentAllowed>boolean</IsAdditionalSiteContentAllowed>
<AdditionalSiteContent>string</AdditionalSiteContent>
</PlanValue>
<PlanValue>
<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 xsi:nil="true" />
<Pagesets xsi:nil="true" />
<Hosts xsi:nil="true" />
<Modules xsi:nil="true" />
<EvaluationModules xsi:nil="true" />
<SiteFamilies xsi:nil="true" />
<DefaultSiteFamilyId>string</DefaultSiteFamilyId>
<IsUserManagementAllowed>boolean</IsUserManagementAllowed>
<IsSiteManagementAllowed>boolean</IsSiteManagementAllowed>
<IsPublishingSettingsEditable>boolean</IsPublishingSettingsEditable>
<IsFtpPublishAvailable>boolean</IsFtpPublishAvailable>
<IsXcopyPublishAvailable>boolean</IsXcopyPublishAvailable>
<IsVpsPublishAvailable>boolean</IsVpsPublishAvailable>
<IsAdditionalSiteContentAllowed>boolean</IsAdditionalSiteContentAllowed>
<AdditionalSiteContent>string</AdditionalSiteContent>
</PlanValue>
</Items>
</GetAvailablePlansResult>
</GetAvailablePlansResponse>
</soap:Body>
</soap:Envelope> |