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
)
Public Function UpdateUserAgent (
data As UserAgentMgrInfo
) As XHRServiceResponseGeneric(Of UserAgentMgrInfo)
public:
virtual XHRServiceResponseGeneric<UserAgentMgrInfo^>^ UpdateUserAgent(
UserAgentMgrInfo^ data
) sealed
abstract UpdateUserAgent :
data : UserAgentMgrInfo -> XHRServiceResponseGeneric<UserAgentMgrInfo>
override UpdateUserAgent :
data : UserAgentMgrInfo -> XHRServiceResponseGeneric<UserAgentMgrInfo>
Parameters
- data
- Type: UserAgentMgrInfo
Information to update the User Agent
Examples
Sample JSON input
{
"data": {
"Name": "Chrome",
"SearchString": "chrome",
"ContentType": "text/html",
"FileExtension": "xml"
}
}
Return Value
Type:
XHRServiceResponseGenericUserAgentMgrInfoInformation of User Agent after update
Examples
Sample JSON return
{
"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