Creates new trial site for the reseller specified by resellerId.
[C#] public SiteValue CreateAnonymousSite( string id, string resellerId );
null, then it will be generated by method.Value object of a created site
| Request |
|---|
POST /wsb/ServiceFacade/3.2.1/SiteWebService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://swsoft.com/webservices/sb/3.2.1/SiteService/CreateAnonymousSite"
<?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/3.2.1/SiteService">
<Login>string</Login>
<Password>string</Password>
</CredentialsSoapHeader>
</soap:Header>
<soap:Body>
<CreateAnonymousSite xmlns="http://swsoft.com/webservices/sb/3.2.1/SiteService">
<id>string</id>
<resellerId>string</resellerId>
</CreateAnonymousSite>
</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>
<CreateAnonymousSiteResponse xmlns="http://swsoft.com/webservices/sb/3.2.1/SiteService">
<CreateAnonymousSiteResult>
<Id>string</Id>
<Alias>string</Alias>
<OwnerId>string</OwnerId>
<OwnerUserName>string</OwnerUserName>
<IsActive>boolean</IsActive>
<PublishingSettings>
<Id>string</Id>
<StandardLocation>
<Address>string</Address>
<UserName>string</UserName>
<Password>string</Password>
<WorkingDirectory>string</WorkingDirectory>
<WebSiteUrl>string</WebSiteUrl>
<IsAnonymous>boolean</IsAnonymous>
<Veid>long</Veid>
<VerifyStatus>Unverified or LocationError or UnknownError or StaticOnly or Dynamic</VerifyStatus>
<LastVerifyAttempt>dateTime</LastVerifyAttempt>
</StandardLocation>
<FtpLocation>
<Address>string</Address>
<UserName>string</UserName>
<Password>string</Password>
<WorkingDirectory>string</WorkingDirectory>
<WebSiteUrl>string</WebSiteUrl>
<IsAnonymous>boolean</IsAnonymous>
<Veid>long</Veid>
<VerifyStatus>Unverified or LocationError or UnknownError or StaticOnly or Dynamic</VerifyStatus>
<LastVerifyAttempt>dateTime</LastVerifyAttempt>
</FtpLocation>
<Mode>XCopy or Ftp or Vps or VpsLinux or Unknown</Mode>
<Scenario>Standard or FreeSwsoftHosting or AnyFtp</Scenario>
</PublishingSettings>
<LastPublishingSettings>
<Id>string</Id>
<StandardLocation>
<Address>string</Address>
<UserName>string</UserName>
<Password>string</Password>
<WorkingDirectory>string</WorkingDirectory>
<WebSiteUrl>string</WebSiteUrl>
<IsAnonymous>boolean</IsAnonymous>
<Veid>long</Veid>
<VerifyStatus>Unverified or LocationError or UnknownError or StaticOnly or Dynamic</VerifyStatus>
<LastVerifyAttempt>dateTime</LastVerifyAttempt>
</StandardLocation>
<FtpLocation>
<Address>string</Address>
<UserName>string</UserName>
<Password>string</Password>
<WorkingDirectory>string</WorkingDirectory>
<WebSiteUrl>string</WebSiteUrl>
<IsAnonymous>boolean</IsAnonymous>
<Veid>long</Veid>
<VerifyStatus>Unverified or LocationError or UnknownError or StaticOnly or Dynamic</VerifyStatus>
<LastVerifyAttempt>dateTime</LastVerifyAttempt>
</FtpLocation>
<Mode>XCopy or Ftp or Vps or VpsLinux or Unknown</Mode>
<Scenario>Standard or FreeSwsoftHosting or AnyFtp</Scenario>
</LastPublishingSettings>
<HostId>string</HostId>
<ResellerId>string</ResellerId>
<ResellerUserName>string</ResellerUserName>
<CreationDate>dateTime</CreationDate>
</CreateAnonymousSiteResult>
</CreateAnonymousSiteResponse>
</soap:Body>
</soap:Envelope> |