Return all tickets assigned to API user

  • 31 August 2022
  • 8 replies

I have read

I have been through:

I have been dissecting this:

I have postman and python successfully querying for the tickets, but it is either not returning all the tickets assigned or I am not understanding out to return all open tickets assigned to the API user for a particular issueID:  

"IssueId": "11c2249a-5a1a-ed11-a1f9-000d3a7e102a"


I  want to use this API user and filter issue types for specific jobs on other systems.  This was a easy task with JitBit but after nearly 2 weeks of trying to figure out the API and its so call documentation, I am at my wits end.


Best answer by SFowler 47089e7 forsyth 19 October 2022, 16:39

View original

8 replies

Userlevel 5
Badge +6

@SFowler 47089e7 forsyth 
Apologize for any inconvenience this has caused. I have reached out to your support/development team for more guidance. I will update you when I have more information. 

Userlevel 5
Badge +6

@SFowler 47089e7 forsyth 
I reached out to you privately to gain some more information. Our development team needs some more information. Please email our support team and they can help you further. 

Userlevel 5
Badge +6

@SFowler 47089e7 forsyth - 
This endpoint will get all the tickets, from there you can filter each item by the AssignedToUser for your API user after you get the specific ones for your user you can then get the IssueId for those tickets from the same object. Unfortunately, our team does not see a Get Open Tickets by User, we only see a Get Closed Tickets by User, which has all of this data for your closed tickets but we assume you need it for open tickets. If you can use the Closed tickets here's that endpoint.


Which endpoint? I have experience writing agains RESTFul API. I have things that work using PaloAlto API, ExtremeNetworks, Microsoft Graph, Google Gsuite and I have usually been able to make some sense out of the documentation, but the IIQ API “documentation” is not exactly clear on what does what. 


Just look at the sample image I posted to this thread. What is the purpose of /global/tickets. I can assume, but some direction would be helpful.


I found additional information here:


I think (not completely convinced yet) based on this this it got from Dev Console using the filter method:POST:$s=200&$o=TicketPriority DESC

I am getting 200 items returned, now I just need to see if they are what I need when I enumerate the JSON array.

Let me put the quote from from the Reddit post here so it can possible be searched.

“ I've found that often the best way to put together a request is to perform the action you desire to do programmatically within the webapp first & pull the request from the dev console. You can then easily export it as cURL”  REF:

I will upload an image in hopes to save some one else time.

The other option I prefer is just to read the data straight from the devtools.



By building the filters in the web portal first I could then analyze the API calls.


Using that information I was able to build a JSON payload:
payload = json.dumps({
    'ProductId' : '88df910c-91aa-e711-80c2-0004ffa00010',
                'Name':'Provisioning Requests: Resource Calendar',

With that payload I was shown just my two open tickets.

One of the frustrating things is this URL format or details is not obvious in the API documentation.
https://<site>$s=200&$o=TicketPriority DESC.  

Is this the reference for what I figured out in Devtools?



Userlevel 5
Badge +6

@SFowler 47089e7 forsyth 
Thank you for providing all the screenshots and additional information. I have reached out to our support team for more guidance and will follow up soon 😁