Start date and end date parameters - Online Help

Building X Workplace Experience Online Help

Product Family
Building X
Content Language
English
Content Type
Technical Documentation > Online Help
Document No
A6V15295253_en--
Download ID
A6V15295253
Access level
Internet
File Type
html

The start_date and end_date parameters in the temperature API function are similar to the date range filter found on the Insights Periscope dashboard. These parameters allow you to specify the desired timeframe for your data retrieval.

For desk booking and occupancy data, the equivalent parameters are named booking_start_time and booking_end_time. These parameters represent the booking window you're interested in.

In SQL syntax, the start_date and end_date parameters translate to:

timezone(buildings.tz, complaints.created_at) BETWEEN start_date AND end_date

This expression ensures that retrieved data falls within the specified timeframe, taking into account the building's timezone for accurate interpretation of timestamps.