SSMapServicesUpdateUserAgent Method

Ingeniux CMS Web Services API

Updates a User Agent Branding

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
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

Reference