which Api used to get a total incident records count
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2022 11:07 PM
which Api used to get a total incident records count?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-07-2022 11:24 PM - edited ‎11-07-2022 11:26 PM
Hi @bharathkumar Da ,
For Total incident count use Aggregate API. Below the format (replace your_instane_id with your instance name:
https://your_instance_id.service-now.com/api/now/stats/incident?sysparm_count=true
if you have to apply filter then use below format
https://your_instance_id.service-now.com/api/now/stats/incident?sysparm_query=active%3Dtrue&sysparm_...
I hope this help.
Please mark this helpful if this helps and Accept the solution if this solves your issue.
Regards,
Kamlesh