The CreatorCon Call for Content is officially open! Get started here.

How to get infrastructure relationships from the REST API

wrichw
Giga Contributor

Hi,

 

I'm new to integrating with ServiceNow so apologies if this is a dumb question.....When I view CMDB Workspace and drill through into a service, I can see the Infrastructure Relationships and the CIs the service depends on. How can I get these by querying on the sys_id from the REST API?

 

I have played around and got somewhere close with this below, but this is using the service name and doesn't seem to display everything - 

1 REPLY 1

wrichw
Giga Contributor

Bumping this - any suggestions from anyone? 😊