PublishingSystemManagerServicesGetUserAgentsAndSites Method

Ingeniux CMS Web Services API

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.3.70
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

Reference