09-20-2022 03:10 AM
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.
09-20-2022 05:05 AM
Hi , could you provide us which endpoint are you using ?
I'm guessing the syntax should be something like that : serials[]="xxxx-xxxx-xxxx"
09-20-2022 05:05 AM
Hi , could you provide us which endpoint are you using ?
I'm guessing the syntax should be something like that : serials[]="xxxx-xxxx-xxxx"
09-20-2022 05:34 AM
Yep! thats it @Raphletourn
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!
09-20-2022 05:41 AM
Excellent ! Glad you got it working !
04-23-2023 12:29 PM
Hi! Any idea how to format this query in postman itself?
09-04-2023 06:26 PM
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