- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
API Dashboard "Return a client" GET doesn't works
Hi,
try to use postman for this GET via Dashboard API but doesn't works, some ideas?
GET Return a client
https://api.meraki.com/api/v0/networks/{{networkId}}/clients/{{clientMac}}
Return the client associated with the given identifier. This endpoint will lookup by client ID or either the MAC or IP depending on whether the network uses Track-by-IP.
All the GET without "clientMac" variable works perfectly.
https://documenter.getpostman.com/view/897512/meraki-dashboard-api/2To9xm#intro
Some ideas?
Solved! Go to solution.
- Labels:
-
Dashboard API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just called Meraki support and they informed me that they aren't aware of any method to grant access to the PII api endpoints to North American based organizations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try adding the timespan parameter to your URL.
https://api.meraki.com/api/v0/networks/{{networkId}}/clients/{{clientMac}}?timespan=7200
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I take that back. I can't get this new API to work either.
I've had success in the past with the similar API
/api/v0/devices/[serial]/clients?timespan=7200
This returns all devices connected to a specified device. You would call this API for each device in a network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, this work also for me, in fact there isn't client variable.
I need with a single call GET identify a mac-address client if i know its IP Address.
If i search in a client list i need a DB for scanning the data...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I haven't had an issue with new the API call. Can you post your results?
This is the get request from my Postman "{{baseUrl}}/networks/{{networkId}}/clients/{{clientMac}}"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't track my clients by IP. You need to turn that on.
see documentation:
https://documentation.meraki.com/MX-Z/Monitoring_and_Reporting/Client_Tracking_Options
FYI, I tried to test tracking by IP and got the following error:
- Tracking clients by IP addresses is not supported in a combined network and will break client tracking data.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"Return the client associated with the given identifier. This endpoint will lookup by client ID or either the MAC or IP depending on whether the network uses Track-by-IP."
the way I read this:
1) We should always be able to poll for the client ID
2) poll via mac or IP, is based on Client Tracking.
I'm tracking by Mac and not IP as well, so I should be able to do a call with the client Mac address and have that return. It does not.
I should be always able to make the call and use the client ID and have that return, it does not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
may be the call function isn't activate yet ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The clientMac has to be in the same networkId. I have searched for a mac that was not in the network I had set in my variables and it returned a 404.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Works both ways for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi team, these new GDPR/PII calls are already active, but don't show up by default for non-European Dashboard orgs yet. You can, however, have Meraki Support or your SE enable them by requesting the org to have PII endpoints turned on.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's correct, so you need the backend option to enable it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you add that to the documentation?
while they don't show up under Help > API, they do show up on (Postman Documentation)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sure, I'll pass that feedback to the team. In the meantime, once you have the PII endpoints enabled, here's a draft of a script to gather all clients across an entire organization. Please let me know your feedback; thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, but i don't understand. Can I enable this PII on the dashboard or i need to call the support?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please call Meraki support to enable this new API endpoint. It is only enabled for EU customers at this time. GDPR requires the PII information. Meraki plans to roll out to other regions, but we take into account privacy, scalability, and reliability as we roll out new features.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just called Meraki support and they informed me that they aren't aware of any method to grant access to the PII api endpoints to North American based organizations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see that the PIP module is updated (0.34) and it has the Client function defined.
when I attempt to make the call, however, it fails.
it doesn't matter if I use the mac, IP or client-ID.
for anyone that can make this work, what is your dashboard address?
I'm hitting n49, and I'm wondering if there is just a slowness in the calls being opened to other shards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I believe this still doesn't work correctly and hasn't been updated, at least for NA clients. Please correct me if I'm wrong. Thank you
