I have been following various posts (mainly https://community.fortinet.com/t5/Support-Forum/API-for-device-inventory/td-p/259048 & https://docs.fortinet.com/document/forticonverter/6.2.1/online-help/866905)
I have found this works great is the query runs from the LAN, however I am looking to poll this from WAN1 which returns 0 results.
I am guessing this is actually querying the interface it is received on as it doesnt actually fail.
Can the inreface be queried as part of the API call ?
FYI this is on a 50e (6.2.16) and 60f (6.4.15)
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Hello Rob,
Please check the following document for more information on API calls:
https://docs.fortinet.com/document/fortigate/7.4.3/administration-guide/940602/using-apis
For a complete list of API calls, see the Fortinet Development Network (FNDN). A subscription is required to access the FNDN.
https://fndn.fortinet.net/
https://www.fortinet.com/content/dam/fortinet/assets/data-sheets/Fortinet_Developer_Network.pdf
Thank-you Raghu
On close inspection my original api query is working as expected (the issue was device detection was not enabled so was showing no results).
The documentation on FNDN is much more detailed though and has expanded what options and results are available too !
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1547 | |
1031 | |
749 | |
443 | |
210 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.