- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 02:07 PM
I am using the below REST API URL to get the list of Service names from ServiceNow. But this is returning non-service entries as well. Am I using the wrong URL? Please help.
https://<baseurl>.service-now.com/api/now/table/sc_cat_item?sysparm_fields=name,sys_id
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 04:35 PM
Hi Neha,
You're close. To add the additional parameters on the URL, add &sysparm_query=sys_class_name!=sc_cat_item_guide&type!=package&sys_class_name!=sc_cat_item_content
I recommend using the REST API Explorer on your instance to help you build the URL and see the returned results. It's a great helper tool.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2016 01:14 AM
Thanks Chuck for the reply
I did copy paste it but still doesn't. But I did instead of word.. Laptops I used ID, see below and it works. But I don't want to do that, I want to use category name instead of using the id.
sys_class_name!=sc_cat_item_content^active=true^sys_class_name!=sc_cat_item_guide^category=59f586f23731300054b6a3549dbe5db7^EQ