06-21-2018 10:31 AM
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.
06-27-2018 11:58 AM
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.
06-21-2018 11:10 AM
Try adding the timespan parameter to your URL.
https://api.meraki.com/api/v0/networks/{{networkId}}/clients/{{clientMac}}?timespan=7200
06-21-2018 11:21 AM
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.
06-21-2018 02:19 PM
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...
06-21-2018 12:19 PM
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}}"
06-21-2018 02:25 PM
for you works also if you put the IP address in clientmac variable?
06-21-2018 02:47 PM
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:
06-21-2018 02:58 PM
06-22-2018 12:56 AM
may be the call function isn't activate yet ??
06-22-2018 05:48 AM
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.
06-22-2018 06:19 AM
06-22-2018 07:06 AM
Can you show me your Security Appliance/Addressing & Vlans page?
06-22-2018 07:16 AM
06-22-2018 07:23 AM
06-22-2018 07:24 AM
Works both ways for me.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide