Click or drag to resize

SSMapServicesUpdateUserAgent Method


Updates a User Agent Branding

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<UserAgentMgrInfo> UpdateUserAgent(
	UserAgentMgrInfo data
)

Parameters

data
Type: UserAgentMgrInfo

Information to update the User Agent

Examples
Sample JSON input
JavaScript
{
    "data": {
        "Name": "Chrome",
        "SearchString": "chrome",
        "ContentType": "text/html",
        "FileExtension": "xml"
    }
}

Return Value

Type: XHRServiceResponseGenericUserAgentMgrInfo

Information of User Agent after update

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "ContentType": "text\/html",
        "FileExtension": "xml",
        "Name": "Chrome",
        "SearchString": "chrome"
    }
}
Remarks

If User Agent with matching name doesn't exist, returns error status

See Also