SSMapServicesUpdateUserAgent Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<UserAgentMgrInfo> UpdateUserAgent( UserAgentMgrInfo data )
Information to update the User Agent
{
"data": {
"Name": "Chrome",
"SearchString": "chrome",
"ContentType": "text/html",
"FileExtension": "xml"
}
}Information of User Agent after update
{
"code": 0,
"error": null,
"message": {
"ContentType": "text\/html",
"FileExtension": "xml",
"Name": "Chrome",
"SearchString": "chrome"
}
}If User Agent with matching name doesn't exist, returns error status