SSMapServicesListUserAgentsAndSites Method

Ingeniux CMS Web Services API

Retrieves the listing of basic information of all User Agents and Site Brandings

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

public XHRServiceResponseGeneric<SSMapRep> ListUserAgentsAndSites()

Return Value

Type: XHRServiceResponseGenericSSMapRep

Object containing collections of basic information of User Agents and Site Brandings

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