AnsweredAssumed Answered

Getting Closed Tickets in a Date Range

Question asked by MemoryCorruption on Oct 4, 2012
Latest reply on Oct 4, 2012 by Parag Baxi

Hello,

 

I am trying to obtain all remediation tickets that were closed during a specified date range.  Is there any simple way do this? My API call looks like this:

 

https://qualysapi.qualys.com/msp/ticket_list.php?states=RESOLVED,CLOSED,IGNORED&modified_since_datetime=**Insert Start Date**

 

This call will return everything  that has been modified since a certain date and is "Closed, Resolved, or Ignored", but I also get a lot of data that is past the date range I am looking for. For example, I want closed tickets for the month of September.  If I were to run the above API call, I would get results for the first four days of October as well, which would skew the results.  I tried to parse some of the resulting XML to weed out the dates I'm not interested in, but so far I haven't been successful. I'm just wondering if there is a better API call I can use to get the data I need.  Any help would be appreciated. Thanks.

 

-Sean

Outcomes