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.6.492
Syntax
public XHRServiceResponseGeneric<UserAgentAndSiteListData> GetUserAgentsAndSites()

Return Value

XHRServiceResponseGenericUserAgentAndSiteListData

Object containing arrays of basic information of User Agents and Sites

Example
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