getOrganizationCameraDetectionsHistoryByBoundaryByInterval

Ricardo_Soares
Comes here often

getOrganizationCameraDetectionsHistoryByBoundaryByInterval

Hello Guys, I am trying to format my API "getOrganizationCameraDetectionsHistoryByBoundaryByInterval" but I am with difficulty. There is some sample to how should I create the fields "boundaryIds" and "ranges"?

 

I've consulted the documentation: https://developer.cisco.com/meraki/api-v1/get-organization-camera-detections-history-by-boundary-by-...

but I should be wrong when create my fields.

 

Thank you for your help.

 

Sample of my actual url: {{baseUrl}}/organizations/:organizationId/camera/detections/history/byBoundary/byInterval?boundaryIds=["3667618946539847796"]&ranges=[{"interval":60,"startTime":"2024-07-19T12:00:00Z","endTime":"2024-07-19T13:00:00Z"}]

4 Replies 4
PhilipDAth
Kind of a big deal
Kind of a big deal

From memory (its been quite a while since I played with this), you draw the zones in the Dashboard.

Ricardo_Soares
Comes here often

My point is how I should correctly fill in the ‘boundaryIds and ranges’ fields. I am not managing to make this call correctly.

 

webfrank
Getting noticed

did you managed to make it working? The Python SDK does not work either as the ranges parameters is filtered out from code.

 

boundaryIds and ranges should be  set in query string like: ...&boundaryIds[]=123454&ranges[]=....

 

but now the endpoint tells ranges items should be object, I tried like: ranges[]={"interval": 86400} but it doesn't work.

 

Quite odd API!!

Ricardo_Soares
Comes here often

No, is not working for me.

Get notified when there are additional replies to this discussion.