SSMapServicesCreateSite Method Ingeniux CMS Web Services API

Creates a new Site Branding with provided information

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
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