Click or drag to resize

PublishingSystemManagerServicesGetUserAgentsAndSites Method


Retrieves the collections of User Agents and Sites. User Agents are Sites are branding definitions that get trigger at runntime. User Agents affect branding via User Agent string, Sites affect branding via access URL.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<UserAgentAndSiteListData> GetUserAgentsAndSites()

Return Value

Type: XHRServiceResponseGenericUserAgentAndSiteListData

Object containing arrays of basic information of User Agents and Sites

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "Sites": [{
            "Name": "Corporation",
            "SearchString": "corp",
            "SiteGroup": "Corp"
        }, {
            "Name": "Support",
            "SearchString": "support",
            "SiteGroup": "Support"
        }],
        "UserAgents": [{
            "ContentType": "text\/html",
            "FileExtension": "xml",
            "Name": "IE",
            "SearchString": "ie"
        }, {
            "ContentType": "text\/html",
            "FileExtension": "xml",
            "Name": "Chrome",
            "SearchString": "chrome"
        }]
    }
}
See Also