Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Get network adapters with API

MXV
Giga Contributor

I want to preface this by saying I am not a network engineer or know much about networking, I am just a developer needing to use Service Now.

 

So using the Service Now API's I need to get certain information. To start, to get basic

https://{{sn_instance}}.service-now.com/api/now/table/cmdb_ci_computer?sysparm_limit=10&asset_tag={{tag}}

 

Then I also need to get the network adapters "linked?" to this.

I am pretty sue this is used to get info about a specific network adapters with the given mac address: https://{{sn_instance}}.service-now.com/api/now/table/cmdb_ci_network_adapter?sysparm_limit=10&mac_address={{mac_address}}


But I don't know how I can get the mac addresses, of the network adapters "linked" to the first API call I made. 
Or how I can just get a list of the linked network adapters.
Thanks in advance and I'm sorry if my explanation isn't good.

0 REPLIES 0