Get Record Count with REST
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2015 10:12 AM
Hi,
I am not able to get the count for the sys_whitelist_member table using REST calls. Any ideas?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2015 11:17 AM
Hi Raghav,
What is the exact error you are getting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2015 03:13 PM
https://<INSTANCE-NAME>/api/now/v1/stats/sys_whitelist_member?sysparm_count=true
<message>Insufficient rights to query records</message>
<detail>No permission to read table 'sys_whitelist_member'</detail>
The user I am using has all the roles assigned including the Admin role.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2015 10:51 PM
Hi Raghav,
You are not able to read the data because OOB only maint role can read it. Admins will not have access to this table.
I hope this answers your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2015 06:54 PM
Pradeep,
Can you explain a bit more?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2015 09:55 PM
Hi Raghav,
Servicenow restricts access to this table. you can just go to navigation filter and type sys_whitelist_member.list and you will see the message.
Please let me know if you have any questions.