Body Response Count And X-Total-Count is not getting match for Attachment AP using postman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2022 03:38 AM
Hi All,
I am using below url to get all records of Attachment Api (Servicenow)
https://xxxxxxx.service-now.com/api/now/attachment
but even after using sysparm_offset only getting 992 records only(even after looping also) but in header of postman X-Total-Count is showing 4608 count as per given below snapshot :
Kindly Help!
Regards,
Sneha
- Labels:
-
Task Communications Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2022 01:48 PM
Read this article, it might help you in answering what you're dealing with:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 11:26 PM - edited 01-05-2023 11:28 PM
Even if we will use offset and limit it is not giving me whole records from attachments. In headers it is showing total count is 4608 but actually getting 992 records only. for incidents it's working properly but for attachments it's not working as expected.