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()
Public Function GetUserAgentsAndSites As XHRServiceResponseGeneric(Of UserAgentAndSiteListData)
public:
virtual XHRServiceResponseGeneric<UserAgentAndSiteListData^>^ GetUserAgentsAndSites() sealed
abstract GetUserAgentsAndSites : unit -> XHRServiceResponseGeneric<UserAgentAndSiteListData>
override GetUserAgentsAndSites : unit -> XHRServiceResponseGeneric<UserAgentAndSiteListData>
Return Value
Type:
XHRServiceResponseGenericUserAgentAndSiteListDataObject containing arrays of basic information of User Agents and Sites
Examples
Sample JSON return
{
"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