Jump to content

Pulling Requests (IN, CR and SR) with Python XMLMC


Recommended Posts

Hi all, I've been trying to use Python to pull all request information so that we can do some offline analysis. I've been using XMLMC and have managed to pull Asset info, following an example from Steve G on here, but keep hitting a wall when it comes to Requests. I've looked through GitHub and the Hornbill wiki but still can't to get started, I'm sure I've missed something.

Using Steve's Asset example, I assumed it should be something like this:

...
xmlmc.add_param("application", "com.hornbill.servicemanager")
xmlmc.add_param("entity", "Requests")
json_string = xmlmc.invoke("data", "entityBrowseRecords2")
...

But this give the result:

Quote

You need the right 'app.h.searchEntityRecords' to perform this entity operation

Any pointers would be appreciated, thanks! 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...