- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2016 09:21 AM
I have seen various question like this and the code I am using is directly from gs.dateGenerate using specific times between yesterday and today
However when ever I run the following curl request it returns all incidents from the beginning of time up to the max of 10K
Has anyone any ideas why this may be the case?
James
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2016 09:47 AM
You were missing "sysparm_query="; please see below for the revised link:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2016 09:28 AM
Hi James - I provided the "correct answer" to the post you're referencing. According to the OP, David, he had to swap the two dates to make it work; please see that post for the details towards the bottom. Can you try that and see if it'll resolve your issue?
Please feel free to connect, follow, mark helpful / answer, like, endorse.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2016 09:42 AM
Hi
Ok I have changed it now to be
And I get the same results. Even leaving the issue of the date range aside for a moment. why do I continually just get back every ticket ever raised from the earliest onwards. Surely that is weird behaviour.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2016 09:47 AM
You were missing "sysparm_query="; please see below for the revised link:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2016 02:58 AM
Hi
That works fine now.
James