- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Meraki Sensor API - fetching latest sensor reading by serial
Hi
For some reason ive figured i'd make an Apple homekit plugin for homebridge featuring the Meraki MT sensors.
I guess ive got to much time on my hand.
But!
Im unable to fetch the latest information based on serials.
the API keeps returning (in postman) :
{
"errors": [
"'serials' must be an array"
]
}
Solved! Go to solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi , could you provide us which endpoint are you using ?
I'm guessing the syntax should be something like that : serials[]="xxxx-xxxx-xxxx"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi , could you provide us which endpoint are you using ?
I'm guessing the syntax should be something like that : serials[]="xxxx-xxxx-xxxx"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yep! thats it @RaphaelL
Ive tried the serials=[] as postman had that as an example in the postman themplate.
And no matter how i formatted the array on the right side, it complained.
first try with https://api.meraki.com/api/v1/organizations/ORGID/sensor/readings/latest?serials[]=SERIAL and it worked 😄
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Excellent ! Glad you got it working !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi! Any idea how to format this query in postman itself?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
