REST params for Group, Category and SubCategory

REST params for Group, Category and SubCategory

I am writing a script to auto generate and close tickets based on Alerts/Alarms from our monitoring system. We use Owner Details and Category Details (group, category and sub-category) when creating requests in SupportCenter Plus. In the API documentation ( http://www.manageengine.com/products/support-center/help/adminguide/api/api-req-operation.html) I do not see any parameters for these items.

Does this exist? Is there a way to set these parameters using a script?

Here is an example of my script written in python, I have highlighted the parameters in question:

import urllib
import urllib2

url = 'http://localhost:8080/api/xml/addRequest'
params = urllib.urlencode({
  'apikey': 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'email': 'lou@test.com',
  'subject': 'Test Script Req',
  'description': 'TESTING!!!!!!',
  'group': 'Network Team',
  'category': 'Alarms',
  'subcategory': 'Network'
  'submit': 'Get'
})
response = urllib2.urlopen(url, params).read()


Thanks

Lou
























                New to ADSelfService Plus?