Skip to main content
mrashid
Staff
Staff
December 4, 2025

Technical Tip: JSON API to fetch device information along with ADOM information

  • December 4, 2025
  • 0 replies
  • 376 views
Description This article describes how to fetch device list from FortiAnalyzer/FortiManager along with ADOM information.
Scope FortiManager, FortiAnalyzer.
Solution

Solution:

 

The following regular API syntax fetches the device list from FortiAnalyzer/FortiManager, but not the ADOM name.


{
"method": "get",
"params": [{
"url": "/dvmdb/device"
}
],
"session": "{{session}}",
"id": 1
}

 

Add the optional flag 'extra info' as shown below to fetch the ADOM name as well:

 

{
"method": "get",
"params": [{
"option": ["extra info"],
"url": "/dvmdb/device"
}
],
"session": "{{session}}",
"id": 1
}

 

The response will include ADOM information in the API response for devices being managed in the root ADOM, as shown below:

 

"extra info": {
"adom": "root"
},

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!