Get network adapters with API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 01:28 AM
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.