SSMapServicesReorderUserAgents Method Ingeniux CMS Web Services API

Reorders collection of User Agents based on provided sequence of names. The order of User Agents are important, since it will determine with User Agent branding gets evaluated and used first.

Namespace: IngeniuxCMService
Assembly: IngeniuxCMService (in IngeniuxCMService.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public XHRServiceResponseGeneric<string[]> ReorderUserAgents(
	string[] data
)

Parameters

data
Type: SystemString

Array of names of User Agents, reflecting the updated order

Examples

Sample JSON input
JavaScript
{
    "data": ["Chrome", "IE"]
}

Return Value

Type: XHRServiceResponseGenericString

Array of User Agent names reflecting the updated order

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": ["Chrome", "IE"]
}
See Also

Reference