- 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
‎04-28-2016 02:14 PM
Hi Neha,
What are you using to visually identify a service from a non-service?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 02:19 PM
Sorry, I am very new to ServiceNow and I should I have been more clear. I need to pull the list that shows up under "Maintain Items" i.e the Services that can be requested from ServiceNow. These are the Catalog Items.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 02:30 PM
The sc_cat_item table IS the list from maintain items. I'm confused what the issue is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-28-2016 03:27 PM
I'm wondering if Neha would like to have in her ServiceNow instance a list of "ServiceNow, Inc." (the company) services. In that case, I would fear it doesn't work like this. If you would like Services from ServiceNow, Inc. (like creating an incident) you would probably use Hi support.
But please give us concrete examples like "On my ServiceNow instance, on my catalog, I would like to request..."
And you said that you had Services and non Services, could you make a small list (with 3 or 4 items) where you would say:
- item1 : service
- item2 : non service
- ...
Thanks