- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 05:22 AM
hi Guys,
I was trying to query ServiceNow API to get details of a CI and link it to the IT-Service etc. So basically querying the cmdb_rel_ci table. I'm using DOT walking and fetching all data correctly, except the child.class . Rest everything comes perfectly
Below is the Query
https://xxxx.service-now.com/api/now/table/cmdb_rel_ci?sysparm_query=parent.sys_class_name=service_offering%5Echild.operational_status=1&sysparm_fields=parent.sys_id,parent.name,child.sys_id,child.name,child.class
Is the "Child.class" known by another name within ServiceNow? The above logic works correctly if I do Report within ServiceNow and it is called "child.class" in the report screen
Solved! Go to Solution.
- Labels:
-
Integrations
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 05:32 AM
it is child.sys_class_name
Thanks,
Ali
Thank you,
Ali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 05:32 AM
it is child.sys_class_name
Thanks,
Ali
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2018 06:03 AM
Thanks mate. It worked.