api_auth

<back to all web services

SiteUpdate

SiteUpdate Parameters:
NameParameterData TypeRequiredDescription
SiteIDquerylongNo
DatacenterIDquerybyte?No
NamequerystringNo
DomainquerystringNo
SiteTypequerybyteNo
ParentSiteIDquerylong?No
HasFilesqueryboolNo
HasMailqueryboolNo
LocationIDquerylong?No
LanguageIDquerystringNo
InvitationOnlyqueryboolNo
DomainAliasesquerystringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/oneway/SiteUpdate HTTP/1.1 
Host: 1.hyper.id 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<SiteUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bitpub.Api.Auth.Common">
  <DatacenterID>0</DatacenterID>
  <Domain>String</Domain>
  <DomainAliases>String</DomainAliases>
  <HasFiles>false</HasFiles>
  <HasMail>false</HasMail>
  <InvitationOnly>false</InvitationOnly>
  <LanguageID>String</LanguageID>
  <LocationID>0</LocationID>
  <Name>String</Name>
  <ParentSiteID>0</ParentSiteID>
  <SiteID>0</SiteID>
  <SiteType>0</SiteType>
</SiteUpdate>