Rest api - Filtering cmdb_ci by reference values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2019 05:34 AM
Hi,
My team uses Service Now to handle incidents. They have a category and subcategory fields that, once selected, are use to filter value for a Configuration Item field.
My current task is: using Service Now rest api, I need to fetch cmbd_ci values by those two fields.
I am not sure how to achieve that. When I read cmdb_ci table, I don't see and information on those two previous fields.
I am not sure how they configured this dependencies so I am lost here.
Thanks in advance.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2019 11:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2019 01:33 PM
Unfortunately I don't have access to that explorer and it would take weeks to have it, if at all.
Apparently, the Service Now team over my company believes that me, as a developer, should not have access to the user interface at all, just access to the APIs.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2019 02:04 PM
IF you don't have access to UI, then how will you test your developed code?
This seems strange to me.
Anyway, there are many REST debugging tools for your help.
You can test your published API using POSTMAN also.
https://www.getpostman.com/downloads/
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-25-2019 06:05 AM
I do have some kind of access to the UI (not that they are aware of =\) but I can't find the rest api explorer. I probably need to have some kind of special access but the access I have doesn't have it.
I am using postman already, but the problem is that when I query the cmdb_ci api, I have no idea how to filter the results based on those category and subcategory fields I mentioned.
I might be missing some other api that holds that relationship.