SSMapServicesCreateUserAgent Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<UserAgentMgrInfo> CreateUserAgent( UserAgentMgrInfo data )
Information of new User Agent to create
{
"data": {
"Name": "Safari",
"SearchString": "safari",
"ContentType": "text/html",
"FileExtension": "xml"
}
}Information of the created User Agent
{
"code": 0,
"error": null,
"message": {
"ContentType": "text\/html",
"FileExtension": "xml",
"Name": "Safari",
"SearchString": "safari"
}
}If another User Agent with the same name already exists, returns error status