POST webapi/root/SiteObjects?siteName={siteName}&templateName={templateName}&isEntireSitePublic={isEntireSitePublic}&requiresRegistration={requiresRegistration}&adminUserName={adminUserName}&adminEmail={adminEmail}&adminPassword={adminPassword}

Creates a single Site with its Admin user. Returns created Site object.

Request Information

Parameters

NameDescriptionAdditional information
siteName
Name of the Site to create. Every non-digit, and non-letter characters (except '-') are stripped. When Site already exists - 409 (conflict) status code is returned.

Define this parameter in the request URI.

templateName
Name of the template from available template list that the Site is going to use. When template does not exist - default template is assigned.

Define this parameter in the request URI.

isEntireSitePublic
Indicates whether entire content of the Site is available to everyone without registrations or user names.

Define this parameter in the request URI.

requiresRegistration
Indicates whether registration is required to access content of the Site. When isEntireSitePublic is true then new members are automatically approved. When not - Site Admin must approve them.

Define this parameter in the request URI.

adminUserName
Name of the Admin user that will administer the Site.

Define this parameter in the request URI.

adminEmail
Email address of the Admin user that will administer the Site.

Define this parameter in the request URI.

adminPassword
Password of the Admin user that will administer the Site. Optional. When not defined - password is randomly generated and sent via invitation email.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "SiteName": "craftingcheetah",
  "Author": "isara",
  "Culture": null,
  "UICulture": null,
  "Languages": null,
  "TemplateName": "Innovation",
  "ThemeName": "Orange",
  "AdminUserId": null,
  "IsEntireSitePublic": true,
  "RequiresRegistration": false,
  "DisablePublicComments": false,
  "DisablePublicRating": false,
  "DisableSocialLogins": false,
  "IsHidden": true,
  "IsDemo": null,
  "HeaderTitle": "Crafting Cheetah",
  "HeaderSubTitle": "",
  "HeaderShortInfo": "<p>Hi, Im the crafting cheetah! Take a look at pictures of my projects and view videos to learn more on how to make them.</p>",
  "HeaderImage": "R0lGODlhAQABAIEAAP///wAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAAACwAAAAAAQABAAAIBAABBAQAOw==",
  "HeaderImageType": "image/gif",
  "HeaderIsImage": true,
  "Branding": "<h2><img title=\"\" src=\"image.axd?imagepath=%2FPhotos%2Fcraftingcheetah%2FHeader%2F4F380F87_A251_4DE4_860F_470562E0E19F_zTHV.jpeg\" alt=\"\" /></h2>\n<h2><span style=\"font-family: 'book antiqua', palatino, serif;\">Face Painting Studio</span></h2>",
  "FooterText": "",
  "HomePageTextSide": "",
  "HomePagerTextMain": "<p style=\"text-align: left;\"><em><strong><span style=\"color: #ffffff;\">Hi, Im the crafting cheetah! Check out my art projects and videos to learn more on how to make &nbsp;awesome crafts!</span></strong></em></p>",
  "LoginPageText": "",
  "Blog_PostsPerPage": null,
  "Blog_ShowPostPreviews": null,
  "Blog_PicturesInPreviews": null,
  "Blog_PicturesInPreviews_MaxHeight": null,
  "Blog_HideTagCloud": null,
  "Blog_HideMonthList": null,
  "Blog_HideLatestList": null,
  "FunFact_HideDates": true,
  "FunFact_Sorting": 1,
  "FunFact_HideDaysAhead": null,
  "FunFact_HideDaysBehind": null,
  "Media_DefaultFolder": 2,
  "Media_DefaultPhotoWidth": 1280,
  "Media_DefaultThumbSize": "320x240",
  "Media_DefaultThumbResizeMode": "StrictWidthAndHeight",
  "Media_DefaultThumbAlignment": "Center",
  "Media_UploadPhotoFilter": 0,
  "Media_HideStatsUnderThumbnail": true,
  "Media_GroupNavigationByYear": false,
  "Media_NavigationStyle": 0,
  "RatingType": 1,
  "CurrentFormID": "4965ae8c-15b5-4b92-b9b9-790e4e0b3b73",
  "CurrentPaymentGatewayID": null,
  "SeoTitle": "Face painting in Las Vegas, NV and Henderson, NV",
  "SeoMetaTags": "<meta name=\"title\" content=\"Face painting in Las Vegas, NV and Henderson, NV\">\r\n<meta name=\"description\" content=\"High-quality face painting at a low price in Las Vegas, NV and Henderson, NV. Children's parties, birthday parties.\">\r\n<meta name=\"keywords\" content=\"face painting, Las Vegas, Henderson, Nevada, children's parties\">\r\n<meta name=\"copyright\" content=\"© 2017 Craftingcheetah\">\r\n<meta name=\"author\" content=\"isara\">\r\n<meta name=\"distribution\" content=\"Global\">\r\n<meta name=\"rating\" content=\"General\">\r\n<meta name=\"robots\" content=\"ALL,INDEX,FOLLOW\">\r\n<meta name=\"language\" content=\"en-US\">\r\n",
  "ECommerce_ContinueShoppingUrl": null,
  "Chat_Position": null,
  "Chat_Mode": null,
  "Chat_Availability": null,
  "Chat_Greetings": null,
  "Chat_Button": null,
  "Chat_InitialMessage": null,
  "Chat_Phone": null,
  "AI_Enable": true,
  "Popup_Delay": null,
  "RunSetupSiteWizard": false,
  "IPAddress": "98.167.14.69",
  "Country": "United States",
  "Source": "",
  "SliderID": "78bdd239-f056-45fb-90c7-bef1f43784ed",
  "ValidSubscriptionName": "Business Website",
  "SubscriptionEndsReadOnly": "9999-12-31T00:00:00",
  "SubscriptionNoLimitsReadOnly": true,
  "CreatedTime": "2017-05-18T20:37:59.247-07:00",
  "UpdatedTime": "2024-11-14T11:40:46.463",
  "IsBlocked": false,
  "BlockedReason": "",
  "EnableContract": null,
  "WebPushClientID": "0c7e737e-47e3-4808-8dc2-bae2c6f57ab1"
}

application/xml, text/xml

Sample:
<Site xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediaLibrarianCore">
  <AI_Enable>true</AI_Enable>
  <AdminUserId i:nil="true" />
  <Author>isara</Author>
  <BlockedReason></BlockedReason>
  <Blog_HideLatestList i:nil="true" />
  <Blog_HideMonthList i:nil="true" />
  <Blog_HideTagCloud i:nil="true" />
  <Blog_PicturesInPreviews i:nil="true" />
  <Blog_PicturesInPreviews_MaxHeight i:nil="true" />
  <Blog_PostsPerPage i:nil="true" />
  <Blog_ShowPostPreviews i:nil="true" />
  <Branding>&lt;h2&gt;&lt;img title="" src="image.axd?imagepath=%2FPhotos%2Fcraftingcheetah%2FHeader%2F4F380F87_A251_4DE4_860F_470562E0E19F_zTHV.jpeg" alt="" /&gt;&lt;/h2&gt;
&lt;h2&gt;&lt;span style="font-family: 'book antiqua', palatino, serif;"&gt;Face Painting Studio&lt;/span&gt;&lt;/h2&gt;</Branding>
  <Chat_Availability i:nil="true" />
  <Chat_Button i:nil="true" />
  <Chat_Greetings i:nil="true" />
  <Chat_InitialMessage i:nil="true" />
  <Chat_Mode i:nil="true" />
  <Chat_Phone i:nil="true" />
  <Chat_Position i:nil="true" />
  <Country>United States</Country>
  <CreatedTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2017-05-19T03:37:59.247Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>-420</d2p1:OffsetMinutes>
  </CreatedTime>
  <Culture i:nil="true" />
  <CurrentFormID>4965ae8c-15b5-4b92-b9b9-790e4e0b3b73</CurrentFormID>
  <CurrentPaymentGatewayID i:nil="true" />
  <DisablePublicComments>false</DisablePublicComments>
  <DisablePublicRating>false</DisablePublicRating>
  <DisableSocialLogins>false</DisableSocialLogins>
  <ECommerce_ContinueShoppingUrl i:nil="true" />
  <EnableContract i:nil="true" />
  <FooterText></FooterText>
  <FunFact_HideDates>true</FunFact_HideDates>
  <FunFact_HideDaysAhead i:nil="true" />
  <FunFact_HideDaysBehind i:nil="true" />
  <FunFact_Sorting>DateDescending</FunFact_Sorting>
  <HeaderImage>R0lGODlhAQABAIEAAP///wAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAAACwAAAAAAQABAAAIBAABBAQAOw==</HeaderImage>
  <HeaderImageType>image/gif</HeaderImageType>
  <HeaderIsImage>true</HeaderIsImage>
  <HeaderShortInfo>&lt;p&gt;Hi, Im the crafting cheetah! Take a look at pictures of my projects and view videos to learn more on how to make them.&lt;/p&gt;</HeaderShortInfo>
  <HeaderSubTitle></HeaderSubTitle>
  <HeaderTitle>Crafting Cheetah</HeaderTitle>
  <HomePageTextSide></HomePageTextSide>
  <HomePagerTextMain>&lt;p style="text-align: left;"&gt;&lt;em&gt;&lt;strong&gt;&lt;span style="color: #ffffff;"&gt;Hi, Im the crafting cheetah! Check out my art projects and videos to learn more on how to make &amp;nbsp;awesome crafts!&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;</HomePagerTextMain>
  <IPAddress>98.167.14.69</IPAddress>
  <IsBlocked>false</IsBlocked>
  <IsDemo i:nil="true" />
  <IsEntireSitePublic>true</IsEntireSitePublic>
  <IsHidden>true</IsHidden>
  <Languages i:nil="true" />
  <LoginPageText></LoginPageText>
  <Media_DefaultFolder>AlwaysAsk</Media_DefaultFolder>
  <Media_DefaultPhotoWidth>1280</Media_DefaultPhotoWidth>
  <Media_DefaultThumbAlignment>Center</Media_DefaultThumbAlignment>
  <Media_DefaultThumbResizeMode>StrictWidthAndHeight</Media_DefaultThumbResizeMode>
  <Media_DefaultThumbSize>320x240</Media_DefaultThumbSize>
  <Media_GroupNavigationByYear>false</Media_GroupNavigationByYear>
  <Media_HideStatsUnderThumbnail>true</Media_HideStatsUnderThumbnail>
  <Media_NavigationStyle>AlwaysMobileMenu</Media_NavigationStyle>
  <Media_UploadPhotoFilter>None</Media_UploadPhotoFilter>
  <Popup_Delay i:nil="true" />
  <RatingType>Heart</RatingType>
  <RequiresRegistration>false</RequiresRegistration>
  <RunSetupSiteWizard>false</RunSetupSiteWizard>
  <SeoMetaTags>&lt;meta name="title" content="Face painting in Las Vegas, NV and Henderson, NV"&gt;
&lt;meta name="description" content="High-quality face painting at a low price in Las Vegas, NV and Henderson, NV. Children's parties, birthday parties."&gt;
&lt;meta name="keywords" content="face painting, Las Vegas, Henderson, Nevada, children's parties"&gt;
&lt;meta name="copyright" content="© 2017 Craftingcheetah"&gt;
&lt;meta name="author" content="isara"&gt;
&lt;meta name="distribution" content="Global"&gt;
&lt;meta name="rating" content="General"&gt;
&lt;meta name="robots" content="ALL,INDEX,FOLLOW"&gt;
&lt;meta name="language" content="en-US"&gt;
</SeoMetaTags>
  <SeoTitle>Face painting in Las Vegas, NV and Henderson, NV</SeoTitle>
  <SiteName>craftingcheetah</SiteName>
  <SliderID>78bdd239-f056-45fb-90c7-bef1f43784ed</SliderID>
  <Source></Source>
  <SubscriptionEndsReadOnly>9999-12-31T00:00:00</SubscriptionEndsReadOnly>
  <SubscriptionNoLimitsReadOnly>true</SubscriptionNoLimitsReadOnly>
  <TemplateName>Innovation</TemplateName>
  <ThemeName>Orange</ThemeName>
  <UICulture i:nil="true" />
  <UpdatedTime>2024-11-14T11:40:46.463</UpdatedTime>
  <ValidSubscriptionName>Business Website</ValidSubscriptionName>
  <WebPushClientID>0c7e737e-47e3-4808-8dc2-bae2c6f57ab1</WebPushClientID>
</Site>