POST api/SiteObjects/CreateSite?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
Name | Description | Additional 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": "homegardenstore", "Author": "MICANO Home & Garden.", "TemplateName": "SoNET", "ThemeName": "[HomeGardenStore]", "AdminUserId": null, "IsEntireSitePublic": true, "RequiresRegistration": false, "DisablePublicComments": true, "DisableRating": false, "IsHidden": true, "IsDemo": null, "HeaderTitle": "MICANO", "HeaderSubTitle": "Home Decor, Unique Furniture & Garden Art. American Hardware Reinvented.", "HeaderShortInfo": "", "HeaderImage": "R0lGODlhAQABAIEAAP///wAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEBAAAh+QQBAAAAACwAAAAAAQABAAAIBAABBAQAOw==", "HeaderImageType": "image/gif", "HeaderIsImage": false, "Branding": "<div><img style=\"display: block; margin-left: auto; margin-right: auto;\" title=\"\" src=\"image.axd?imagepath=%2FPhotos%2Fhomegardenstore%2FHeader%2FHome_Garden_store_PY6k.gif\" alt=\"\" /></div>", "FooterText": "Located in Reno’s Midtown District, Micano Home is the destination for all of your handcrafted, upcycled industrial furniture and home decor.", "HomePageTextSide": "", "HomePagerTextMain": "<div class=\"uk-container uk-container-xlarge\"><iframe style=\"border: 0;\" src=\"https://www.google.com/maps/embed?pb=!4v1557247750225!6m8!1m7!1sCAoSLEFGMVFpcE92dzM3SUxBZHRQY19ndHZDVlZPckpOQjBrSWtPNktVU2p2dkNv!2m2!1d39.511420903296!2d-119.80638356626!3f166.30691747177877!4f3.446536505606616!5f0.7820865974627469\" width=\"100%\" height=\"635\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"></iframe></div>", "LoginPageText": "", "Blog_PostsPerPage": null, "Blog_ShowPostPreviews": true, "Blog_PicturesInPreviews": true, "Blog_PicturesInPreviews_MaxHeight": 1024, "Blog_HideTagCloud": false, "Blog_HideMonthList": true, "Blog_HideLatestList": false, "FunFact_HideDates": true, "FunFact_Sorting": 1, "FunFact_HideDaysAhead": null, "FunFact_HideDaysBehind": null, "Media_DefaultFolder": 0, "Media_DefaultPhotoWidth": null, "Media_DefaultThumbSize": "320x240", "Media_DefaultThumbResizeMode": "StrictWidthAndHeight", "Media_DefaultThumbAlignment": "Center", "Media_UploadPhotoFilter": 0, "Media_HideStatsUnderThumbnail": true, "Media_GroupNavigationByYear": true, "Media_NavigationStyle": 0, "CurrentFormID": "8d2b5c44-0dbb-4a69-8168-9becf934901a", "CurrentPaymentGatewayID": "c9ef63a0-8b36-4f86-ba7f-31d18a0b3fb6", "SeoTitle": "Micano Home And Garden Center | Unique Furniture & Art.", "SeoMetaTags": "<meta name=\"title\" content=\"Micano Home And Garden Center | Unique Furniture & Art.\">\r\n<meta name=\"description\" content=\"Micano Home & Garden Center in Midtown Reno. Handcrafted, up-cycled, industrial furniture & decor.\">\r\n<meta name=\"keywords\" content=\"Micano, home, Store, garden, furniture, Center, lighting, art, industrial, decor, up-cycled, store, reno, midtown\">\r\n<meta name=\"copyright\" content=\"MICANO Home and Garden Center, Reno, NV.\">\r\n<meta name=\"author\" content=\"MICANO HOME\">\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=\"revisit-after\" content=\"7 Days\">\r\n<meta name=\"language\" content=\"en-US\">\r\n", "ECommerce_ContinueShoppingUrl": "/o", "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": "71.83.104.153", "Country": "United States", "Source": "", "SliderID": "21569998-5751-415d-a1f3-3d0a82bed007", "ValidSubscriptionName": "iNterGine Unassisted Subscription", "SubscriptionEndsReadOnly": "2024-04-05T00:00:00", "SubscriptionNoLimitsReadOnly": true, "CreatedTime": "2017-12-02T12:04:15.463-08:00", "UpdatedTime": "2023-12-15T12:53:45.03", "IsBlocked": false, "BlockedReason": "", "EnableContract": null, "WebPushClientID": "fa7de06b-7fcc-4c1a-9e10-75a2bcb6b9ba" }
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>MICANO Home &amp; Garden.</Author> <BlockedReason></BlockedReason> <Blog_HideLatestList>false</Blog_HideLatestList> <Blog_HideMonthList>true</Blog_HideMonthList> <Blog_HideTagCloud>false</Blog_HideTagCloud> <Blog_PicturesInPreviews>true</Blog_PicturesInPreviews> <Blog_PicturesInPreviews_MaxHeight>1024</Blog_PicturesInPreviews_MaxHeight> <Blog_PostsPerPage i:nil="true" /> <Blog_ShowPostPreviews>true</Blog_ShowPostPreviews> <Branding><div><img style="display: block; margin-left: auto; margin-right: auto;" title="" src="image.axd?imagepath=%2FPhotos%2Fhomegardenstore%2FHeader%2FHome_Garden_store_PY6k.gif" alt="" /></div></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-12-02T20:04:15.463Z</d2p1:DateTime> <d2p1:OffsetMinutes>-480</d2p1:OffsetMinutes> </CreatedTime> <CurrentFormID>8d2b5c44-0dbb-4a69-8168-9becf934901a</CurrentFormID> <CurrentPaymentGatewayID>c9ef63a0-8b36-4f86-ba7f-31d18a0b3fb6</CurrentPaymentGatewayID> <DisablePublicComments>true</DisablePublicComments> <DisableRating>false</DisableRating> <ECommerce_ContinueShoppingUrl>/o</ECommerce_ContinueShoppingUrl> <EnableContract i:nil="true" /> <FooterText>Located in Reno’s Midtown District, Micano Home is the destination for all of your handcrafted, upcycled industrial furniture and home decor.</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>false</HeaderIsImage> <HeaderShortInfo></HeaderShortInfo> <HeaderSubTitle>Home Decor, Unique Furniture &amp; Garden Art. American Hardware Reinvented.</HeaderSubTitle> <HeaderTitle>MICANO</HeaderTitle> <HomePageTextSide></HomePageTextSide> <HomePagerTextMain><div class="uk-container uk-container-xlarge"><iframe style="border: 0;" src="https://www.google.com/maps/embed?pb=!4v1557247750225!6m8!1m7!1sCAoSLEFGMVFpcE92dzM3SUxBZHRQY19ndHZDVlZPckpOQjBrSWtPNktVU2p2dkNv!2m2!1d39.511420903296!2d-119.80638356626!3f166.30691747177877!4f3.446536505606616!5f0.7820865974627469" width="100%" height="635" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div></HomePagerTextMain> <IPAddress>71.83.104.153</IPAddress> <IsBlocked>false</IsBlocked> <IsDemo i:nil="true" /> <IsEntireSitePublic>true</IsEntireSitePublic> <IsHidden>true</IsHidden> <LoginPageText></LoginPageText> <Media_DefaultFolder>MonthAndYear</Media_DefaultFolder> <Media_DefaultPhotoWidth i:nil="true" /> <Media_DefaultThumbAlignment>Center</Media_DefaultThumbAlignment> <Media_DefaultThumbResizeMode>StrictWidthAndHeight</Media_DefaultThumbResizeMode> <Media_DefaultThumbSize>320x240</Media_DefaultThumbSize> <Media_GroupNavigationByYear>true</Media_GroupNavigationByYear> <Media_HideStatsUnderThumbnail>true</Media_HideStatsUnderThumbnail> <Media_NavigationStyle>AlwaysMobileMenu</Media_NavigationStyle> <Media_UploadPhotoFilter>None</Media_UploadPhotoFilter> <Popup_Delay i:nil="true" /> <RequiresRegistration>false</RequiresRegistration> <RunSetupSiteWizard>false</RunSetupSiteWizard> <SeoMetaTags><meta name="title" content="Micano Home And Garden Center | Unique Furniture &amp; Art."> <meta name="description" content="Micano Home &amp; Garden Center in Midtown Reno. Handcrafted, up-cycled, industrial furniture &amp; decor."> <meta name="keywords" content="Micano, home, Store, garden, furniture, Center, lighting, art, industrial, decor, up-cycled, store, reno, midtown"> <meta name="copyright" content="MICANO Home and Garden Center, Reno, NV."> <meta name="author" content="MICANO HOME"> <meta name="distribution" content="Global"> <meta name="rating" content="General"> <meta name="robots" content="ALL,INDEX,FOLLOW"> <meta name="revisit-after" content="7 Days"> <meta name="language" content="en-US"> </SeoMetaTags> <SeoTitle>Micano Home And Garden Center | Unique Furniture &amp; Art.</SeoTitle> <SiteName>homegardenstore</SiteName> <SliderID>21569998-5751-415d-a1f3-3d0a82bed007</SliderID> <Source></Source> <SubscriptionEndsReadOnly>2024-04-05T00:00:00</SubscriptionEndsReadOnly> <SubscriptionNoLimitsReadOnly>true</SubscriptionNoLimitsReadOnly> <TemplateName>SoNET</TemplateName> <ThemeName>[HomeGardenStore]</ThemeName> <UpdatedTime>2023-12-15T12:53:45.03</UpdatedTime> <ValidSubscriptionName>iNterGine Unassisted Subscription</ValidSubscriptionName> <WebPushClientID>fa7de06b-7fcc-4c1a-9e10-75a2bcb6b9ba</WebPushClientID> </Site>