SSMapServicesCreateSite Method

Ingeniux CMS Web Services API

Creates a new Site Branding with provided information

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<SiteMgrInfo> CreateSite(
	SiteMgrInfo data
)

Parameters

data
Type: SiteMgrInfo
Information to create the Site Branding

Return Value

Type: XHRServiceResponseGenericSiteMgrInfo

Information of created Site Branding

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "Name": "Marketing",
        "SearchString": "marketing",
        "SiteGroup": "marketing"
    }
}
Remarks

If another Site Branding with the same name already exists, returns error status

Examples

Sample JSON input
JavaScript
{
    "data": {
        "Name": "Marketing",
        "SearchString": "marketing",
        "SiteGroup": "marketing"
    }
}
See Also

Reference