We created a REST API Administrator on a FortiGate 80E (6.4.6) to monitor certain access point data. The programmer trying to make this work has requested the following:
"We need the proper syntax for a remote server making a REST API call to retrieve an active list of devices (by mac address) from the Fortinet controller. Some systems call this a “presence API” call."
I hope that makes sense. Can anyone help?
Thank you!!
Solved! Go to Solution.
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.
Hi,
I don't know nothing about 'presence api call' , but you could start with the basics, retrieving the devices and the filter the output by mac address
i.e:
https://<your_FGT_IP:port>/api/v2/monitor//wifi/client/?access_token=<your_API_token>
If you want filter by MAC: &format=mac
That should do the job
regards
/ Abel
Hi,
I don't know nothing about 'presence api call' , but you could start with the basics, retrieving the devices and the filter the output by mac address
i.e:
https://<your_FGT_IP:port>/api/v2/monitor//wifi/client/?access_token=<your_API_token>
If you want filter by MAC: &format=mac
That should do the job
regards
/ Abel
Thank you, Abel! I have forwarded on your response on to the programmer. I'll let you know if that is what he needed.
Sounds like this did the trick! Thank you so much!
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 |
---|---|
1665 | |
1077 | |
752 | |
446 | |
220 |
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.