Technical Tip: JSON API to fetch device information along with ADOM information
| 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.
Add the optional flag 'extra info' as shown below to fetch the ADOM name as well:
{
The response will include ADOM information in the API response for devices being managed in the root ADOM, as shown below:
"extra info": { |
