Documentation
Zoom Phone e911 tracked locations:
…methods/#operation/listTrackedLocations (I can’t have links in my posts…?)
Problem
When type
is set to 6
for Real-time Location for IP Phones
for a site in my tenant I get the expected response if there is data:
{ 'next_page_token': '', 'page_size': 30, 'total_records': 8, 'location_tracking': [ <records here> ] }
If there are no records, I also get the expected response:
{ 'next_page_token': '', 'page_size': 30, 'total_records': 0 }
Why when I set the type
to 5
the response is entirely different:
{ 'page_number': 1, 'page_size': 30, 'location_tracking': [] }
The type
of 5
corresponds to Real-time Location for Users
which I interpret to mean users on soft clients (based on what I can see in the portal)
Question
Why is this response different, and furthermore I don’t get any response data when calling this endpoint with type=5
, with any of: unknown, company, or personal
location types passed despite seeing what this endpoint should return via the Zoom Phone dashboard.
Example
For example, here’s my serialized request url with my site ID omitted:
https://api.zoom.us/v2/phone/metrics/location_tracking?site_id=<omitted>&type=5&location_type=unknown
This returns:
{ 'page_number': 1, 'page_size': 30, 'location_tracking': []}
which differs from any other endpoint I’ve called with Zoom in regards to the approach to pagination, and this endpoint should be returning data because it’s available in the dashboard.
Can anyone clarify this formatting for me and some insight as to why this particular type (5) doesn’t return any data?
Setup
Python 3.12.x
Requests 2.32.x