GET {{baseUrl}}/rooms/:roomId/sensor_data?from=<string>&to=<string>&page_size=30&next_page_token=<string>&device_id=<string>&sensor_type=CO2
Use this API to get the sensor data from the specified Zoom Room. Prerequisites: Scopes: Rate Limit Label:
room:read:admin
Medium
Body
PARAM
Key | Datatype | Required | Description |
from
|
string | (Required) The start time and date in 'yyyy-MM-ddTHH:dd:ssZ' format. | |
to
|
string | (Required) The end time and date in 'yyyy-MM-ddTHH:dd:ssZ' format. | |
page_size
|
number | The number of records returned within a single API call. | |
next_page_token
|
string | Use the next page token to paginate through large result sets. A next page token is returned whenever the set of available results exceed the current page size. This token's expiration period is 15 minutes. | |
device_id
|
string | ||
sensor_type
|
string |
HEADERS
Key | Datatype | Required | Description |
Accept
|
string |
RESPONSES
status OK
{
"from": "<string>",
"next_page_token": "<string>",
"page_size": "<integer>",
"sensor_data": [
{
"date_time": "<string>",
"device_id": "<string>",
"sensor_type": "HUMIDITY",
"sensor_value": "<string>"
},
{
"date_time": "<string>",
"device_id": "<string>",
"sensor_type": "CO2",
"sensor_value": "<string>"
}
],
"to": "<string>",
"total_records": "<integer>"
} |
ENDPOINTS