{"info":{"_postman_id":"0d282c33-faf6-4c0e-9d75-fad56654a51a","name":"BlueZoo API Suite","description":"<html><head></head><body><h1 id=\"bluezoo-data-warehouse-api\"><strong>BlueZoo Data Warehouse API</strong></h1>\n<p>The BlueZoo Data Warehouse API allows application and service developers to gain access to historical data about locations managed by a given Bluefox Cluster for their accounts. Using the API, the historical information can easily be ingested and integrated into customer built applications, custom services, and data visualization products.</p>\n<h1 id=\"bluezoo-real-time-api\"><strong>BlueZoo Real-time API</strong></h1>\n<p>These API endpoints allow users to retrieve the most recent occupancy (visitor) and visit data from sensor locations. All requests require authorization using the data warehouse access key in the&nbsp;<code>Authorization</code>&nbsp;header.</p>\n<h1 id=\"bluezoo-fetch-api\"><strong>BlueZoo Fetch API</strong></h1>\n<p><strong>The BlueZoo Fetch API is deprecated and replaced by the Real-time API. The Fetch API service will be discontinued on December 31, 2025.</strong></p>\n<p>The BlueZoo Fetch API allows application and service developers to gain access to real-time data, historical data and configuration information about specific locations managed by a given Bluefox Cluster. Using the API, real-time count information can easily be embedded into third-party applications and services.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"BlueZoo Data Warehouse API","slug":"bluezoo-data-warehouse-api"},{"content":"BlueZoo Real-time API","slug":"bluezoo-real-time-api"},{"content":"BlueZoo Fetch API","slug":"bluezoo-fetch-api"}],"owner":"14323059","collectionId":"0d282c33-faf6-4c0e-9d75-fad56654a51a","publishedId":"TWDfDDRS","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-07-27T20:47:29.000Z"},"item":[{"name":"BlueZoo Data Warehouse API","item":[{"name":"List Tables","id":"86908bf1-058b-4d8d-a64c-5cf22de778ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"AccessKey{{key}}","description":"<p>The User's API Key for the Account</p>\n","type":"text"}],"url":"{{base_url}}/list_tables","description":"<h2 id=\"list_tables\"><strong>list_tables</strong></h2>\n<p>This endpoint returns a list of the tables available under the account, for a user to query. </p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    GET\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    list_tables\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Authorization\n   </td>\n   <td>\n    Request header used for account authentication\n   </td>\n  </tr>\n</table>\n\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP status code\n   </td>\n   <td>\n    Request status code, possible values are:\n    200\n    400\n    403\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP status message\n   </td>\n   <td>\n    Request status message, possible values are:\n    \"BAD_TOKEN\"\n    \"RESTRICTED_ACCESS\"\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Body\n   </td>\n   <td>\n    Array of JSON structure holding information fields about the table names\n   </td>\n  </tr>\n\n</table>\n\n<h2 id=\"example-response\">Example Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n    {\n        \"table_name\": \"sensor_visits\"\n    },\n    {\n        \"table_name\": \"group_flow_duration\"\n    },\n    {\n        \"table_name\": \"group_flow_transition\"\n    },\n    {\n        \"table_name\": \"group_flow_segmentation\"\n    },\n    {\n        \"table_name\": \"sensor_visitors\"\n    },\n    {\n        \"table_name\": \"sensor_dwell\"\n    },\n    {\n        \"table_name\": \"group_uv_daily\"\n    },\n    {\n        \"table_name\": \"group_convert\"\n    },\n    {\n        \"table_name\": \"group_dwell\"\n    },\n    {\n        \"table_name\": \"group_uv_weekly\"\n    },\n    {\n        \"table_name\": \"group_uv_monthly\"\n    },\n    {\n        \"table_name\": \"group_uv_custom\"\n    },\n    {\n        \"table_name\": \"group_flow_correlation\"\n    },\n    {\n        \"table_name\": \"sensor_pulses\"\n    }\n]\n</code></pre>","urlObject":{"path":["list_tables"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"31e1582a-87a5-4744-85ab-57891480f865","name":"List Tables","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"url":"{{base_url}}/list_tables"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 18 Jan 2022 23:15:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"0e048d3b-30da-4797-bd92-61042d1e6729"},{"key":"X-Runtime","value":"1.666782"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"table_name\": \"sensor_visits\"\n    },\n    {\n        \"table_name\": \"group_flow_duration\"\n    },\n    {\n        \"table_name\": \"group_flow_transition\"\n    },\n    {\n        \"table_name\": \"group_flow_segmentation\"\n    },\n    {\n        \"table_name\": \"sensor_visitors\"\n    },\n    {\n        \"table_name\": \"sensor_dwell\"\n    },\n    {\n        \"table_name\": \"group_uv_daily\"\n    },\n    {\n        \"table_name\": \"group_convert\"\n    },\n    {\n        \"table_name\": \"group_uv_weekly\"\n    },\n    {\n        \"table_name\": \"group_uv_monthly\"\n    },\n    {\n        \"table_name\": \"group_uv_custom\"\n    },\n    {\n        \"table_name\": \"group_flow_correlation\"\n    },\n    {\n        \"table_name\": \"sensor_pulses\"\n    }\n]"}],"_postman_id":"86908bf1-058b-4d8d-a64c-5cf22de778ff"},{"name":"Describe Table","id":"5fae83b1-9df9-40b5-997d-8acfaeefdcd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"<p>The User's API Key for the Account</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_visitors\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table","description":"<h2 id=\"desc_table\"><strong>desc_table</strong></h2>\n<p>This endpoint returns a description of the requested table (Columns and Datatypes) available under the account, for a user to query. Detailed column descriptions for each individual table is provided at the end of this documentation.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    desc_table\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Authorization\n   </td>\n   <td>\n    Request header used for account authentication\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/json\n   </td>\n  </tr>\n</table>\n\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    table_name\n   </td>\n   <td>\n    Table name\n   </td>\n  </tr>\n</table>\n\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP status code\n   </td>\n   <td>\n    Request status code, possible values are:\n    200\n    400\n    403\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP status message\n   </td>\n   <td>\n    Request status message, possible values are:\n    “BAD_TOKEN”\n    “RESTRICTED_ACCESS”\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Body\n   </td>\n   <td>\n    Array of JSON structure holding information column names and datatypes in the table\n   </td>\n  </tr>\n\n</table>\n\n<h2 id=\"example-response\">Example Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n    {\n        \"column_name\": \"sensor_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"sensor_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_mac\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_address\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_latitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"sensor_longitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"timestamp\",\n        \"data_type\": \"TIMESTAMP\"\n    },\n    {\n        \"column_name\": \"minimum_visitors_inner\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"maximum_visitors_inner\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"average_visitors_inner\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"minimum_visitors_outer\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"maximum_visitors_outer\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"average_visitors_outer\",\n        \"data_type\": \"FLOAT64\"\n    }\n]\n</code></pre>","urlObject":{"path":["desc_table"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"fe8be0b2-11da-48be-9ab8-e75b1c3cd92a","name":"200 Describe Table Response","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_visitors\"\n}","options":{"raw":{"language":"json"}}},"url":"https://morpheus-api.bluefoxengage.com/v2/dwh/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 10 Jun 2021 02:06:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"ETag","value":"W/\"6ed98713577cc4abf34a89a20c7e81ba\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"0bd67ed1-43df-4c6d-b9f3-91abe30fb56f"},{"key":"X-Runtime","value":"1.637718"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"sensor_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"sensor_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_mac\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_address\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_latitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"sensor_longitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"timestamp\",\n        \"data_type\": \"TIMESTAMP\"\n    },\n    {\n        \"column_name\": \"minimum_visitors_inner\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"maximum_visitors_inner\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"average_visitors_inner\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"minimum_visitors_outer\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"maximum_visitors_outer\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"average_visitors_outer\",\n        \"data_type\": \"FLOAT64\"\n    }\n]"}],"_postman_id":"5fae83b1-9df9-40b5-997d-8acfaeefdcd0"},{"name":"Run Query","id":"149648dd-2db9-4aeb-872f-942e74be72a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"<p>The User's API Key for the Account</p>\n","type":"text"}],"body":{"mode":"raw","raw":"select * from sensor_visitors limit 1"},"url":"{{base_url}}/run_query","description":"<h2 id=\"run_query\"><strong>run_query</strong></h2>\n<p>This endpoint returns the result of a SELECT query. A Complex JOIN-based query is also possible. No DML, DDL queries allowed.</p>\n<table><tbody><tr><td><br />Request<br /></td><td><br />Description<br /></td></tr><tr><td><br />HTTP Method<br /></td><td><br />POST<br /></td></tr><tr><td><br />Endpoint<br /></td><td><br />run_query<br /></td></tr><tr><td><br />Authorization<br /></td><td><br />Request header used for account authentication<br /></td></tr></tbody></table>\n\n<table><tbody><tr><td><br />Text Request Body<br /></td><td><br />Description<br /></td></tr><tr><td><br />string<br /></td><td><br />A SQL SELECT query string<br /></td></tr></tbody></table>\n\n<p><strong>Result</strong></p>\n<table><tbody><tr><td><br />Fields<br /></td><td><br />Description<br /></td></tr><tr><td><br />HTTP status code<br /></td><td><br />Request status code, possible values are:<br />200<br />400<br />403<br /></td></tr><tr><td><br />HTTP status message<br /></td><td><br />Request status message, possible values are:<br />“BAD_TOKEN”<br />“RESTRICTED_ACCESS”<br /></td></tr><tr><td><br />Body<br /></td><td><br />Array of JSON structure holding result of the query.<br /></td></tr></tbody></table>\n\n<h2 id=\"example-response\">Example Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n{\n\"sensor_id\":319,\n\"sensor_name\":\"2\",\n\"sensor_mac\":\"E4:95:6E:41:07:5C\",\n\"sensor_address\":\"\",\n\"sensor_latitude\":null,\n\"sensor_longitude\":null,\n\"timestamp\":\"2021-11-08T00:15:00.000+00:00\",\n\"minimum_visitors_inner\":15.857809066772461,\n\"maximum_visitors_inner\":27.8795166015625,\n\"average_visitors_inner\":21.50176040057478,\n\"minimum_visitors_outer\":15.857809066772461,\n\"maximum_visitors_outer\":27.8795166015625,\n\"average_visitors_outer\":21.50176040057478,\n\"valid\":true,\n\"time_offset\":null\n}\n]\n\n</code></pre>","urlObject":{"path":["run_query"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b8b32773-bab4-4ae1-8948-ecdd3897b21a","name":"Run Query","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"select * from sensor_visitors limit 1"},"url":"{{base_url}}/run_query"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Date","value":"Tue, 23 Aug 2022 22:30:38 GMT"},{"key":"Content-Type","value":"text/event-stream"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"119001fd-7398-4c68-b389-6ef6ff5cb659"},{"key":"X-Runtime","value":"1.709099"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[{\"sensor_id\":319,\"sensor_name\":\"2\",\"sensor_mac\":\"E4:95:6E:41:07:5C\",\"sensor_address\":\"\",\"sensor_latitude\":null,\"sensor_longitude\":null,\"timestamp\":\"2021-11-08T00:15:00.000+00:00\",\"minimum_visitors_inner\":15.857809066772461,\"maximum_visitors_inner\":27.8795166015625,\"average_visitors_inner\":21.50176040057478,\"minimum_visitors_outer\":15.857809066772461,\"maximum_visitors_outer\":27.8795166015625,\"average_visitors_outer\":21.50176040057478,\"valid\":true,\"time_offset\":null}]"}],"_postman_id":"149648dd-2db9-4aeb-872f-942e74be72a4"},{"name":"Describe  Sensor Visits","id":"eb6aabd5-12ae-46f0-a71e-e3165fb3aaa7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"<p>The User's API Key for the Account</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_visits\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table","description":"<p>This request returns a description of the sensor_visits table (Columns and Datatypes). Sensor Visits measure the number of devices seen within the inner detection range of a sensor, also known as impressions. This table also returns the sensor_visits for the outer detection range as specified in the column descriptions below. The maximum resolution for the historical data is 1⁄4-hour grain (15 minute slots).</p>\n<p><strong>Column names and datatypes in the table</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Data Type\n</td>\n   <td>\n    Comments\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_id\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nInteger value of a sensor location id. Change in the sensor_name wouldn’t affect the sensor_id as long as the sensor location is not deleted from the system\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_name\n   </td>\n   <td>\n    STRING\n</td>\n   <td>\nName defined by the user to identify a location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_mac\n   </td>\n   <td>\n    STRING\n</td>\n   <td>\nStatic sensor identifier which remains the same even when a location is deleted from the system and re-added. \n</td>\n  </tr>\n  <tr>\n   <td>\nsensor_address\n</td>\n   <td>\nSTRING\n</td>\n   <td>\nPhysical address of the sensor as can be added by the user in BlueZoo dashboard\n</td>\n  </tr>\n  <tr>\n   <td>\nsensor_latitude\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nPhysical coordinates of a sensor location\n</td>\n  </tr>\n  <tr>\n   <td>\nsensor_longitude\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nPhysical coordinates of a sensor location\n</td>\n  </tr>\n  <tr>\n   <td>\ntimestamp\n</td>\n   <td>\nTIMESTAMP\n</td>\n   <td>\nTimestamp (in UTC) \n</td>\n  </tr>\n  <tr>\n   <td>\nincoming_inner_count\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nNumber of visits/impressions recorded within a sensor’s defined inner detection range\n</td>\n  </tr>\n  <tr>\n   <td>\nincoming_outer_count\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nNumber of visits/impressions recorded within a sensor’s outer detection range. Set at maximum by default, i.e., about 100 meters in an open environment, if not configured\n</td>\n  </tr>\n  <tr>\n   <td>\noutgoing_inner_count\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nNumber of visits ending (closing) within the sensor’s inner detection range.\n</td>\n  </tr>\n  <tr>\n   <td>\noutgoing_outer_count\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nNumber of visits ending within the sensor’s outer detection range.\n   </td>\n  </tr>\n\n</table>","urlObject":{"path":["desc_table"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"56e4786c-df4c-44ef-be66-bd2c49901f54","name":"Describe  Sensor Visits","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_visits\"\n}","options":{"raw":{"language":"json"}}},"url":"https://morpheus-api.bluefoxengage.com/v2/dwh/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 19 Jan 2022 23:37:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"11b986c3-701e-4317-8eca-1fe3a1048601"},{"key":"X-Runtime","value":"1.343649"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"sensor_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"sensor_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_mac\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_address\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_latitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"sensor_longitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"timestamp\",\n        \"data_type\": \"TIMESTAMP\"\n    },\n    {\n        \"column_name\": \"incoming_inner_count\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"incoming_outer_count\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"outgoing_inner_count\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"outgoing_outer_count\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"valid\",\n        \"data_type\": \"BOOL\"\n    }\n]"}],"_postman_id":"eb6aabd5-12ae-46f0-a71e-e3165fb3aaa7"},{"name":"Describe  Sensor Visitors","id":"078a3ce7-39a5-40d5-b381-8797e0b0db8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"<p>The User's API Key for the Account</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_visitors\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table","description":"<p>This request returns a description of the sensor_visitors table (Columns and Datatypes). Sensor visitors is the number of visitors/occupancy to a sensor given by min, average, and max for a 15-minute period.</p>\n<p><strong>Column names and datatypes in the table</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Data Type\n</td>\n   <td>\n    Comments\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_id\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nInteger value of a sensor location id. Change in the sensor_name wouldn’t affect the sensor_id as long as the sensor location is not deleted from the system\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_name\n   </td>\n   <td>\n    STRING\n</td>\n   <td>\nName defined by the user to identify a location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_mac\n   </td>\n   <td>\n    STRING\n</td>\n   <td>\nStatic sensor identifier which remains the same even when a location is deleted from the system and re-added. \n</td>\n  </tr>\n  <tr>\n   <td>\nsensor_address\n</td>\n   <td>\nSTRING\n</td>\n   <td>\nPhysical address of the sensor as can be added by the user in BlueZoo dashboard\n</td>\n  </tr>\n  <tr>\n   <td>\nsensor_latitude\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nPhysical coordinates of a sensor location\n</td>\n  </tr>\n  <tr>\n   <td>\nsensor_longitude\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nPhysical coordinates of a sensor location\n</td>\n  </tr>\n  <tr>\n   <td>\ntimestamp\n</td>\n   <td>\nTIMESTAMP\n</td>\n   <td>\nTimestamp (in UTC) \n</td>\n  </tr>\n  <tr>\n   <td>\nminimum_visitors_inner\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nMinimum number of visitors measured within a sensor’s defined inner detection range over a time span. Maximum resolution is 1⁄4-hour grain\n</td>\n  </tr>\n  <tr>\n   <td>\nmaximum_visitors_inner\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nHighest visitor count measured within a sensor’s inner detection range\n</td>\n  </tr>\n  <tr>\n   <td>\naverage_visitors_inner\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nAverage visitors within the sensor's inner range over a time span.\n</td>\n  </tr>\n  <tr>\n   <td>\nminimum_visitors_outer\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nLowest visitor count measured within the sensor’s outer detection range. Set at maximum by default, i.e., about 100 meters in an open environment, if not configured\n</td>\n  </tr>\n  <tr>\n   <td>\nmaximum_visitors_outer\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nHighest visitor count measured within a sensor’s outer detection range\n</td>\n  </tr>\n  <tr>\n   <td>\naverage_visitors_outer\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nAverage visitors within the sensor's outer range over a time span.\n   </td>\n  </tr>\n\n\n</table>","urlObject":{"path":["desc_table"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"74db0d92-3e33-4136-9f15-af21705321d1","name":"Describe  Sensor Visitors","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_visitors\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Aug 2022 22:46:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"f3aded50-cb72-445b-9024-05809413476e"},{"key":"X-Runtime","value":"1.323322"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"sensor_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"sensor_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_mac\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_address\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_latitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"sensor_longitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"timestamp\",\n        \"data_type\": \"TIMESTAMP\"\n    },\n    {\n        \"column_name\": \"minimum_visitors_inner\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"maximum_visitors_inner\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"average_visitors_inner\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"minimum_visitors_outer\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"maximum_visitors_outer\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"average_visitors_outer\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"valid\",\n        \"data_type\": \"BOOL\"\n    },\n    {\n        \"column_name\": \"time_offset\",\n        \"data_type\": \"STRING\"\n    }\n]"}],"_postman_id":"078a3ce7-39a5-40d5-b381-8797e0b0db8d"},{"name":"Describe Sensor Visitors Per Minute","id":"28f27082-441c-4522-8733-a251c8f02756","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"<p>The User's API Key for the Account</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_visitors_per_minute\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table","description":"<p>This request returns a description of the sensor_visitors_per_minute table (Columns and Datatypes). The table reports the number of visitors present during each 1-minute period. Each row reports visitors for both the inner and outer detection zones. This table is populated only if the “Per-Minute” option has been configured for the sensor; this table is not populated by default.</p>\n<p><strong>Column names and datatypes in the sensor_visitors_per_minute</strong></p>\n<table><tbody><tr><td><br />Fields<br /></td><td><br />Data Type<br /></td><td><br />Comments<br /></td></tr><tr><td><br />sensor_id<br /></td><td><br />INT64<br /></td><td><br />Integer value of a sensor location id. (primary sensor location identifier)</td></tr><tr><td><br />sensor_name<br /></td><td><br />STRING<br /></td><td><br />Name defined by the user to identify a location.<br /></td></tr><tr><td><br />sensor_mac<br /></td><td><br />STRING<br /></td><td><br />Sensor hardware identifier<br /></td></tr><tr><td><br />sensor_address<br /></td><td><br />STRING<br /></td><td><br />Physical address of the sensor as can be added by the user in BlueZoo dashboard<br /></td></tr><tr><td><br />sensor_latitude<br /></td><td><br />FLOAT64<br /></td><td><br />Physical coordinates of a sensor location<br /></td></tr><tr><td><br />sensor_longitude<br /></td><td><br />FLOAT64<br /></td><td><br />Physical coordinates of a sensor location<br /></td></tr><tr><td><br />timestamp<br /></td><td><br />TIMESTAMP<br /></td><td><br />Timestamp (in UTC)<br /></td></tr><tr><td><br />time_offset<br /></td><td><br />STRING<br /></td><td><br />Time offset between UTC (GMT) at which times are stored in the data warehouse and the selected time zone of the sensor location<br /></td></tr><tr><td><br />visitors_inner<br /></td><td><br />FLOAT64<br /></td><td><br />Number of visitors measured within a sensor’s defined inner detection range<br /><br /></td></tr><tr><td><br />visitors_outer<br /></td><td><br />FLOAT64</td><td><br />Number of visitors measured within a sensor’s outer detection range. Set at maximum by default, i.e., about 100 meters in an open environment, if not configured<br /></td></tr></tbody></table>","urlObject":{"path":["desc_table"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"861ff16f-1a6b-48cf-840c-d913c278e122","name":"Describe Sensor Visitors Per Minute","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_visitors_per_minute\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 19 Oct 2022 18:03:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"095b6263-1967-4cb9-a2a3-8e453f0887ab"},{"key":"X-Runtime","value":"1.357279"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"sensor_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"sensor_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_mac\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_address\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_latitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"sensor_longitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"timestamp\",\n        \"data_type\": \"TIMESTAMP\"\n    },\n    {\n        \"column_name\": \"valid\",\n        \"data_type\": \"BOOL\"\n    },\n    {\n        \"column_name\": \"time_offset\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"visitors_inner\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"visitors_outer\",\n        \"data_type\": \"FLOAT64\"\n    }\n]"}],"_postman_id":"28f27082-441c-4522-8733-a251c8f02756"},{"name":"Describe  Sensor Dwell","id":"28ac5300-0c8c-4e80-8538-9c31102814cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"<p>The User's API Key for the Account</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_dwell\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table","description":"<p>This request returns a description of the sensor_dwell table (Columns and Datatypes). Dwell time is a distribution of visit durations per 15-minute slots over a specified period of time. The visit duration represents the amount of time that was spent inside the inner detection range of the sensor.</p>\n<p><strong>Column names and datatypes in the table</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Data Type\n</td>\n   <td>\n    Comments\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_id\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nInteger value of a sensor location id. Change in the sensor_name wouldn’t affect the sensor_id as long as the sensor location is not deleted from the system\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_name\n   </td>\n   <td>\n    STRING\n</td>\n   <td>\nName defined by the user to identify a location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_mac\n   </td>\n   <td>\n    STRING\n</td>\n   <td>\nStatic sensor identifier which remains the same even when a location is deleted from the system and re-added. \n</td>\n  </tr>\n  <tr>\n   <td>\nsensor_address\n</td>\n   <td>\nSTRING\n</td>\n   <td>\nPhysical address of the sensor as can be added by the user in BlueZoo dashboard\n</td>\n  </tr>\n  <tr>\n   <td>\nsensor_latitude\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nPhysical coordinates of a sensor location\n</td>\n  </tr>\n  <tr>\n   <td>\nsensor_longitude\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nPhysical coordinates of a sensor location\n</td>\n  </tr>\n  <tr>\n   <td>\ntimestamp\n</td>\n   <td>\nTIMESTAMP\n</td>\n   <td>\nAn array of 15 minute time slots (in UTC). Each slot is defined by a start_timestamp. \n\n<p>Visit duration information is for the visits that ended in that slot’s timespan.</p>\n</td>\n  </tr>\n  <tr>\n   <td>\ntotal_visits\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nTotal number of visits/impressions that ended in the given time slot\n</td>\n  </tr>\n  <tr>\n   <td>\ndistribution_bin_0000_to_0001\n.\n.\n.\ndistribution_bin_2400_to_beyond\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nAn array of bin descriptions described by a “start” time and a “stop” time. Each duration bin consists of float values representing the percentage of visits that lasted for the bin’s duration.\ni.e., % of visits that lasted for 0-1 min\n.\n.\n.\n% of visits that lasted for 24 hours and beyond\n\n\n   </td>\n  </tr>\n\n\n</table>","urlObject":{"path":["desc_table"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"168b3196-c78d-473a-b046-40ba846e4001","name":"Describe  Sensor Dwell","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_dwell\"\n}","options":{"raw":{"language":"json"}}},"url":"https://morpheus-api.bluefoxengage.com/v2/dwh/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 19 Jan 2022 22:57:29 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"f783796a-e6fb-40ec-af03-e47eb0a8b3ca"},{"key":"X-Runtime","value":"1.229609"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"sensor_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"sensor_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_mac\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_address\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_latitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"sensor_longitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"timestamp\",\n        \"data_type\": \"TIMESTAMP\"\n    },\n    {\n        \"column_name\": \"total_visits\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_weight\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0000_to_0001\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0001_to_0002\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0002_to_0003\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0003_to_0004\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0004_to_0005\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0005_to_0006\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0006_to_0007\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0007_to_0008\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0008_to_0009\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0009_to_0010\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0010_to_0011\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0011_to_0012\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0012_to_0013\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0013_to_0014\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0014_to_0015\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0015_to_0016\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0016_to_0017\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0017_to_0018\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0018_to_0019\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0019_to_0020\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0020_to_0021\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0021_to_0022\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0022_to_0023\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0023_to_0024\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0024_to_0025\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0025_to_0026\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0026_to_0027\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0027_to_0028\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0028_to_0029\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0029_to_0030\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0030_to_0032\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0032_to_0034\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0034_to_0036\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0036_to_0038\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0038_to_0040\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0040_to_0042\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0042_to_0044\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0044_to_0046\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0046_to_0048\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0048_to_0050\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0050_to_0052\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0052_to_0054\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0054_to_0056\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0056_to_0058\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0058_to_0100\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0100_to_0105\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0105_to_0110\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0110_to_0115\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0115_to_0120\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0120_to_0125\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0125_to_0130\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0130_to_0135\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0135_to_0140\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0140_to_0145\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0145_to_0150\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0150_to_0155\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0155_to_0200\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0200_to_0205\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0205_to_0210\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0210_to_0215\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0215_to_0220\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0220_to_0225\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0225_to_0230\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0230_to_0235\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0235_to_0240\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0240_to_0245\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0245_to_0250\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0250_to_0255\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0255_to_0300\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0300_to_0315\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0315_to_0330\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0330_to_0345\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0345_to_0400\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0400_to_0415\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0415_to_0430\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0430_to_0445\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0445_to_0500\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0500_to_0515\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0515_to_0530\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0530_to_0545\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0545_to_0600\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0600_to_0615\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0615_to_0630\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0630_to_0645\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0645_to_0700\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0700_to_0715\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0715_to_0730\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0730_to_0745\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0745_to_0800\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0800_to_0900\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_0900_to_1000\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_1000_to_1100\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_1100_to_1200\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_1200_to_1300\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_1300_to_1400\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_1400_to_1500\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_1500_to_1600\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_1600_to_1700\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_1700_to_1800\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_1800_to_1900\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_1900_to_2000\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_2000_to_2100\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_2100_to_2200\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_2200_to_2300\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_2300_to_2400\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"distribution_bin_2400_to_beyond\",\n        \"data_type\": \"FLOAT64\"\n    }\n]"}],"_postman_id":"28ac5300-0c8c-4e80-8538-9c31102814cb"},{"name":"Describe  Group UV","id":"cd69aace-9619-412a-8dcc-10ef6b49a874","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"<p>The User's API Key for the Account</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"group_uv_daily\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table","description":"<p>This request returns a description of the group_UV tables, i.e., Unique Visitors over a day, a week, month and/or custom time filters. \nMonthly UV filter resets and begins on the 1st day of month. Weekly resets and begins each Monday.</p>\n<p><strong>Column names and datatypes in the table</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Data Type\n</td>\n   <td>\n    Comments\n   </td>\n  </tr>\n  <tr>\n   <td>\n    group_id\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nInteger value of a UV group id\n   </td>\n  </tr>\n  <tr>\n   <td>\n    group_name\n   </td>\n   <td>\n    STRING\n</td>\n   <td>\nName defined by the user to identify a group.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    date\n   </td>\n   <td>\n    DATE\n</td>\n   <td>\nDate over which the unique visitors are measured\n</td>\n  </tr>\n  <tr>\n   <td>\ncuv_freq_10\n.\n.\n.\ncuv_freq_1\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nNumber of Unique Visitors seen 10 times or more during the duration of the time interval\n.\n.\n.\nNumber of Unique Visitors seen once\n</td>\n  </tr>\n  <tr>\n   <td>\ncuv\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\nTotal number of Unique Visitors for the duration of the filter\n</td>\n  </tr>\n  <tr>\n   <td>\noutgoing_inner_visits\n</td>\n   <td>\nFLOAT64\n</td>\n   <td>\n Number of visits ending within the sensor’s inner detection range for the duration\n   </td>\n  </tr>\n\n\n</table>","urlObject":{"path":["desc_table"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2c821d2e-fc25-47cf-b5cd-2c430deea69a","name":"Describe  Group UV Daily","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"group_uv_daily\"\n}","options":{"raw":{"language":"json"}}},"url":"https://morpheus-api.bluefoxengage.com/v2/dwh/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 19 Jan 2022 22:58:14 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"15b2f671-1d63-42d9-8582-6dd65b518d64"},{"key":"X-Runtime","value":"1.246867"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"group_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"group_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"date\",\n        \"data_type\": \"DATE\"\n    },\n    {\n        \"column_name\": \"cuv_freq_10\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"cuv_freq_9\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"cuv_freq_8\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"cuv_freq_7\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"cuv_freq_6\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"cuv_freq_5\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"cuv_freq_4\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"cuv_freq_3\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"cuv_freq_2\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"cuv_freq_1\",\n        \"data_type\": \"FLOAT64\"\n    }\n]"}],"_postman_id":"cd69aace-9619-412a-8dcc-10ef6b49a874"},{"name":"Describe  Traffic flow","id":"b7f598b5-b66a-4f95-bfd8-271931a1f45b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"<p>The User's API Key for the Account</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"group_flow_transition\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table","description":"<p>This request returns a description of the traffic flow related tables (Columns and Datatypes). The measurements reported by flow are captured in the following four tables- </p>\n<ol>\n<li>group_flow_transition- Contains the number of journeys that visited one location (group of sensors) followed by another (group of sensors). </li>\n<li>group_flow_correlation- Contains the number of journeys that include two locations.</li>\n<li>group_flow_duration- Contains the number of journeys to a single group, to two groups, to three groups, etc–up to the number (n) of groups in the group set.  The table also contains the average journey duration (in  seconds) for each of these n collections of journeys. Each group can have one or multiple sensors.</li>\n<li>group_flow_segmentation- Contains the journey characteristics based on duration and groups visited.</li>\n</ol>\n<p><strong>Column names and datatypes in the table group_flow_transition</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Data Type\n</td>\n   <td>\n    Comments\n   </td>\n  </tr>\n  <tr>\n   <td>\n    campaign_id\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nInteger value of the traffic flow campaign id.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    campaign_name\n   </td>\n   <td>\n    STRING\n</td>\n   <td>\nName of the campaign being retrieved\n   </td>\n  </tr>\n  <tr>\n   <td>\n    group_source_id\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nInteger value of the source group id, which is an origin group where all journeys begin\n</td>\n  </tr>\n  <tr>\n   <td>\ngroup_source_name\n</td>\n   <td>\nSTRING\n</td>\n   <td>\nName defined for the origin group\n</td>\n  </tr>\n  <tr>\n   <td>\ngroup_destination_id\n</td>\n   <td>\nINT64\n</td>\n   <td>\nInteger value of the destination group id, where the mobile phones are seen later\n</td>\n  </tr>\n  <tr>\n   <td>\ngroup_destination_name\n</td>\n   <td>\nSTRING\n</td>\n   <td>\nName defined for the destination group\n</td>\n  </tr>\n  <tr>\n   <td>\ndate\n</td>\n   <td>\nDATE\n</td>\n   <td>\nDate of measured data\n</td>\n  </tr>\n  <tr>\n   <td>\ntransition_inner_count\n</td>\n   <td>\nINT64\n</td>\n   <td>\nNumber of journeys that transition from source to destination group\n</td>\n  </tr>\n  <tr>\n   <td>\ntransition_total_inner_count\n</td>\n   <td>\nINT64\n</td>\n   <td>\nTotal number of Journeys\n\n   </td>\n  </tr>\n\n\n</table>\n\n<p><strong>Column names and datatypes in the table group_flow_correlation</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Data Type\n</td>\n   <td>\n    Comments\n   </td>\n  </tr>\n  <tr>\n   <td>\n    correlation_inner_count\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nNumber of common journeys between the two groups (A and B)\n   </td>\n  </tr>\n  <tr>\n   <td>\n    correlation_total_inner_count\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nTotal number of journeys at group A and B\n   \n   </td>\n  </tr>\n\n\n</table>\n\n<p><strong>Column names and datatypes in the table group_flow_duration</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Data Type\n</td>\n   <td>\n    Comments\n   </td>\n  </tr>\n  <tr>\n   <td>\n  number_of_groups_visited\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nThe integer values range from 1 to the number of groups in the group set\n   </td>\n  </tr>\n  <tr>\n   <td>\n    total_journey_count\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nTotal number of visitor journeys (One visitor can have multiple journeys per day)\n</td>\n  </tr>\n  <tr>\n   <td>\n    average_journey_duration\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nAverage Journey duration measured in seconds\n   \n   </td>\n  </tr>\n\n\n</table>\n\n<p><strong>Column names and datatypes in the table group_flow_segmentation</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Data Type\n</td>\n   <td>\n    Comments\n   </td>\n  </tr>\n  <tr>\n   <td>\n    shoppers_count\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nTotal number of journeys within the inner range of the sensor that lasts less than the defined long time.\n   </td>\n  </tr>\n  <tr>\n   <td>\n  window_shoppers_count\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nTotal number of journeys only within the outer range that lasts longer than the defined short time and less than the long time\n</td>\n  </tr>\n  <tr>\n   <td>\n  passersby_count\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nTotal number of journeys within the outer range that lasts for the shortest variable time\n</td>\n  </tr>\n  <tr>\n   <td>\n  employees_count\n   </td>\n   <td>\n    INT64\n</td>\n   <td>\nTotal number of journeys within the outer range that lasts for longer than the defined long time\n   \n   </td>\n  </tr>\n\n\n</table>","urlObject":{"path":["desc_table"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"d2d77d8a-4121-49bf-b25c-614d25f46afc","name":"Describe  Traffic flow","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"group_flow_transition\"\n}","options":{"raw":{"language":"json"}}},"url":"https://morpheus-api.bluefoxengage.com/v2/dwh/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 19 Jan 2022 23:00:06 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"af650d5b-a598-4bdd-9769-2200e0b30501"},{"key":"X-Runtime","value":"1.237086"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"campaign_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"campaign_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"group_source_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"group_source_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"group_destination_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"group_destination_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"date\",\n        \"data_type\": \"DATE\"\n    },\n    {\n        \"column_name\": \"transition_inner_count\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"transition_total_inner_count\",\n        \"data_type\": \"INT64\"\n    }\n]"},{"id":"7c993384-1375-4750-ae3f-ac7f6d8f7345","name":"Describe  Traffic flow","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"group_flow_correlation\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 19 Jan 2022 23:01:22 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"b8d39100-2696-4ae1-a9cb-d7a949e4083a"},{"key":"X-Runtime","value":"2.370603"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"campaign_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"campaign_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"group_a_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"group_a_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"group_b_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"group_b_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"date\",\n        \"data_type\": \"DATE\"\n    },\n    {\n        \"column_name\": \"correlation_inner_count\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"correlation_total_inner_count\",\n        \"data_type\": \"INT64\"\n    }\n]"},{"id":"c6a0746e-78d4-4d66-9857-bdaa227f58b8","name":"Describe  Traffic flow","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"group_flow_duration\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 19 Jan 2022 23:01:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"6823a3fc-87e0-4c63-85c0-db91ff53f153"},{"key":"X-Runtime","value":"1.330883"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"campaign_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"campaign_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"group_set_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"group_set_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"date\",\n        \"data_type\": \"DATE\"\n    },\n    {\n        \"column_name\": \"number_of_groups_visited\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"total_journey_count\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"average_journey_duration\",\n        \"data_type\": \"INT64\"\n    }\n]"},{"id":"5a258688-874f-42d1-b890-d2605571f5d1","name":"Describe  Traffic flow","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"group_flow_segmentation\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 19 Jan 2022 23:02:19 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"8648afa8-8979-44ab-a68f-dcd291372eda"},{"key":"X-Runtime","value":"1.224100"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"campaign_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"campaign_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"group_set_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"group_set_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"date\",\n        \"data_type\": \"DATE\"\n    },\n    {\n        \"column_name\": \"shoppers_count\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"window_shoppers_count\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"passersby_count\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"employees_count\",\n        \"data_type\": \"INT64\"\n    }\n]"}],"_postman_id":"b7f598b5-b66a-4f95-bfd8-271931a1f45b"},{"name":"Describe Sensor Pulses","id":"008bfde4-5d47-4353-b968-dfc82e5dea68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"<p>The User's API Key for the Account</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_pulses\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table","description":"<p>The sensor_pulses table provides telemetry and diagnostic data from BlueZoo sensors. It is primarily useful for sensor health monitoring, connectivity analysis, network quality analysis (Wi-Fi / cellular), MAC sampling volume tracking (Global vs Local), RF environment diagnostics, pulse delivery validation, rather than foot-traffic or visitor analytics.</p>\n<p><strong>Column names and datatypes in the table sensor_pulses</strong></p>\n<table><tbody><tr><td><div><br />Fields<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div><br />Data Type<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div><br />Comments<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><br />sensor_id<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>INT64<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>Unique internal ID of the sensor</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><br />sensor_name<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>STRING<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>Name of the sensor as defined by the user<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><br />sensor_mac<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>STRING<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>MAC address of the sensor</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><br />sensor_address<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>STRING<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>Physical address of the sensor location<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><br />sensor_latitude<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>FLOAT</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Latitude coordinate of the sensor<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><br />sensor_longitude<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>FLOAT<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>Longitude coordinate of the sensor<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><br />account_id<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>STRING<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>Unique account identifier<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><br />account_name<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>STRING<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>Account name<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div><br />timestamp<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>TIMESTAMP<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>Timestamp of the pulse event<br /><br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>expected_pulse_count</div><div><div><div><div></div></div></div><div></div></div></td><td><div>INT64</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Expected number of pulses for the reporting interval</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>pulse_count</div><div><div><div><div></div></div></div><div></div></div></td><td><div>INT64</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Actual number of pulses received</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>time_offset</div><div><div><div><div></div></div></div><div></div></div></td><td><div>STRING</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Local time offset from UTC</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>time_zone</div><div><div><div><div></div></div></div><div></div></div></td><td><div>STRING</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Time zone of the sensor</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>pulse_rssi_distribution</div><div><div><div><div></div></div></div><div></div></div></td><td><div>RECORD</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Distribution of RSSI values captured during pulses</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>mac_count_global</div><div><div><div><div></div></div></div><div></div></div></td><td><div>INT64</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Total MAC Global addresses detected</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>mac_count_local</div><div><div><div><div></div></div></div><div></div></div></td><td><div>INT64</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Local MAC addresses detected</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>mac_count_global_whitelisted</div><div><div><div><div></div></div></div><div></div></div></td><td><div>INT64</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Global MACs that passed whitelisting</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>rssi_cellular_avg</div><div><div><div><div></div></div></div><div></div></div></td><td><div>FLOAT</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Average cellular signal strength (RSSI)</div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>rssi_wifi_avg</div><div><div><div><div></div></div></div><div></div></div></td><td><div>FLOAT</div><div><div><div><div></div></div></div><div></div></div></td><td><div>Average Wi-Fi signal strength (RSSI)</div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>","urlObject":{"path":["desc_table"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"cba7ff61-414c-403b-b813-d64e1227cdc8","name":"Describe Sensor Pulses","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"AccessKey {{key}}","description":"The User's API Key for the Account","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"table_name\": \"sensor_pulses\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/desc_table"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Date","value":"Thu, 02 Apr 2026 17:04:21 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"74afab3b-3b03-4532-9e0f-f24498661256"},{"key":"X-Runtime","value":"1.397446"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"column_name\": \"sensor_id\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"sensor_name\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_mac\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_address\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"sensor_latitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"sensor_longitude\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"timestamp\",\n        \"data_type\": \"TIMESTAMP\"\n    },\n    {\n        \"column_name\": \"expected_pulse_count\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"pulse_count\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"time_offset\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"time_zone\",\n        \"data_type\": \"STRING\"\n    },\n    {\n        \"column_name\": \"pulse_rssi_distribution\",\n        \"data_type\": \"STRUCT<r000 INT64, r001 INT64, r002 INT64, r003 INT64, r004 INT64, r005 INT64, r006 INT64, r007 INT64, r008 INT64, r009 INT64, r010 INT64, r011 INT64, r012 INT64, r013 INT64, r014 INT64, r015 INT64, r016 INT64, r017 INT64, r018 INT64, r019 INT64, r020 INT64, r021 INT64, r022 INT64, r023 INT64, r024 INT64, r025 INT64, r026 INT64, r027 INT64, r028 INT64, r029 INT64, r030 INT64, r031 INT64, r032 INT64, r033 INT64, r034 INT64, r035 INT64, r036 INT64, r037 INT64, r038 INT64, r039 INT64, r040 INT64, r041 INT64, r042 INT64, r043 INT64, r044 INT64, r045 INT64, r046 INT64, r047 INT64, r048 INT64, r049 INT64, r050 INT64, r051 INT64, r052 INT64, r053 INT64, r054 INT64, r055 INT64, r056 INT64, r057 INT64, r058 INT64, r059 INT64, r060 INT64, r061 INT64, r062 INT64, r063 INT64, r064 INT64, r065 INT64, r066 INT64, r067 INT64, r068 INT64, r069 INT64, r070 INT64, r071 INT64, r072 INT64, r073 INT64, r074 INT64, r075 INT64, r076 INT64, r077 INT64, r078 INT64, r079 INT64, r080 INT64, r081 INT64, r082 INT64, r083 INT64, r084 INT64, r085 INT64, r086 INT64, r087 INT64, r088 INT64, r089 INT64, r090 INT64, r091 INT64, r092 INT64, r093 INT64, r094 INT64, r095 INT64, r096 INT64, r097 INT64, r098 INT64, r099 INT64, r100 INT64, r101 INT64, r102 INT64, r103 INT64, r104 INT64, r105 INT64, r106 INT64, r107 INT64, r108 INT64, r109 INT64, r110 INT64, r111 INT64, r112 INT64, r113 INT64, r114 INT64, r115 INT64, r116 INT64, r117 INT64, r118 INT64, r119 INT64, r120 INT64, r121 INT64, r122 INT64, r123 INT64, r124 INT64, r125 INT64, r126 INT64, r127 INT64>\"\n    },\n    {\n        \"column_name\": \"mac_count_global\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"mac_count_local\",\n        \"data_type\": \"INT64\"\n    },\n    {\n        \"column_name\": \"rssi_cellular_avg\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"rssi_wifi_avg\",\n        \"data_type\": \"FLOAT64\"\n    },\n    {\n        \"column_name\": \"mac_count_global_whitelisted\",\n        \"data_type\": \"INT64\"\n    }\n]"}],"_postman_id":"008bfde4-5d47-4353-b968-dfc82e5dea68"}],"id":"89e2277d-43ef-424b-b4d6-6f473538f108","description":"<h1 id=\"overview\"><strong>Overview</strong></h1>\n<p>The BlueZoo Data Warehouse API allows application and service developers to gain access to historical data about locations managed by a given BlueZoo Cluster for their accounts. Using the API, the historical information can easily be ingested and integrated into customer built applications, custom services, and data visualization products.</p>\n<h1 id=\"service-summary\">Service Summary</h1>\n<p>HTTP POST or HTTP GET requests are used to retrieve the data. The request body contains the request’s parameters expressed in JSON or Text format. All responses are JSON format.</p>\n<p>The API includes the following services:</p>\n<ul>\n<li><p>Get the list of tables available (e.g. group unique visits, dwell times, etc.)</p>\n</li>\n<li><p>Get the table description, providing columns to query in the table.</p>\n</li>\n<li><p>Get the results to a SQL query.</p>\n</li>\n</ul>\n<p>Access Key</p>\n<p>Customers can access historical data in the data warehouse by using the RUN QUERY endpoint with the Customer-specific account “Access Key” found in the BlueZoo dashboard’s <a href=\"https://beta.bluezoo.io/profile\">Profile screen</a>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Index</th>\n<th>Bluefox Fetch API Definitions</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>list_tables</td>\n</tr>\n<tr>\n<td>2</td>\n<td>desc_table</td>\n</tr>\n<tr>\n<td>3</td>\n<td>run_query</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"bluezoo-data-warehouse-api-use\">BlueZoo Data Warehouse API Use</h1>\n<p>The BlueZoo Data Warehouse API is accessible via a specific base URL.</p>\n<p>To form the full request URL for a given endpoint (see available endpoints below), simply append the endpoint name to the base URL.</p>\n<p>[Base API URL]</p>\n<p><a href=\"https://apollo-api.bluefoxengage.com/v2/dwh\">https://hermes.apollo.bluezoo.io/v2/dwh</a></p>\n<p>Example:</p>\n<p>[Full Request URL]</p>\n<p><a href=\"https://apollo-api.bluefoxengage.com/v2/dwh\">https://hermes.apollo.bluezoo.io/v2/dwh</a><a href=\"https://apollo-api.bluefoxengage.com/v2/dwh/list_tables\">/list_tables</a></p>\n<p>Each successful HTTP request should return 200 as HTTP Status Code.</p>\n","_postman_id":"89e2277d-43ef-424b-b4d6-6f473538f108"},{"name":"BlueZoo Real-time API","item":[{"name":"Get_occupancy_count","id":"37d85347-52e8-4853-b7e5-3818300e384b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"AccessKey af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6","type":"text"}],"body":{"mode":"raw","raw":""},"url":"https://hermes.apollo.bluezoo.io/v2/get_occupancy_count?id=753","description":"<h4 id=\"description\"><strong>Description</strong>:</h4>\n<p>This endpoint returns the momentary visitor count (i.e., momentary occupancy) for a specified sensor location at the beginning of the current minute.</p>\n<p><strong>Required Parameter</strong>:</p>\n<ul>\n<li><code>id</code>: The sensor location ID</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","get_occupancy_count"],"host":["hermes","apollo","bluezoo","io"],"query":[{"key":"id","value":"753"}],"variable":[]}},"response":[{"id":"68eb1860-5470-46f4-aafb-2ce2af8ffde6","name":"Get_occupancy_count","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"753","type":"text"}],"body":{"mode":"raw","raw":""},"url":{"raw":"https://hermes.apollo.bluezoo.io/v2/get_occupancy_count?id=af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6","protocol":"https","host":["hermes","apollo","bluezoo","io"],"path":["v2","get_occupancy_count"],"query":[{"key":"id","value":"af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 13 Sep 2024 05:33:57 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"5528ae1b-03ed-4018-b532-922337619a02"},{"key":"X-Runtime","value":"0.094866"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"inner_occupancy_count\": 7,\n    \"outer_occupancy_count\": 19\n}"}],"_postman_id":"37d85347-52e8-4853-b7e5-3818300e384b"},{"name":"Get_visits","id":"02f38929-f343-4492-a66e-4545c0feb6d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"AccessKey af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6","type":"text"}],"url":"https://hermes.apollo.bluezoo.io/v2/get_visits?id=753","description":"<h4 id=\"description\"><strong>Description</strong>:</h4>\n<p>This endpoint returns the number of inner and outer visits measured for the last eight full 15-minute periods for a specified sensor location.</p>\n<p><strong>Required Parameter:</strong></p>\n<ul>\n<li><code>id</code>: The sensor location ID</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v2","get_visits"],"host":["hermes","apollo","bluezoo","io"],"query":[{"key":"id","value":"753"}],"variable":[]}},"response":[{"id":"a869ddab-3ccd-4512-9d3f-69a1e884b667","name":"Get_visits","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"AccessKey af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6","type":"text"}],"url":{"raw":"https://hermes.apollo.bluezoo.io/v2/get_visits?id=af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6","protocol":"https","host":["hermes","apollo","bluezoo","io"],"path":["v2","get_visits"],"query":[{"key":"id","value":"af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 13 Sep 2024 05:28:08 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"no-cache"},{"key":"X-Request-Id","value":"0d176c22-fd5d-4d4d-b6dd-df53f5d2ffb2"},{"key":"X-Runtime","value":"0.251890"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"visit_count_slots\": [\n        {\n            \"start_timestamp\": 1726203600,\n            \"stop_timestamp\": 1726204499,\n            \"inner_visit_count\": 7,\n            \"outer_visit_count\": 18\n        },\n        {\n            \"start_timestamp\": 1726202700,\n            \"stop_timestamp\": 1726203599,\n            \"inner_visit_count\": 11,\n            \"outer_visit_count\": 22\n        },\n        {\n            \"start_timestamp\": 1726201800,\n            \"stop_timestamp\": 1726202699,\n            \"inner_visit_count\": 3,\n            \"outer_visit_count\": 15\n        },\n        {\n            \"start_timestamp\": 1726200900,\n            \"stop_timestamp\": 1726201799,\n            \"inner_visit_count\": 4,\n            \"outer_visit_count\": 11\n        },\n        {\n            \"start_timestamp\": 1726200000,\n            \"stop_timestamp\": 1726200899,\n            \"inner_visit_count\": 11,\n            \"outer_visit_count\": 24\n        },\n        {\n            \"start_timestamp\": 1726199100,\n            \"stop_timestamp\": 1726199999,\n            \"inner_visit_count\": 12,\n            \"outer_visit_count\": 24\n        },\n        {\n            \"start_timestamp\": 1726198200,\n            \"stop_timestamp\": 1726199099,\n            \"inner_visit_count\": 1,\n            \"outer_visit_count\": 13\n        },\n        {\n            \"start_timestamp\": 1726197300,\n            \"stop_timestamp\": 1726198199,\n            \"inner_visit_count\": 4,\n            \"outer_visit_count\": 17\n        }\n    ]\n}"}],"_postman_id":"02f38929-f343-4492-a66e-4545c0feb6d6"}],"id":"82cbf3e9-b227-4038-8b39-9c239a7fb00f","description":"<h1 id=\"overview\"><strong>Overview</strong></h1>\n<p>The BlueZoo Real-time API allows application and service developers to gain access to the most recent visitor count (occupancy) and visit data from sensor locations in their accounts.</p>\n<h1 id=\"service-summary\">Service Summary</h1>\n<p>HTTP GET requests are used to retrieve the data. The request body contains the request’s parameters expressed in JSON or Text format. All responses are JSON format.</p>\n<p>The API includes the following services:</p>\n<ul>\n<li>Get the visitor count (occupancy) for inner and outer detection zone of the sensor</li>\n<li>Get visits for the last eight 15-minute periods, in the inner and outer detection zone of the sensor</li>\n</ul>\n<p>Access Key</p>\n<p>Customers can access data from these endpoints by using their account-specific \"Access Key,\" available in the <a href=\"https://dashboard.bluezoo.io/profile\">Profile section</a> of the BlueZoo dashboard, for authentication.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Index</th>\n<th>Real-time API endpoints</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>get_occupancy_count?id={id}</td>\n</tr>\n<tr>\n<td>2</td>\n<td>/get_visits?id={id}</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"bluezoo-real-time-api-use\">BlueZoo Real-time API Use</h1>\n<p>The BlueZoo Reall-time API is accessible via a specific base URL.</p>\n<h4 id=\"base-url-httpshermesapollobluezooiov2\"><strong>Base URL</strong>: <a href=\"https://hermes.apollo.bluezoo.io/v2\"><code>https://hermes.apollo.bluezoo.io/v2</code></a></h4>\n<p>To form the full request URL for a given endpoint (see available endpoints below), simply append the endpoint name to the base URL.</p>\n<p>Example:</p>\n<p>[Base API URL]</p>\n<h4 id=\"httpshermesapollobluezooiov2\"><a href=\"https://hermes.apollo.bluezoo.io/v2\"><code>https://hermes.apollo.bluezoo.io/v2</code></a></h4>\n<p>[Full Request URL]</p>\n<p><a href=\"https://hermes.apollo.bluezoo.io/v2/get_occupancy_count\">https://hermes.apollo.bluezoo.io/v2/get_occupancy_count?id={id}</a></p>\n<p>Where, id= the unique sensor location id</p>\n<p><strong>A sensor ID can be obtained from the \"Sensor locations&gt; Properties\" section in the BlueZoo dashboard, or by querying the sensor and account-related tables through the BlueZoo Datawarehouse API.</strong></p>\n<p>Each successful HTTP request should return 200 as HTTP Status Code.</p>\n","_postman_id":"82cbf3e9-b227-4038-8b39-9c239a7fb00f"},{"name":"BlueZoo Fetch API","item":[{"name":"Account API Calls","item":[{"name":"2. get_account_info","id":"a1902c8c-3e77-45be-8c7f-d8ebeb22309c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{account_secret_token}}","description":"<p>Account Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{account_access_token}}","description":"<p>Account Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_account_info","description":"<h2 id=\"get_account_info\"><strong>get_account_info</strong></h2>\n<p>This endpoint returns information about the locations under the account. <strong>Account-level  credentials</strong> are needed. </p>\n<p><em>Note: location secret tokens are only provided in the response if the account owner has enabled third party fetch API access to that location.</em></p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_account_info\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the account\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for account authentication\n   </td>\n  </tr>\n</table>\n\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n   </td>\n   <td>\n    No required parameters. Set the JSON request body as an empty hash (i.e. {} )\n   </td>\n  </tr>\n</table>\n\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_ACCOUNT_ERROR”\n    “INVALID_ACCOUNT_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n   </td>\n  </tr>\n  <tr>\n   <td>\n    account_info\n   </td>\n   <td>\n    Hash structure holding information fields about the account\n   </td>\n  </tr>\n  <tr>\n   <td>\n    account_uuid\n   </td>\n   <td>\n    Unique ID of the account\n   </td>\n  </tr>\n  <tr>\n   <td>\n    locations\n   </td>\n   <td>\n    Array of location details\n   </td>\n  </tr>\n  <tr>\n   <td>\n    location_uuid\n   </td>\n   <td>\n    Unique ID of the location\n   </td>\n  </tr>\n  <tr>\n   <td>\n    nickname\n   </td>\n   <td>\n    Name of the location\n   </td>\n  </tr>\n  <tr>\n   <td>\n    access_enabled\n   </td>\n   <td>\n    Integer value (0 or 1) indicating whether or not the account owner have given access to the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    access_token\n   </td>\n   <td>\n    Access token identifying the location\n   </td>\n  </tr>\n  <tr>\n   <td>\n    secret_token\n   </td>\n   <td>\n    Secret token used for authentication. The value is ‘null’ if API access has not been enabled by the account owner for that location\n   </td>\n  </tr>\n</table>\n\n<h2 id=\"example-response\">Example Response</h2>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\"status\": \"OK\",\n\"account_info\": {\n    \"account_uuid\": \"512C09CB-7DE4-4646-BF3D-37C9E1BB68A8\",\n    \"locations\": [\n        {\n            \"location_uuid\": \"49045C0A-8F62-4F4D-80F5-C53A01C75DD7\",\n            \"nickname\": \"Location 1\",\n            \"access_enabled\": 1,\n            \"access_token\": \"ACCESS-FA1FFF02-6C76-43DE-B503-C6489C0E3XXX\",\n            \"secret_token\": \"SECRET-4A9F53A0-F605-4025-A85E-F0205279DXXX\"\n        }}\n</code></pre>","urlObject":{"path":["get_account_info"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a1902c8c-3e77-45be-8c7f-d8ebeb22309c"},{"name":"11.  update_account_metadata","id":"ebe3e565-0c8e-41ff-8397-1ce6ecbdf694","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{account_secret_token}}","description":"<p>Account Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{account_access_token}}","description":"<p>Account Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"keyspace\": \"dashboard_view\",\n    \"metadata\": \"{ \\\"theme_name\\\": \\\"ATLANTIS\\\" }\"\n}"},"url":"{{base_url}}/update_account_metadata","description":"<h2 id=\"update_account_metadata\"><strong>update_account_metadata</strong></h2>\n<p>This endpoint can be used to store client-side data that is to be attached to the account. The metadata is a character string that can be saved and retrieved under a keyspace. \nThe maximum number of keyspaces is currently limited to 32.\nThe maximum length of each metadata string is currently limited to 5KB.\nAccount authorization tokens are needed for account related calls.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    update_account_metadata\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the account.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for account authentication. \n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    keyspace\n   </td>\n   <td>\n    String used to label the metadata\n   </td>\n  </tr>\n  <tr>\n   <td>\n    metadata\n   </td>\n   <td>\n    Arbitrary string of characters\n   </td>\n  </tr>\n</table>\n**Result**\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INVALID_PARAMETER_ERROR”\n    “ACCOUNT_METADATA_CREATION_ERROR”\n    “ACCOUNT_METADATA_UPDATE_ERROR”\n    “TOO_MANY_METADATA_KEYSPACES_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_ACCOUNT_ERROR”\n    “INVALID_ACCOUNT_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n   </td>\n  </tr>\n</table>","urlObject":{"path":["update_account_metadata"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"3929a9db-bd81-4af7-8670-6ac94086d931","name":"Example - update_account_metadata","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{account_secret_token}}","description":"Account Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{account_access_token}}","description":"Account Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"keyspace\": \"dashboard_view\",\n    \"metadata\": \"{ \\\"theme_name\\\": \\\"ATLANTIS\\\" }\"\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/update_account_metadata"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 03:19:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"0c776997933eb60833b37beaf43814c8\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=VDQ2U2J1UVplTU5RS09nYXhrdDBOSEZmK3Fac1UveFE1NEJiVUtrQmtqSlBwWkVnVzRjblN1TVB2YWtCeEVESkNWbk5kb3dpWFBNWkZySUU5Z3E3MGc9PS0tTWJnK0NCL1A2aUU2TXZEMG5pWm8xdz09--44dbd68696257d3df96a3df86817822adfcded1b; path=/; HttpOnly"},{"key":"X-Request-Id","value":"b734b879-e34f-445e-80a4-5c95eaf37236"},{"key":"X-Runtime","value":"0.025591"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\"\n}"}],"_postman_id":"ebe3e565-0c8e-41ff-8397-1ce6ecbdf694"},{"name":"12  get_account_metadata","id":"22022c26-ff52-4e12-84df-18d8414346f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{account_secret_token}}","description":"<p>Account Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{account_access_token}}","description":"<p>Account Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"keyspace\": \"dashboard_view\"\n}"},"url":"{{base_url}}/get_account_metadata","description":"<h2 id=\"get_account_metadata\"><strong>get_account_metadata</strong></h2>\n<p>This endpoint can be used to retrieve client-side data that has been previously attached to the account under a specific keyspace.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_account_metadata\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the account.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for account authentication. \n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    keyspace\n   </td>\n   <td>\n    String identifying which metadata is to be retrieved\n   </td>\n  </tr>\n</table>\n\n<h2 id=\"result\">Result</h2>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INVALID_PARAMETER_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_ACCOUNT_ERROR”\n    “INVALID_ACCOUNT_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n   </td>\n  </tr>\n</table>\n","urlObject":{"path":["get_account_metadata"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c4f417c1-73c6-470e-868e-2445df6dd399","name":"Example - get_account_metadata","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{account_secret_token}}","description":"Account Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{account_access_token}}","description":"Account Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"keyspace\": \"dashboard_view\"\n}"},"url":"{{base_url}}/get_account_metadata"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 03:33:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"b80a5f8ab65c7c35060242aae650babd\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=d2VwdEVTaGxRZ3MxQWJ6M284Wlc0TlZzR2JFU3hHWGh3MkowVDlXeDcxQmh1Mklxamxkc3pkMjBmbVhNeGRpcjBoSXVPNkVxTHFDUHFhTDFUdHA3VVE9PS0tNENQY2IvaEVkd081eXY4bktSL1JPUT09--08f7f1fe7ff1fadbbe04799b1228c1971d1c7204; path=/; HttpOnly"},{"key":"X-Request-Id","value":"1973907c-611c-485e-995b-9c44d68bc2c1"},{"key":"X-Runtime","value":"0.007270"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"metadata\": \"{ \\\"theme_name\\\": \\\"ATLANTIS\\\" }\"\n}"}],"_postman_id":"22022c26-ff52-4e12-84df-18d8414346f1"},{"name":"13.  delete_account_metadata","id":"419057ce-90f0-436a-a42b-dc3a9f3b3bbd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{account_secret_token}}","description":"<p>Account Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{account_access_token}}","description":"<p>Account Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"keyspace\": \"dashboard_view\"\n}"},"url":"{{base_url}}/delete_account_metadata","description":"<h2 id=\"delete_account_metadata\"><strong>delete_account_metadata</strong></h2>\n<p>This endpoint can be used to retrieve client-side data that has been previously attached to the account under a specific keyspace.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_account_metadata\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the account.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for account authentication. \n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    keyspace\n   </td>\n   <td>\n    String identifying which metadata is to be deleted\n   </td>\n  </tr>\n</table>\n\n<h2 id=\"result\">Result</h2>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INVALID_PARAMETER_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_ACCOUNT_ERROR”\n    “INVALID_ACCOUNT_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n   </td>\n  </tr>\n</table>\n","urlObject":{"path":["delete_account_metadata"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"a7b094fa-65e9-4fba-b511-162282d09dd5","name":"Example - delete_account_metadata","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{account_secret_token}}","description":"Account Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{account_access_token}}","description":"Account Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"keyspace\": \"dashboard_view\"\n}"},"url":"{{base_url}}/delete_account_metadata"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 03:28:59 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"0c776997933eb60833b37beaf43814c8\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=ZzQwR2gyMnJKY0pFQ0RTTjgxbzlDVEF0ZndVOEZXU0VacG1aMndNZlJrWUJwV0dqQVc1bmp4Wk04Q1hUbkVUOS9mZDBQMUVyT0pwMGxJN3M5OHhCS0E9PS0tb3lxc2hmaHFRSkN1aytvektxTzV3dz09--da96c1a39c7ddb70133e06d1628b53ac9230bb55; path=/; HttpOnly"},{"key":"X-Request-Id","value":"c217ca46-c1c1-4180-8ea4-609557d093b0"},{"key":"X-Runtime","value":"0.022568"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\"\n}"}],"_postman_id":"419057ce-90f0-436a-a42b-dc3a9f3b3bbd"}],"id":"9c461849-2f23-47d9-9e00-0c7858ef8caf","description":"<p><strong>Sensor Account Credentials Required</strong></p>\n<p>The location and account level tokens can be retrieved by logging on to <a href=\"https://apollo-psq.bluefoxengage.com/login\">https://apollo-psq.bluefoxengage.com/login</a> with the user account credentials: Make sure to enable the API access at both the account level and location level.</p>\n<p>The access and secret token strings are formatted as follows:</p>\n<p>ACCESS-07DDA579-CE6B-418C-927F-8D2B9A56A91C<br />SECRET-2946727A-E8DB-4A79-B598-7F28A2D3182B</p>\n","_postman_id":"9c461849-2f23-47d9-9e00-0c7858ef8caf"},{"name":"Sensor Location API Calls","item":[{"name":"Real Time Visitor","item":[{"name":"Now","item":[{"name":"3.  get_location_info","id":"575b43d3-600f-4422-ba0a-e32b843053d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_info","description":"<h2 id=\"get_location_info\"><strong>get_location_info</strong></h2>\n<p>This endpoint returns basic information about a location identified by its access token.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_info\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n   </td>\n   <td>\n    There are currently no required parameters. Set the JSON request body as an empty hash (i.e. {} )\n   </td>\n  </tr>\n</table>\n\n\n<p><strong>Result:</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\nRequest status, possible values are:\n“OK”\n“TOKEN_AUTHENTICATION_ERROR”\n“INACTIVE_API_ACCESS_ERROR”\n“API_ACCESS_DISABLED”\n“INACTIVE_LOCATION_ERROR”\n“INVALID_LOCATION_ERROR”\n“JSON_PARSE_ERROR”\n“HEADER_ERROR”\n   </td>\n  </tr>\n  <tr>\n   <td>\n    location_info\n   </td>\n   <td>\n    Hash structure holding the information fields about the location\n   </td>\n  </tr>\n  <tr>\n   <td>\n    location_uuid\n   </td>\n   <td>\n    Unique ID of the location\n   </td>\n  </tr>\n  <tr>\n   <td>\n    nickname\n   </td>\n   <td>\n    Name of the location\n   </td>\n  </tr>\n  <tr>\n   <td>\n    timezone_name\n   </td>\n   <td>\n    Name of the time zone\n   </td>\n  </tr>\n  <tr>\n   <td>\n    occupancy_count_flooring_enabled\n   </td>\n   <td>\n    Integer value (0 or 1) indicating whether or not the location is set to use the count adjustment mechanism called ‘flooring compensation’. When enabled, this feature can help reduce the effect of a constant count offset (see floor_occupancy_count)\n   </td>\n  </tr>\n  <tr>\n   <td>\n    floor_occupancy_count\n   </td>\n   <td>\n    Integer value representing the constant count offset to remove (if any). It is only applicable if occupancy_count_flooring_enabled is set to 1 and can be used to offset devices in the count which are always detected.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    max_occupancy_count\n   </td>\n   <td>\n    Maximum occupancy threshold defined for that location\n   </td>\n  </tr>\n  <tr>\n   <td>\n    occupancy_count_alert_enabled\n   </td>\n   <td>\n    Integer value (0 or 1) indicating whether or not an occupancy count alert will be generated when the real-time occupancy count after flooring removal (if enabled) exceeds the set threshold\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_last_connected_at\n   </td>\n   <td>\n    Timestamp (in UTC) indicating when the associated sensor sent data to the server for the last time\n   </td>\n  </tr>\n  <tr>\n   <td>\n    subscription_valid_until\n   </td>\n   <td>\n    Timestamp (in UTC) indicating until when the sensor subscription is valid\n   </td>\n  </tr>\n</table>\n\n","urlObject":{"path":["get_location_info"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"df757707-791f-4a86-a6da-b3c105418ee8","name":"Example - get_location_info","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 02:55:36 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"f6cc56b1aefff17b469b4404bfd09d57\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=T3NDMXpnY3kzVi9OUmplK0YrT0Zmd2pCd0dla2M2OXhtVVBMcmFRUEYrWWVCeXdDd3U4Zi9BTk8xRkkwQ2FIOTdtR1o3WDNUZVhiK3JSS3lscElMV0E9PS0tMDVkNitjWUEyclhmcGJ5V3phZEVVQT09--4f7b63c2189715962b4284902110a3c7a2e176a7; path=/; HttpOnly"},{"key":"X-Request-Id","value":"e3ac6aa4-60f3-492f-8844-b3bf0bea61ac"},{"key":"X-Runtime","value":"0.022405"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"location_info\": {\n        \"location_uuid\": \"49045C0A-8F62-4F4D-80F5-C53A01C75DD7\",\n        \"nickname\": \"L4-Morpheus\",\n        \"timezone_name\": \"America/Los_Angeles\",\n        \"max_occupancy_count\": 20,\n        \"occupancy_count_flooring_enabled\": 0,\n        \"floor_occupancy_count\": 0,\n        \"occupancy_count_alert_enabled\": 1,\n        \"sensor_last_connected_at\": 1614480932,\n        \"subscription_valid_until\": 1872860937\n    }\n}"}],"_postman_id":"575b43d3-600f-4422-ba0a-e32b843053d7"},{"name":"21. get_location_core_realtime_snapshot","id":"a1d55bde-a825-475c-9a9c-cdf73dac3273","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_core_realtime_snapshot","description":"<h2 id=\"get_location_core_realtime_snapshot\"><strong>get_location_core_realtime_snapshot</strong></h2>\n<p>The <strong>get_location_core_realtime_snapshot</strong> endpoint is a convenience/performance endpoint that fetches into one call the combined result of these individual endpoints: \n<strong>get_location_info</strong>, \n<strong>get_location_realtime_occupancy_count</strong>, and \n<strong>get_location_metadata</strong>.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_core_realtime_snapshot\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    None\n   </td>\n   <td>\n    No required parameters. Set the JSON request body as an empty hash (i.e. {} )\n   </td>\n  </tr>\n  <tr>\n   <td>\n    metadata_info_array\n   </td>\n   <td>\n(Optional) Array of metadata_info elements identifying which metadata is to be retrieved. There is a limit on the number of metadata keyspaces that can be retrieved (currently up to 4)\n   </td>\n  </tr>\n  <tr>\n   <td>\n    metadata_info\n   </td>\n   <td>\n    Hash defining which keyspace is to be retrieved.\n   </td>\n  </tr>\n</table>\n\n<p><strong>JSON request examples:</strong></p>\n<p>{} (Empty Body)</p>\n<p><strong>JSON response example:</strong></p>\n<p>{    \"status\": \"OK\",\n\"location_core_realtime_snapshot\": \n{\"location_uuid\": \"0B1C9B2B-6364-453B-8809-8DB5613AD777\",\n\"nickname\": \"Lake\",\n\"timezone_name\": \"America/Los_Angeles\",\n\"max_occupancy_count\": 999,\n\"occupancy_count_flooring_enabled\": 0,\n\"floor_occupancy_count\": 0,\n\"occupancy_count_alert_enabled\": 0,\n\"subscription_valid_until\": 1910993490,\n\"sensor_last_connected_at\": 1609278990,\n\"occupancy_count\": 13,\n\"metadata_result_array\": []\n}}</p>\n<p><strong>JSON request example:</strong></p>\n<p>{\"metadata_info_array\": [{ \"keyspace\": \"mine\"} ]}</p>\n<p><strong>JSON response example:</strong>\n{\"location_uuid\": \"0B1C9B2B-6364-453B-8809-8DB5613AD777\",\n\"nickname\": \"Lake\",\n\"timezone_name\": \"America/Los_Angeles\",\n\"max_occupancy_count\": 999,\n\"occupancy_count_flooring_enabled\": 0,\n\"floor_occupancy_count\": 0,\n\"occupancy_count_alert_enabled\": 0,\n\"subscription_valid_until\": 1910993490,\n\"sensor_last_connected_at\": 1609278990,\n\"occupancy_count\": 13,\n\"metadata_result_array\": [{\"keyspace\": \"mine\", \"metadata\": \"theData\"}]\n}}</p>\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INVALID_PARAMETER_ERROR”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n    “SENSOR_SUBSCRIPTION_VALIDITY_ERROR”\n    “UNCALIBRATED_LOCATION_ERROR”\n    \"TOO_MANY_METADATA_KEYSPACES_ERROR\"\n   </td>\n  </tr>\n  <tr>\n   <td>\n    location_core_realtime_snapshot\n   </td>\n   <td>\n    Hash containing the attributes that form the snapshot\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>location_uuid\n</li>\n</ul>\n   </td>\n   <td>\n    Unique ID of the location\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>nickname\n</li>\n</ul>\n   </td>\n   <td>\n    Name of the location\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>timezone_name\n</li>\n</ul>\n   </td>\n   <td>\n    Name of the time zone\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>max_occupancy_count\n</li>\n</ul>\n   </td>\n   <td>\n    Maximum occupancy threshold defined for that location\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>occupancy_count_flooring_enabled\n</li>\n</ul>\n   </td>\n   <td>\n    Integer value (0 or 1) indicating whether or not the location is set to use the count adjustment mechanism called ‘flooring compensation’. When enabled, this feature can help reduce the effect of a constant count offset (see floor_occupancy_count)\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>floor_occupancy_count\n</li>\n</ul>\n   </td>\n   <td>\n    Integer value representing the constant count offset to remove (if any). It is only applicable if occupancy_count_flooring_enabled is set to 1 and can be used to offset devices in the count which are always detected.\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>occupancy_count_alert_enabled\n</li>\n</ul>\n   </td>\n   <td>\n    Integer value (0 or 1) indicating whether or not an occupancy count alert will be generated when the real-time occupancy count after flooring removal (if enabled) exceeds the set threshold\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>subscription_valid_until\n</li>\n</ul>\n   </td>\n   <td>\n    Timestamp (in UTC) indicating until when the sensor subscription is valid\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>sensor_last_connected_at\n</li>\n</ul>\n   </td>\n   <td>\n    Timestamp (in UTC) indicating when the associated sensor sent data to the server for the last time\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>occupancy_count\n</li>\n</ul>\n   </td>\n   <td>\n    Real-time occupancy count without flooring compensation\n   </td>\n  </tr>\n  <tr>\n   <td>\n<ul>\n\n<li>metadata_result_array\n</li>\n</ul>\n   </td>\n   <td>\n    Array of metadata result elements\n   </td>\n  </tr>\n  <tr>\n   <td>       metadata_result\n   </td>\n   <td>\n    Hash providing the metadata value corresponding to the specified keyspace\n   </td>\n  </tr>\n</table>\n\n\n","urlObject":{"path":["get_location_core_realtime_snapshot"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2aa7316a-20d1-4928-a1ff-da696e78dcad","name":"Example 2 - get_location_core_realtime_snapshot","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\"metadata_info_array\": [{ \"keyspace\": \"timeline_view\"} ]}"},"url":"{{base_url}}/get_location_core_realtime_snapshot"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 08:41:43 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"d6d2037a20ccb2ea7ab31da6cc4dfe5b\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=dzRET29SUHpVZThFV2JmaTlqMXdLTEsyU2liZkZhV0RaaE1KeGRxekZsTmFNMkUyRTkvUnZCd3pBMm0vUkh0OXM5NlN6cEdnR0R4b2g3b0VmSW9PZXc9PS0tcXRGM3JObG5NVGM3YU91TTllVEp0Zz09--4a31c204b61dcb5cc1ad7bc0f731c75a59d889ed; path=/; HttpOnly"},{"key":"X-Request-Id","value":"7da4f2d6-b907-48c6-abaa-57f0756cf888"},{"key":"X-Runtime","value":"0.018920"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"location_core_realtime_snapshot\": {\n        \"location_uuid\": \"49045C0A-8F62-4F4D-80F5-C53A01C75DD7\",\n        \"nickname\": \"L4-Morpheus\",\n        \"timezone_name\": \"America/Los_Angeles\",\n        \"max_occupancy_count\": 20,\n        \"occupancy_count_flooring_enabled\": 0,\n        \"floor_occupancy_count\": 0,\n        \"occupancy_count_alert_enabled\": 1,\n        \"subscription_valid_until\": 1872860937,\n        \"sensor_last_connected_at\": 1614501702,\n        \"occupancy_count\": 12,\n        \"metadata_result_array\": [\n            {\n                \"keyspace\": \"timeline_view\",\n                \"metadata\": \"{ \\\"start_time\\\": \\\"8:00AM\\\", \\\"stop_time\\\": \\\"6:00PM\\\", \\\"color\\\": \\\"blue\\\" }\"\n            }\n        ]\n    }\n}"},{"id":"6356fc40-9c08-4579-bdfe-aac36fa86566","name":"Example 1 - get_location_core_realtime_snapshot","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_core_realtime_snapshot"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 08:37:02 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"9666cf53db8a21f4047ce91c3bffee83\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=NmZ3ZHFmeHdMV1IrNlQ3L2pDaW1zUjdPQ0R6NEZNNHArNmo1cjl5RStzQ1UyMHpNbnNvQ3paN1I5NWZjYkk4QldBOEFWZUw1QmV2NHRWYUcrSnFHS0E9PS0tT0lWQXFxdU5BSWFkUVRpZ2ZtRTZNQT09--593ba5d783eb9c6b9a2787ded8975ec24e3b8cfb; path=/; HttpOnly"},{"key":"X-Request-Id","value":"eeff47f9-7f35-46d5-a0a4-8780bf4e8dd5"},{"key":"X-Runtime","value":"0.018667"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"location_core_realtime_snapshot\": {\n        \"location_uuid\": \"49045C0A-8F62-4F4D-80F5-C53A01C75DD7\",\n        \"nickname\": \"L4-Morpheus\",\n        \"timezone_name\": \"America/Los_Angeles\",\n        \"max_occupancy_count\": 20,\n        \"occupancy_count_flooring_enabled\": 0,\n        \"floor_occupancy_count\": 0,\n        \"occupancy_count_alert_enabled\": 1,\n        \"subscription_valid_until\": 1872860937,\n        \"sensor_last_connected_at\": 1614501417,\n        \"occupancy_count\": 11,\n        \"metadata_result_array\": []\n    }\n}"}],"_postman_id":"a1d55bde-a825-475c-9a9c-cdf73dac3273"},{"name":"22. get_location_core_realtime_snapshot_array","id":"1c62b000-d054-49d1-ae47-a38176d2ebfe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_core_realtime_snapshot_array","description":"<h2 id=\"get_location_core_realtime_snapshot_array\"><strong>get_location_core_realtime_snapshot_array</strong></h2>\n<p>The <strong>get_location_core_realtime_snapshot_array</strong> endpoint is a convenience/performance endpoint that fetches into one call the combined result of these individual endpoints:</p>\n<p>   <strong>get_location_info,</strong>\n   <strong>get_location_realtime_occupancy_count, and</strong>\n   <strong>Get_location_metadata.</strong></p>\n<p><em>Note: The request supports returning the data for as many as 16 locations corresponding to the location authorization tokens.</em></p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_core_realtime_snapshot_array\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    location_stipulation_array\n   </td>\n   <td>\n    Array of location_stipulation elements. The number of elements is limited (currently up to 16 locations can be fetched at once)\n   </td>\n  </tr>\n  <tr>\n   <td>\n    location_stipulation\n   </td>\n   <td>\n    Hash identifying the attributes of each location to be retrieved\n   </td>\n  </tr>\n  <tr>\n   <td>\n    access_token\n   </td>\n   <td>\n    String identifying the location\n   </td>\n  </tr>\n  <tr>\n   <td>\n    secret_token\n   </td>\n   <td>\n    String needed to authenticate the access right\n   </td>\n  </tr>\n  <tr>\n   <td>\n    metadata_info_array\n   </td>\n   <td>\n    (Optional) Array of metadata_info elements identifying which metadata is to be retrieved. There is a limit on the number of metadata keyspaces that can be retrieved (currently up to 4)\n   </td>\n  </tr>\n  <tr>\n   <td>\n    metadata_info\n   </td>\n   <td>\n    Hash defining which keyspace is to be retrieved.\n   </td>\n  </tr>\n</table>\n\n<p><strong>JSON request example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        { \"location_stipulation_array\":\n        [\n        { \"access_token\": \"ACCESS-8BC856C0-F767-461E-AEDE-498EEC3665A6\",\n        \"secret_token\": \"SECRET-03C13AED-66B5-48E5-BE3B-4EAE300F1398\",\n        \"metadata_info_array\": [\n        { \"keyspace\": \"my_custom_attributes\"\n        },\n        { ...\n        } ]\n        },\n        { …\n        } ]\n        }\n</code></pre><p><strong>JSON response example:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>        { \"status\":\n        \"OK\",\n        \"location_result_array\": [\n        { \"access_token\": \"ACCESS-8BC856C0-F767-461E-AEDE-498EEC3665A6\",\n        \"response\": { \"status\": \"OK\",\n        \"location_core_realtime_snapshot\": { \"location_uuid\": \"D650F753-1579-4816-83AF-A5E1B3744AFF\",\n        \"nickname\": \"Sunnyvale\",\n        \"timezone_name\": \"America/Denver\",\n        \"max_occupancy_count\": 5,\n        \"occupancy_count_flooring_enabled\": 1,\n        \"floor_occupancy_count\": 1,\n        \"occupancy_count_alert_enabled\": 1,\n        \"subscription_valid_until\": 1640386872,\n        \"sensor_last_connected_at\": 1608794790,\n        \"occupancy_count\": 0,\n        \"metadata_result_array\": [\n        { \"keyspace\": \"my_custom_attributes\",\n        \"metadata\": \"{ \\\"color\\\": \\\"blue\\\" }\"\n        },\n        { ...\n        } ]\n        } } },\n        { … \n        } ]\n        }\n</code></pre><p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INVALID_PARAMETER_ERROR”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n    “SENSOR_SUBSCRIPTION_VALIDITY_ERROR”\n    “UNCALIBRATED_LOCATION_ERROR”\n    \"TOO_MANY_METADATA_KEYSPACES_ERROR\"\n    \"TOO_MANY_LOCATIONS_ERROR\"\n   </td>\n  </tr>\n  <tr>\n   <td>\n    location_result_array\n   </td>\n   <td>\n    Array of location result elements\n   </td>\n  </tr>\n  <tr>\n   <td>\n    location_result\n   </td>\n   <td>Hash containing the “access_token” of the location for which the result is returned and provided in the “response” field. For details about the response, please refer to the <strong>get_location_core_realtime_snapshot</strong> endpoint (above)\n   </td>\n  </tr>\n</table>","urlObject":{"path":["get_location_core_realtime_snapshot_array"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1c62b000-d054-49d1-ae47-a38176d2ebfe"},{"name":"4. get_location_realtime_occupancy_count","id":"9b643763-0b15-4d82-9fdb-45810787f26f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_realtime_occupancy_count","description":"<h2 id=\"get_location_realtime_occupancy_count\"><strong>get_location_realtime_occupancy_count</strong></h2>\n<p>This endpoint returns the real-time occupancy count which is an estimation of the number of WIFI devices currently detected at the specified location. </p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_realtime_occupancy_count\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n   </td>\n   <td>\n    No required parameters. Set the JSON request body as an empty hash (i.e. {} )\n   </td>\n  </tr>\n</table>**Result**\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>status\n   </td>\n   <td>Request status, possible values are:<br />\"OK\"<br />\"TOKEN_AUTHENTICATION_ERROR\"<br />\"INACTIVE_API_ACCESS_ERROR\"<br />\"API_ACCESS_DISABLED\"<br />\"INACTIVE_LOCATION_ERROR\"<br />\"INVALID_LOCATION_ERROR\"<br />\"JSON_PARSE_ERROR\"<br />\"HEADER_ERROR\"<br />\"SENSOR_SUBSCRIPTION_VALIDITY_ERROR\"<br />\"UNCALIBRATED_LOCATION_ERROR\"<br />\n   </td>\n  </tr>\n<tr>\n   <td>\n    occupancy_count\n   </td>\n   <td>\n    Real-time occupancy count without flooring compensation\n   </td>\n  </tr>\n  <tr>\n   <td>\n    occupancy_count_flooring_enabled\n   </td>\n   <td>\n    Integer value (0 or 1) indicating whether or not the location is set to use the count adjustment mechanism called ‘flooring’. When enabled, this feature can help reduce the effect of a constant count offset (see floor_occupancy_count)\n   </td>\n  </tr>\n  <tr>\n   <td>\n    floor_occupancy_count\n   </td>\n   <td>\n    Integer value representing the constant count offset to remove (if any). It is only applicable if occupancy_count_flooring_enabled is set to 1 and can be used to offset devices in the count which are always detected.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_last_connected_at\n   </td>\n   <td>\n    Timestamp (in UTC) indicating when the associated sensor sent data to the server for the last time\n   </td>\n  </tr>\n</table>","urlObject":{"path":["get_location_realtime_occupancy_count"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"1ac2d304-106e-4464-8c94-1d2ef28e19fb","name":"Example - get_location_realtime_occupancy_count","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_realtime_occupancy_count"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 26 Feb 2021 03:32:44 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"0efa9975b183225765d2fc01c56abc5b\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"ab301de9-0a7e-48b1-a47a-dc4162a2cc8b"},{"key":"X-Runtime","value":"0.031764"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"occupancy_count\": 15,\n    \"occupancy_count_flooring_enabled\": 0,\n    \"floor_occupancy_count\": 0,\n    \"sensor_last_connected_at\": 1614310362\n}"}],"_postman_id":"9b643763-0b15-4d82-9fdb-45810787f26f"},{"name":"6. get_location_realtime_occupancy_load","id":"d119b241-b601-4e7f-9e34-2bfa7ba02bf8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_realtime_occupancy_load","description":"<p><strong>get_location_realtime_occupancy_load</strong></p>\n<p>This endpoint returns the real-time occupancy load at the specified location. The load is expressed as a string. Load determination is based by comparing the real-time occupancy count with the maximum allowed occupancy count accounting for flooring compensation if needed.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_realtime_occupancy_load\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n   </td>\n   <td>\n    No required parameters. Set the JSON request body as an empty hash (i.e. {} )\n   </td>\n  </tr>\n</table>\n\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n    “SENSOR_SUBSCRIPTION_VALIDITY_ERROR”\n    “UNCALIBRATED_LOCATION_ERROR”\n   </td>\n  </tr>\n  <tr>\n   <td>\n    occupancy_load\n   </td>\n   <td>\n    Real-time occupancy load determined by comparing the real-time occupancy count with the maximum allowed occupancy count for that location and accounting for flooring compensation if needed.\n    Possible values: “LOW” and “HIGH”\n   </td>\n  </tr>\n  <tr>\n   <td>\n    sensor_last_connected_at\n   </td>\n   <td>\n    Timestamp (in UTC) indicating when the associated sensor sent data to the server for the last time\n   </td>\n  </tr>\n</table>","urlObject":{"path":["get_location_realtime_occupancy_load"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"dc74b82b-043d-48fc-bd14-92c47a0550ba","name":"Example - get_location_realtime_occupancy_load","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_realtime_occupancy_load"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 27 Feb 2021 23:45:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"7edd48b50d3d121c81f854e01026a13e\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"9802ca12-cd9a-4390-b07c-b14a274a4921"},{"key":"X-Runtime","value":"0.021821"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"occupancy_load\": \"LOW\",\n    \"sensor_last_connected_at\": 1614469547\n}"}],"_postman_id":"d119b241-b601-4e7f-9e34-2bfa7ba02bf8"},{"name":"7. get_location_realtime_cumulative_count","id":"fbc6f370-63c0-4cd1-aa23-864a10f89fe4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_realtime_cumulative_count","urlObject":{"path":["get_location_realtime_cumulative_count"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"2ad02be5-7f65-4535-8708-aa0d5b40565b","name":"Example - get_location_realtime_cumulative_count","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_realtime_cumulative_count"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 00:12:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"ae99438c41c5dbc12d2cfad1812cdd69\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"a90d7eb0-b29f-43b8-8280-25c506b97f3d"},{"key":"X-Runtime","value":"0.020454"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"cumulative_count\": 565588,\n    \"sensor_last_connected_at\": 1614471167\n}"}],"_postman_id":"fbc6f370-63c0-4cd1-aa23-864a10f89fe4"}],"id":"e6256401-d448-415f-9a12-c4610218ac8f","_postman_id":"e6256401-d448-415f-9a12-c4610218ac8f","description":""},{"name":"Occupancy History","item":[{"name":"5. get_location_historical_occupancy_counts","id":"2274a278-a8e3-47ab-9b8b-ccc60c606f1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\"day_span\": 0}"},"url":"{{base_url}}/get_location_historical_occupancy_counts","description":"<h1 id=\"get_location_historical_occupancy_counts\"><strong>get_location_historical_occupancy_counts</strong></h1>\n<p>This endpoint returns the last historical values of the occupancy count aggregated by time intervals (slots). A parameter (<strong>day_span</strong>) sets the scope of the request. Time slots are typically 15 minutes long.</p>\n<table>\n  <tr>\n   <td>\nRequest\n   </td>\n   <td>\nDescription\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_historical_occupancy_counts\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication.\n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    day_span\n   </td>\n   <td>\nInteger representing the number of full days for which to retrieve historical data since current time.\n    For the value 0, time slots from the beginning of the current (i.e. midnight interpreted in the location’s time zone) to current time are returned.\n    For other values (e.g. 1, 2, 7), it adds 1, 2 and 7 full days of data respectively.\n   </td>\n  </tr>\n</table>\n\n<h1 id=\"results\">Results</h1>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n    “SENSOR_SUBSCRIPTION_VALIDITY_ERROR”\n    “UNCALIBRATED_LOCATION_ERROR”\n   </td>\n  </tr>\n  <tr>\n   <td>\n    occupancy_count_flooring_enabled\n   </td>\n   <td>\n    Integer value (0 or 1) indicating whether or not the location is set to use the count adjustment mechanism called ‘flooring’. When enabled, this feature can help reduce the effect of a constant count offset (see floor_occupancy_count)\n   </td>\n  </tr>\n  <tr>\n   <td>\n    floor_occupancy_count\n   </td>\n   <td>\n    Integer value representing the constant count offset to remove (if any). It is only applicable if occupancy_count_flooring_enabled is set to 1 and can be used to offset devices in the count which are always detected.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    occupancy_count_slots\n   </td>\n   <td>\n    Array structure holding the historical time slots.\n    Note: the array may contain time gaps.\n    Each time slot is represented by an array of four values defined as follows:\n      [\n        &lt;start_timestamp&gt;,\n        &lt;stop_timestamp&gt;,\n        &lt;low_occupancy_count&gt;,\n        &lt;high_occupancy_count&gt;\n      ]\n    Low and high occupancy count values are values without flooring compensation applied.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    actual_day_span\n   </td>\n   <td>\n    Integer value corresponding to the actual day span being retrieved. The maximum day_span is limited based on account types and subscription levels.\n   </td>\n  </tr>\n</table>\n","urlObject":{"path":["get_location_historical_occupancy_counts"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4b87e552-890f-4419-993f-5c8f34bf2f59","name":"Example - get_location_historical_occupancy_counts","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\"day_span\": 0}"},"url":"{{base_url}}/get_location_historical_occupancy_counts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 27 Feb 2021 23:50:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"5ca16c4ad9ce1dc15b7a5d776a8761c5\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"82ebfea1-bd8e-4cdb-8322-d580738a9eab"},{"key":"X-Runtime","value":"0.023743"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"occupancy_count_flooring_enabled\": 0,\n    \"floor_occupancy_count\": 0,\n    \"occupancy_count_slots\": [\n        [\n            1614412800,\n            1614413699,\n            10,\n            14\n        ],\n        [\n            1614413700,\n            1614414599,\n            10,\n            14\n        ],\n        [\n            1614414600,\n            1614415499,\n            8,\n            13\n        ],\n        [\n            1614415500,\n            1614416399,\n            9,\n            13\n        ],\n        [\n            1614416400,\n            1614417299,\n            8,\n            14\n        ],\n        [\n            1614417300,\n            1614418199,\n            8,\n            16\n        ],\n        [\n            1614418200,\n            1614419099,\n            9,\n            15\n        ],\n        [\n            1614419100,\n            1614419999,\n            12,\n            15\n        ],\n        [\n            1614420000,\n            1614420899,\n            9,\n            14\n        ],\n        [\n            1614420900,\n            1614421799,\n            10,\n            14\n        ],\n        [\n            1614421800,\n            1614422699,\n            12,\n            14\n        ],\n        [\n            1614422700,\n            1614423599,\n            11,\n            17\n        ],\n        [\n            1614423600,\n            1614424499,\n            8,\n            13\n        ],\n        [\n            1614424500,\n            1614425399,\n            10,\n            12\n        ],\n        [\n            1614425400,\n            1614426299,\n            8,\n            12\n        ],\n        [\n            1614426300,\n            1614427199,\n            7,\n            11\n        ],\n        [\n            1614427200,\n            1614428099,\n            7,\n            12\n        ],\n        [\n            1614428100,\n            1614428999,\n            9,\n            12\n        ],\n        [\n            1614429000,\n            1614429899,\n            9,\n            15\n        ],\n        [\n            1614429900,\n            1614430799,\n            8,\n            15\n        ],\n        [\n            1614430800,\n            1614431699,\n            8,\n            14\n        ],\n        [\n            1614431700,\n            1614432599,\n            10,\n            13\n        ],\n        [\n            1614432600,\n            1614433499,\n            11,\n            14\n        ],\n        [\n            1614433500,\n            1614434399,\n            9,\n            14\n        ],\n        [\n            1614434400,\n            1614435299,\n            10,\n            13\n        ],\n        [\n            1614435300,\n            1614436199,\n            11,\n            14\n        ],\n        [\n            1614436200,\n            1614437099,\n            12,\n            16\n        ],\n        [\n            1614437100,\n            1614437999,\n            10,\n            14\n        ],\n        [\n            1614438000,\n            1614438899,\n            11,\n            15\n        ],\n        [\n            1614438900,\n            1614439799,\n            11,\n            16\n        ],\n        [\n            1614439800,\n            1614440699,\n            9,\n            13\n        ],\n        [\n            1614440700,\n            1614441599,\n            11,\n            15\n        ],\n        [\n            1614441600,\n            1614442499,\n            12,\n            17\n        ],\n        [\n            1614442500,\n            1614443399,\n            10,\n            14\n        ],\n        [\n            1614443400,\n            1614444299,\n            12,\n            19\n        ],\n        [\n            1614444300,\n            1614445199,\n            12,\n            18\n        ],\n        [\n            1614445200,\n            1614446099,\n            15,\n            21\n        ],\n        [\n            1614446100,\n            1614446999,\n            9,\n            17\n        ],\n        [\n            1614447000,\n            1614447899,\n            10,\n            13\n        ],\n        [\n            1614447900,\n            1614448799,\n            11,\n            15\n        ],\n        [\n            1614448800,\n            1614449699,\n            11,\n            16\n        ],\n        [\n            1614449700,\n            1614450599,\n            11,\n            17\n        ],\n        [\n            1614450600,\n            1614451499,\n            9,\n            16\n        ],\n        [\n            1614451500,\n            1614452399,\n            11,\n            15\n        ],\n        [\n            1614452400,\n            1614453299,\n            10,\n            15\n        ],\n        [\n            1614453300,\n            1614454199,\n            12,\n            16\n        ],\n        [\n            1614454200,\n            1614455099,\n            12,\n            17\n        ],\n        [\n            1614455100,\n            1614455999,\n            12,\n            15\n        ],\n        [\n            1614456000,\n            1614456899,\n            10,\n            14\n        ],\n        [\n            1614456900,\n            1614457799,\n            10,\n            13\n        ],\n        [\n            1614457800,\n            1614458699,\n            9,\n            13\n        ],\n        [\n            1614458700,\n            1614459599,\n            10,\n            15\n        ],\n        [\n            1614459600,\n            1614460499,\n            7,\n            12\n        ],\n        [\n            1614460500,\n            1614461399,\n            6,\n            11\n        ],\n        [\n            1614461400,\n            1614462299,\n            8,\n            12\n        ],\n        [\n            1614462300,\n            1614463199,\n            7,\n            10\n        ],\n        [\n            1614463200,\n            1614464099,\n            7,\n            16\n        ],\n        [\n            1614464100,\n            1614464999,\n            8,\n            12\n        ],\n        [\n            1614465000,\n            1614465899,\n            8,\n            13\n        ],\n        [\n            1614465900,\n            1614466799,\n            7,\n            11\n        ],\n        [\n            1614466800,\n            1614467699,\n            9,\n            13\n        ],\n        [\n            1614467700,\n            1614468599,\n            9,\n            16\n        ],\n        [\n            1614468600,\n            1614469499,\n            13,\n            18\n        ],\n        [\n            1614469500,\n            1614470399,\n            12,\n            13\n        ]\n    ],\n    \"actual_day_span\": 0\n}"}],"_postman_id":"2274a278-a8e3-47ab-9b8b-ccc60c606f1c"}],"id":"966ce0d5-0e98-4f26-b9fa-8d3f9b3375b0","_postman_id":"966ce0d5-0e98-4f26-b9fa-8d3f9b3375b0","description":""},{"name":"Settings","item":[{"name":"9.  update_location_max_occupancy_count","id":"1d31dd54-7d16-4667-b964-db914fcb811a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/update_location_max_occupancy_count","description":"<h1 id=\"update_location_max_occupancy_count\">update_location_max_occupancy_count</h1>\n<p>This endpoint can be used to change the maximum occupancy count threshold of the location. When the location’s real-time occupancy count exceeds that new threshold, an alert may be triggered. That new threshold value is also used to determine the occupancy load.</p>\n<table>\n  <tr>\n   <td>\nRequest\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    update_location_max_occupancy_count\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    max_occupancy_count\n   </td>\n   <td>\n    Integer value representing the new maximum occupancy count threshold to be used for that location. \n   </td>\n  </tr>\n</table>\n\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>status\n   </td>\n   <td>Request status, possible values are:<br />\"OK\"<br />\"TOKEN_AUTHENTICATION_ERROR\"<br />\"INACTIVE_API_ACCESS_ERROR\"<br />\"API_ACCESS_DISABLED\"<br />\"INACTIVE_LOCATION_ERROR\"<br />\"INVALID_LOCATION_ERROR\"<br />\"JSON_PARSE_ERROR\"<br />\"HEADER_ERROR\"<br />\"SENSOR_SUBSCRIPTION_VALIDITY_ERROR\"<br />\"UNCALIBRATED_LOCATION_ERROR\"<br />\n   </td>\n  </tr>\n</table>\n\n","urlObject":{"path":["update_location_max_occupancy_count"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"7fc80871-5008-41a3-8688-7ba4bfc44e62","name":"Example - update_location_max_occupancy_count","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\"max_occupancy_count\": 20}"},"url":"{{base_url}}/update_location_max_occupancy_count"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 01:21:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"0c776997933eb60833b37beaf43814c8\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"bf8b120b-b43a-4b65-9248-7f42bb195b59"},{"key":"X-Runtime","value":"0.068753"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\"\n}"}],"_postman_id":"1d31dd54-7d16-4667-b964-db914fcb811a"}],"id":"91bf64cb-6323-4873-8650-e296a1573a7d","_postman_id":"91bf64cb-6323-4873-8650-e296a1573a7d","description":""}],"id":"f7deda7f-23c9-4b17-a2cd-02549728ad7e","_postman_id":"f7deda7f-23c9-4b17-a2cd-02549728ad7e","description":""},{"name":"Historical Visits","item":[{"name":"8 . get_location_historical_cumulative_counts","id":"d7b361da-9d76-4d82-bbae-15231bd3f6b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\"day_span\": 0}"},"url":"{{base_url}}/get_location_historical_cumulative_counts","description":"<h1 id=\"get_location_historical_cumulative_counts\"><strong>get_location_historical_cumulative_counts</strong></h1>\n<p>This endpoint returns the last historical values of the occupancy count aggregated by time intervals (slots). A parameter (<strong>day_span</strong>) sets the scope of the request. Time slots are typically 15 minutes long.</p>\n<table>\n  <tr>\n   <td>\nRequest\n   </td>\n   <td>\nDescription\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_historical_cumulative_counts\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication.\n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    day_span\n   </td>\n   <td>\nInteger representing the number of full days for which to retrieve historical data since current time.\n    For the value 0, time slots from the beginning of the current (i.e. midnight interpreted in the location’s time zone) to current time are returned.\n    For other values (e.g. 1, 2, 7), it adds 1, 2 and 7 full days of data respectively.\n   </td>\n  </tr>\n</table>\n\n<h1 id=\"results\">Results</h1>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n   </td>\n  </tr>\n <tr>\n   <td>\n    cumulative_count_slots\n   </td>\n   <td>\n    Array structure holding the historical time slots. \n    Note: the array may contain time gaps. \n    Each time slot is represented by an array of four values defined as follows:\n[\n        start_timestamp&gt;, \n        stop_timestamp&gt;, \n        initial_cumulative_count&gt;,\n        final_cumulative_count&gt;\n]\n   </td>\n  </tr>\n  <tr>\n   <td>\n    actual_day_span\n   </td>\n   <td>\n    Integer value corresponding to the actual day span being retrieved. The maximum day_span is limited based on account types and subscription levels.\n   </td>\n  </tr>\n</table>\n","urlObject":{"path":["get_location_historical_cumulative_counts"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"df69e3b6-1166-45a7-97bb-1575a0e7ed46","name":"Example - get_location_historical_cumulative_counts","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\"day_span\": 0}"},"url":"{{base_url}}/get_location_historical_cumulative_counts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 05:09:00 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"2d539bb4f8be89c8b8239bb6b8ede78a\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=dzVoWGZzeVpSNE9hV0xhQ3hIWDFWNm5YSDF6TmlUT2h1Vm9wWDRCazV0Z0RsYUNnWHBQdjByQXZmUUpLamJKazJScVpBVzZuNS94RkxXR3FPY093Y1E9PS0tYlRELzRoUHNyVS82SjFjS1BXWkpjQT09--0a94f00b4095bef93c751e738ef2876fa3de963e; path=/; HttpOnly"},{"key":"X-Request-Id","value":"3b678847-709a-481c-99d1-f7ae556b889d"},{"key":"X-Runtime","value":"0.023515"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"cumulative_count_slots\": [\n        [\n            1614412800,\n            1614413699,\n            564827,\n            564837\n        ],\n        [\n            1614413700,\n            1614414599,\n            564837,\n            564847\n        ],\n        [\n            1614414600,\n            1614415499,\n            564847,\n            564854\n        ],\n        [\n            1614415500,\n            1614416399,\n            564854,\n            564862\n        ],\n        [\n            1614416400,\n            1614417299,\n            564862,\n            564871\n        ],\n        [\n            1614417300,\n            1614418199,\n            564871,\n            564882\n        ],\n        [\n            1614418200,\n            1614419099,\n            564882,\n            564890\n        ],\n        [\n            1614419100,\n            1614419999,\n            564890,\n            564902\n        ],\n        [\n            1614420000,\n            1614420899,\n            564902,\n            564911\n        ],\n        [\n            1614420900,\n            1614421799,\n            564911,\n            564920\n        ],\n        [\n            1614421800,\n            1614422699,\n            564920,\n            564928\n        ],\n        [\n            1614422700,\n            1614423599,\n            564928,\n            564942\n        ],\n        [\n            1614423600,\n            1614424499,\n            564942,\n            564947\n        ],\n        [\n            1614424500,\n            1614425399,\n            564947,\n            564956\n        ],\n        [\n            1614425400,\n            1614426299,\n            564956,\n            564963\n        ],\n        [\n            1614426300,\n            1614427199,\n            564963,\n            564974\n        ],\n        [\n            1614427200,\n            1614428099,\n            564974,\n            564980\n        ],\n        [\n            1614428100,\n            1614428999,\n            564980,\n            564988\n        ],\n        [\n            1614429000,\n            1614429899,\n            564988,\n            565002\n        ],\n        [\n            1614429900,\n            1614430799,\n            565002,\n            565014\n        ],\n        [\n            1614430800,\n            1614431699,\n            565014,\n            565022\n        ],\n        [\n            1614431700,\n            1614432599,\n            565022,\n            565033\n        ],\n        [\n            1614432600,\n            1614433499,\n            565033,\n            565045\n        ],\n        [\n            1614433500,\n            1614434399,\n            565045,\n            565058\n        ],\n        [\n            1614434400,\n            1614435299,\n            565058,\n            565064\n        ],\n        [\n            1614435300,\n            1614436199,\n            565064,\n            565072\n        ],\n        [\n            1614436200,\n            1614437099,\n            565072,\n            565087\n        ],\n        [\n            1614437100,\n            1614437999,\n            565087,\n            565095\n        ],\n        [\n            1614438000,\n            1614438899,\n            565095,\n            565110\n        ],\n        [\n            1614438900,\n            1614439799,\n            565110,\n            565122\n        ],\n        [\n            1614439800,\n            1614440699,\n            565122,\n            565133\n        ],\n        [\n            1614440700,\n            1614441599,\n            565133,\n            565144\n        ],\n        [\n            1614441600,\n            1614442499,\n            565144,\n            565162\n        ],\n        [\n            1614442500,\n            1614443399,\n            565162,\n            565172\n        ],\n        [\n            1614443400,\n            1614444299,\n            565172,\n            565189\n        ],\n        [\n            1614444300,\n            1614445199,\n            565189,\n            565208\n        ],\n        [\n            1614445200,\n            1614446099,\n            565208,\n            565227\n        ],\n        [\n            1614446100,\n            1614446999,\n            565227,\n            565240\n        ],\n        [\n            1614447000,\n            1614447899,\n            565240,\n            565251\n        ],\n        [\n            1614447900,\n            1614448799,\n            565251,\n            565265\n        ],\n        [\n            1614448800,\n            1614449699,\n            565265,\n            565280\n        ],\n        [\n            1614449700,\n            1614450599,\n            565280,\n            565296\n        ],\n        [\n            1614450600,\n            1614451499,\n            565296,\n            565307\n        ],\n        [\n            1614451500,\n            1614452399,\n            565307,\n            565324\n        ],\n        [\n            1614452400,\n            1614453299,\n            565324,\n            565339\n        ],\n        [\n            1614453300,\n            1614454199,\n            565339,\n            565355\n        ],\n        [\n            1614454200,\n            1614455099,\n            565355,\n            565369\n        ],\n        [\n            1614455100,\n            1614455999,\n            565369,\n            565384\n        ],\n        [\n            1614456000,\n            1614456899,\n            565384,\n            565396\n        ],\n        [\n            1614456900,\n            1614457799,\n            565396,\n            565409\n        ],\n        [\n            1614457800,\n            1614458699,\n            565409,\n            565423\n        ],\n        [\n            1614458700,\n            1614459599,\n            565423,\n            565435\n        ],\n        [\n            1614459600,\n            1614460499,\n            565435,\n            565446\n        ],\n        [\n            1614460500,\n            1614461399,\n            565446,\n            565455\n        ],\n        [\n            1614461400,\n            1614462299,\n            565455,\n            565468\n        ],\n        [\n            1614462300,\n            1614463199,\n            565468,\n            565478\n        ],\n        [\n            1614463200,\n            1614464099,\n            565478,\n            565495\n        ],\n        [\n            1614464100,\n            1614464999,\n            565495,\n            565508\n        ],\n        [\n            1614465000,\n            1614465899,\n            565508,\n            565515\n        ],\n        [\n            1614465900,\n            1614466799,\n            565515,\n            565525\n        ],\n        [\n            1614466800,\n            1614467699,\n            565525,\n            565537\n        ],\n        [\n            1614467700,\n            1614468599,\n            565537,\n            565554\n        ],\n        [\n            1614468600,\n            1614469499,\n            565554,\n            565567\n        ],\n        [\n            1614469500,\n            1614470399,\n            565567,\n            565578\n        ],\n        [\n            1614470400,\n            1614471299,\n            565578,\n            565590\n        ],\n        [\n            1614471300,\n            1614472199,\n            565590,\n            565598\n        ],\n        [\n            1614472200,\n            1614473099,\n            565598,\n            565607\n        ],\n        [\n            1614473100,\n            1614473999,\n            565607,\n            565617\n        ],\n        [\n            1614474000,\n            1614474899,\n            565617,\n            565626\n        ],\n        [\n            1614474900,\n            1614475799,\n            565626,\n            565638\n        ],\n        [\n            1614475800,\n            1614476699,\n            565638,\n            565652\n        ],\n        [\n            1614476700,\n            1614477599,\n            565652,\n            565663\n        ],\n        [\n            1614477600,\n            1614478499,\n            565663,\n            565680\n        ],\n        [\n            1614478500,\n            1614479399,\n            565680,\n            565691\n        ],\n        [\n            1614479400,\n            1614480299,\n            565691,\n            565708\n        ],\n        [\n            1614480300,\n            1614481199,\n            565708,\n            565726\n        ],\n        [\n            1614481200,\n            1614482099,\n            565726,\n            565737\n        ],\n        [\n            1614482100,\n            1614482999,\n            565737,\n            565745\n        ],\n        [\n            1614483000,\n            1614483899,\n            565745,\n            565758\n        ],\n        [\n            1614483900,\n            1614484799,\n            565758,\n            565772\n        ],\n        [\n            1614484800,\n            1614485699,\n            565772,\n            565789\n        ],\n        [\n            1614485700,\n            1614486599,\n            565789,\n            565799\n        ],\n        [\n            1614486600,\n            1614487499,\n            565799,\n            565814\n        ],\n        [\n            1614487500,\n            1614488399,\n            565814,\n            565830\n        ],\n        [\n            1614488400,\n            1614489299,\n            565830,\n            565836\n        ]\n    ],\n    \"actual_day_span\": 0\n}"}],"_postman_id":"d7b361da-9d76-4d82-bbae-15231bd3f6b5"},{"name":"10. get_location_historical_cumulative_count_difference","id":"f5958107-3de3-47a3-aed0-1718cea95a8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\"start_timestamp\": 1612166400,\n\"stop_timestamp\": 1614585599}"},"url":"{{base_url}}/get_location_historical_cumulative_count_difference","description":"<h2 id=\"get_location_historical_cumulative_count_difference\"><strong>get_location_historical_cumulative_count_difference</strong></h2>\n<p>This endpoint returns the number of visits seen between two dates detected at the specified location. The best granularity we have is 15 minutes for historical data. If a smaller interval is called then the endpoint will return a distribution based on the 15 minute interval. For example, if the endpoint is asked to return 15 consecutive 1 minute intervals each minute will not reflect that minutes count but the average for the 15 minute interval. </p>\n<p>A Real-Time endpoint (<strong>Get_Location_Realtime_Cumulative_Count</strong>) must be called to return the cumulative value for the smaller time slice. The difference is then achieved by subtracting the prior cumulative value for the time interval. For example, at 7:00 the call returns 1234 and at 7:01 it is 1237. The number of visits between 7:00 and 7:01 is 1237 - 1234 = 3.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_historical_cumulative_count_difference\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n\n\n\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    start_timestamp\n   </td>\n   <td>\n    Timestamp (in UTC) indicating the beginning of the period\n   </td>\n  </tr>\n  <tr>\n   <td>\n    stop_timestamp\n   </td>\n   <td>\n    Timestamp (in UTC) indicating the end of the period\n   </td>\n  </tr>\n</table>\n\n<h2 id=\"result\">Result</h2>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n    “SENSOR_SUBSCRIPTION_VALIDITY_ERROR”\n    “UNCALIBRATED_LOCATION_ERROR”\n   </td>\n  </tr>\n  <tr>\n   <td>\n    cumulative_count_difference\n   </td>\n   <td>\n    The number of total visits observed at the location during the indicated period. Note: <em>A single visitor may contribute to one or more visits.</em> \n   </td>\n  </tr>\n</table>","urlObject":{"path":["get_location_historical_cumulative_count_difference"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"66919f74-580b-4aa5-8a9b-5a02a794dc8a","name":"10. get_location_historical_cumulative_count_difference","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\"start_timestamp\": 1612166400,\n\"stop_timestamp\": 1614585599}"},"url":"{{base_url}}/get_location_historical_cumulative_count_difference"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 05:06:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"e2ab44f4ca0b1efab66293ea0dd7a0cd\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=OTFGSmdnbGZtT3daNzBzSnBodTVDR0I1dUhNRFJJUkF5Y3NlWHVaS2N1Q3BkZ3cvYXJRTDY5Y2J6S21LRHNWUEptVFdlV05Lb004YjNieDh4ZmtScnc9PS0tc2RnMUFrQkVOK054anVQa1g2RU5OQT09--6c103a2ac0d6ebee0ef073500b61ef7502e864d7; path=/; HttpOnly"},{"key":"X-Request-Id","value":"37fec30b-a7f0-444b-a165-a6fff7ed5877"},{"key":"X-Runtime","value":"0.148454"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"cumulative_count_difference\": 28026\n}"}],"_postman_id":"f5958107-3de3-47a3-aed0-1718cea95a8a"},{"name":"17. get_location_historical_aggregated_ending_visit_count_between_epochs","id":"5ffd55a2-4005-4b65-852b-790e045e31df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"start_timestamp\": 1614240000,\n\"stop_timestamp\": 1614412799,\n\"aggregation_method\":\"DAY\",\n\"aggregation_parameters\": \n{ \n\"aggregation_start_time\":\"08:00\",\n\"aggregation_stop_time\":\"21:00\"\n}\n}"},"url":"{{base_url}}/get_location_historical_aggregated_ending_visit_count_between_epochs","description":"<h2 id=\"get_location_historical_aggregated_ending_visit_count_between_epochs\"><strong>get_location_historical_aggregated_ending_visit_count_between_epochs</strong></h2>\n<p>This endpoint is used to retrieve the number of ending visits (or closed visits) aggregated over a specific timespan and a specific aggregation period. It provides visit count information for a given location that has occurred within the sensor’s inner zone as well as within the sensor’s outer zone.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\nget_location_historical_aggregated_ending_visit_count_between_epochs\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    start_timestamp\n   </td>\n   <td>\n    Start timestamp of the desired timespan \n   </td>\n  </tr>\n  <tr>\n   <td>\n    stop_timestamp\n   </td>\n   <td>\n    Stop timestamp of the desired timespan minus one second\n   </td>\n  </tr>\n  <tr>\n   <td>\n    aggregation_method\n   </td>\n   <td>\n    Method to use. The values ‘DAY’ and ‘DURATION’ are currently supported.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    aggregation_parameters\n   </td>\n   <td>\n    The parameters that are required for chosen aggregation method expressed as a JSON Hash\n\n<p>In the case of a ‘DURATION’ aggregation_method, the hash must provide the field ‘aggregation_duration’. It is an Integer field representing the duration expressed in seconds. It must be a multiple of  900  (i.e. multiple of 15 minutes). </p>\n<p>Example: { “aggregation_duration”: 3600 }</p>\n<p>In the case of a ‘DAY’ aggregation_method, the hash must provide the fields ‘aggregation_start_time’ and aggregation_stop_time‘ which are used to specify a restricted scope within the day (e.g. opening hours, morning hours). The valid format is “HH:MM” were HH can range from 00 to 24 and were MM can be 00, 15, 30 or 45.</p>\n<p>Example: { “‘aggregation_start_time’ ”: “08:00”, “aggregation_stop_time: “21:00”  }\n   </p></td>\n  </tr><p></p>\n</table>\n\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INVALID_PARAMETER_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n    “INVALID_AGGREGATION_METHOD_ERROR”\n    “SENSOR_SUBSCRIPTION_VALIDITY_ERROR”\n    “UNCALIBRATED_LOCATION_ERROR”\n    “INVALID_TIMESTAMP_RANGE_ERROR”\n    “INVALID_AGGREGATION_DURATION_ERROR”\n    “INVALID_START_TIMESTAMP_ERROR”\n    “INVALID_STOP_TIMESTAMP_ERROR”\n   </td>\n  </tr>\n  <tr>\n   <td>\n    start_timestamp\n   </td>\n   <td>\n    Same value that was passed in the request\n   </td>\n  </tr>\n  <tr>\n   <td>\n    stop_timestamp\n   </td>\n   <td>\n    Same value that was passed in the request\n   </td>\n  </tr>\n  <tr>\n   <td>\n    aggregated_ending_visit_count_slots\n   </td>\n   <td>\n    An array of aggregated slots where each slot contains the following elements:\n    The start timestamp of the slot\n    The stop timestamp of the slot\n    The number of seconds for which the system received sensor data during that period\n    The number of visits ending within the slot period that entered the inner zone\n    The number of visits ending within the slot period that entered the outer zone\n    The window conversion ratio (in percent) computed as the inner count value (element #4) divided by the outer count value (element #5)\n   </td>\n  </tr>\n</table>","urlObject":{"path":["get_location_historical_aggregated_ending_visit_count_between_epochs"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"8846af42-4818-4e4d-80c4-304ed332f568","name":"Example Duration Aggregation - get_location_historical_aggregated_ending_visit_count_between_epochs","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"start_timestamp\": 1614326400,\n\"stop_timestamp\": 1614412799,\n\"aggregation_method\": \"DURATION\",\n   \"aggregation_parameters\": { \"aggregation_duration\": 900 }\n}"},"url":"{{base_url}}/get_location_historical_aggregated_ending_visit_count_between_epochs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 06:54:58 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"7e63385161c0fde1da50a5cac53883e1\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=MENrMHlkRjR1dGx5T2hLMTBsMncrR3JJWmFnSGdTVGVPdjd3ZmtxODFzOUpxRG5yVVRETnQwTEtSMjJxR1JTSWo2Mzd6dElxSkhia3kxVUhVT3NZSWc9PS0tR1FrNTNVeVRXNWtzUzhVTlloVTFrZz09--a2faef24aec99ad4beb0747c0f1056a868412c9f; path=/; HttpOnly"},{"key":"X-Request-Id","value":"8543bd13-bbd7-4abd-8021-e9e9dc812953"},{"key":"X-Runtime","value":"0.027953"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"start_timestamp\": 1614326400,\n    \"stop_timestamp\": 1614412799,\n    \"aggregated_ending_visit_count_slots\": [\n        [\n            1614326400,\n            1614327299,\n            900,\n            14,\n            16,\n            87.5\n        ],\n        [\n            1614327300,\n            1614328199,\n            900,\n            17,\n            19,\n            89.47368421052632\n        ],\n        [\n            1614328200,\n            1614329099,\n            900,\n            17,\n            19,\n            89.47368421052632\n        ],\n        [\n            1614329100,\n            1614329999,\n            900,\n            16,\n            19,\n            84.21052631578948\n        ],\n        [\n            1614330000,\n            1614330899,\n            900,\n            8,\n            10,\n            80\n        ],\n        [\n            1614330900,\n            1614331799,\n            900,\n            13,\n            16,\n            81.25\n        ],\n        [\n            1614331800,\n            1614332699,\n            900,\n            14,\n            14,\n            100\n        ],\n        [\n            1614332700,\n            1614333599,\n            900,\n            10,\n            12,\n            83.33333333333333\n        ],\n        [\n            1614333600,\n            1614334499,\n            900,\n            6,\n            7,\n            85.71428571428571\n        ],\n        [\n            1614334500,\n            1614335399,\n            900,\n            16,\n            17,\n            94.11764705882354\n        ],\n        [\n            1614335400,\n            1614336299,\n            900,\n            12,\n            13,\n            92.3076923076923\n        ],\n        [\n            1614336300,\n            1614337199,\n            900,\n            10,\n            14,\n            71.42857142857143\n        ],\n        [\n            1614337200,\n            1614338099,\n            900,\n            20,\n            22,\n            90.9090909090909\n        ],\n        [\n            1614338100,\n            1614338999,\n            900,\n            14,\n            16,\n            87.5\n        ],\n        [\n            1614339000,\n            1614339899,\n            900,\n            10,\n            12,\n            83.33333333333333\n        ],\n        [\n            1614339900,\n            1614340799,\n            900,\n            11,\n            13,\n            84.61538461538461\n        ],\n        [\n            1614340800,\n            1614341699,\n            900,\n            12,\n            12,\n            100\n        ],\n        [\n            1614341700,\n            1614342599,\n            900,\n            16,\n            17,\n            94.11764705882354\n        ],\n        [\n            1614342600,\n            1614343499,\n            900,\n            15,\n            16,\n            93.75\n        ],\n        [\n            1614343500,\n            1614344399,\n            900,\n            12,\n            13,\n            92.3076923076923\n        ],\n        [\n            1614344400,\n            1614345299,\n            900,\n            13,\n            13,\n            100\n        ],\n        [\n            1614345300,\n            1614346199,\n            900,\n            9,\n            9,\n            100\n        ],\n        [\n            1614346200,\n            1614347099,\n            900,\n            9,\n            10,\n            90\n        ],\n        [\n            1614347100,\n            1614347999,\n            900,\n            13,\n            14,\n            92.85714285714286\n        ],\n        [\n            1614348000,\n            1614348899,\n            900,\n            15,\n            16,\n            93.75\n        ],\n        [\n            1614348900,\n            1614349799,\n            900,\n            12,\n            12,\n            100\n        ],\n        [\n            1614349800,\n            1614350699,\n            900,\n            15,\n            18,\n            83.33333333333333\n        ],\n        [\n            1614350700,\n            1614351599,\n            900,\n            10,\n            13,\n            76.92307692307692\n        ],\n        [\n            1614351600,\n            1614352499,\n            900,\n            13,\n            17,\n            76.47058823529412\n        ],\n        [\n            1614352500,\n            1614353399,\n            900,\n            17,\n            21,\n            80.95238095238095\n        ],\n        [\n            1614353400,\n            1614354299,\n            900,\n            14,\n            16,\n            87.5\n        ],\n        [\n            1614354300,\n            1614355199,\n            900,\n            15,\n            16,\n            93.75\n        ],\n        [\n            1614355200,\n            1614356099,\n            900,\n            14,\n            16,\n            87.5\n        ],\n        [\n            1614356100,\n            1614356999,\n            900,\n            11,\n            13,\n            84.61538461538461\n        ],\n        [\n            1614357000,\n            1614357899,\n            900,\n            22,\n            24,\n            91.66666666666667\n        ],\n        [\n            1614357900,\n            1614358799,\n            900,\n            12,\n            15,\n            80\n        ],\n        [\n            1614358800,\n            1614359699,\n            900,\n            21,\n            26,\n            80.76923076923077\n        ],\n        [\n            1614359700,\n            1614360599,\n            900,\n            14,\n            16,\n            87.5\n        ],\n        [\n            1614360600,\n            1614361499,\n            900,\n            14,\n            16,\n            87.5\n        ],\n        [\n            1614361500,\n            1614362399,\n            900,\n            18,\n            19,\n            94.73684210526316\n        ],\n        [\n            1614362400,\n            1614363299,\n            900,\n            13,\n            14,\n            92.85714285714286\n        ],\n        [\n            1614363300,\n            1614364199,\n            900,\n            19,\n            24,\n            79.16666666666667\n        ],\n        [\n            1614364200,\n            1614365099,\n            900,\n            19,\n            22,\n            86.36363636363636\n        ],\n        [\n            1614365100,\n            1614365999,\n            900,\n            18,\n            22,\n            81.81818181818181\n        ],\n        [\n            1614366000,\n            1614366899,\n            900,\n            24,\n            27,\n            88.88888888888889\n        ],\n        [\n            1614366900,\n            1614367799,\n            900,\n            23,\n            26,\n            88.46153846153847\n        ],\n        [\n            1614367800,\n            1614368699,\n            900,\n            14,\n            17,\n            82.3529411764706\n        ],\n        [\n            1614368700,\n            1614369599,\n            900,\n            20,\n            22,\n            90.9090909090909\n        ],\n        [\n            1614369600,\n            1614370499,\n            900,\n            22,\n            25,\n            88\n        ],\n        [\n            1614370500,\n            1614371399,\n            900,\n            14,\n            16,\n            87.5\n        ],\n        [\n            1614371400,\n            1614372299,\n            900,\n            16,\n            20,\n            80\n        ],\n        [\n            1614372300,\n            1614373199,\n            900,\n            17,\n            19,\n            89.47368421052632\n        ],\n        [\n            1614373200,\n            1614374099,\n            900,\n            16,\n            19,\n            84.21052631578948\n        ],\n        [\n            1614374100,\n            1614374999,\n            900,\n            20,\n            22,\n            90.9090909090909\n        ],\n        [\n            1614375000,\n            1614375899,\n            900,\n            14,\n            18,\n            77.77777777777777\n        ],\n        [\n            1614375900,\n            1614376799,\n            900,\n            17,\n            18,\n            94.44444444444444\n        ],\n        [\n            1614376800,\n            1614377699,\n            900,\n            18,\n            19,\n            94.73684210526316\n        ],\n        [\n            1614377700,\n            1614378599,\n            900,\n            19,\n            21,\n            90.47619047619048\n        ],\n        [\n            1614378600,\n            1614379499,\n            900,\n            15,\n            19,\n            78.94736842105263\n        ],\n        [\n            1614379500,\n            1614380399,\n            900,\n            15,\n            19,\n            78.94736842105263\n        ],\n        [\n            1614380400,\n            1614381299,\n            900,\n            21,\n            25,\n            84\n        ],\n        [\n            1614381300,\n            1614382199,\n            900,\n            27,\n            32,\n            84.375\n        ],\n        [\n            1614382200,\n            1614383099,\n            900,\n            15,\n            23,\n            65.21739130434783\n        ],\n        [\n            1614383100,\n            1614383999,\n            900,\n            24,\n            29,\n            82.75862068965517\n        ],\n        [\n            1614384000,\n            1614384899,\n            900,\n            19,\n            23,\n            82.6086956521739\n        ],\n        [\n            1614384900,\n            1614385799,\n            900,\n            16,\n            18,\n            88.88888888888889\n        ],\n        [\n            1614385800,\n            1614386699,\n            900,\n            8,\n            11,\n            72.72727272727273\n        ],\n        [\n            1614386700,\n            1614387599,\n            900,\n            8,\n            10,\n            80\n        ],\n        [\n            1614387600,\n            1614388499,\n            900,\n            11,\n            14,\n            78.57142857142857\n        ],\n        [\n            1614388500,\n            1614389399,\n            900,\n            14,\n            20,\n            70\n        ],\n        [\n            1614389400,\n            1614390299,\n            900,\n            13,\n            15,\n            86.66666666666667\n        ],\n        [\n            1614390300,\n            1614391199,\n            900,\n            14,\n            14,\n            100\n        ],\n        [\n            1614391200,\n            1614392099,\n            900,\n            13,\n            16,\n            81.25\n        ],\n        [\n            1614392100,\n            1614392999,\n            900,\n            9,\n            10,\n            90\n        ],\n        [\n            1614393000,\n            1614393899,\n            900,\n            17,\n            18,\n            94.44444444444444\n        ],\n        [\n            1614393900,\n            1614394799,\n            900,\n            9,\n            10,\n            90\n        ],\n        [\n            1614394800,\n            1614395699,\n            900,\n            9,\n            12,\n            75\n        ],\n        [\n            1614395700,\n            1614396599,\n            900,\n            6,\n            6,\n            100\n        ],\n        [\n            1614396600,\n            1614397499,\n            900,\n            7,\n            8,\n            87.5\n        ],\n        [\n            1614397500,\n            1614398399,\n            900,\n            16,\n            19,\n            84.21052631578948\n        ],\n        [\n            1614398400,\n            1614399299,\n            900,\n            17,\n            19,\n            89.47368421052632\n        ],\n        [\n            1614399300,\n            1614400199,\n            900,\n            21,\n            24,\n            87.5\n        ],\n        [\n            1614400200,\n            1614401099,\n            900,\n            23,\n            27,\n            85.18518518518519\n        ],\n        [\n            1614401100,\n            1614401999,\n            900,\n            15,\n            20,\n            75\n        ],\n        [\n            1614402000,\n            1614402899,\n            900,\n            13,\n            19,\n            68.42105263157895\n        ],\n        [\n            1614402900,\n            1614403799,\n            900,\n            6,\n            8,\n            75\n        ],\n        [\n            1614403800,\n            1614404699,\n            900,\n            12,\n            13,\n            92.3076923076923\n        ],\n        [\n            1614404700,\n            1614405599,\n            900,\n            10,\n            11,\n            90.9090909090909\n        ],\n        [\n            1614405600,\n            1614406499,\n            900,\n            5,\n            5,\n            100\n        ],\n        [\n            1614406500,\n            1614407399,\n            900,\n            5,\n            5,\n            100\n        ],\n        [\n            1614407400,\n            1614408299,\n            900,\n            7,\n            9,\n            77.77777777777777\n        ],\n        [\n            1614408300,\n            1614409199,\n            900,\n            10,\n            10,\n            100\n        ],\n        [\n            1614409200,\n            1614410099,\n            900,\n            12,\n            13,\n            92.3076923076923\n        ],\n        [\n            1614410100,\n            1614410999,\n            900,\n            6,\n            8,\n            75\n        ],\n        [\n            1614411000,\n            1614411899,\n            900,\n            7,\n            9,\n            77.77777777777777\n        ],\n        [\n            1614411900,\n            1614412799,\n            900,\n            14,\n            17,\n            82.3529411764706\n        ]\n    ]\n}"},{"id":"b0acb3c0-e86e-47a3-995d-21307ae27898","name":"Example DAY Aggregation - get_location_historical_aggregated_ending_visit_count_between_epochs","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"start_timestamp\": 1614240000,\n\"stop_timestamp\": 1614412799,\n\"aggregation_method\":\"DAY\",\n\"aggregation_parameters\": \n{ \n\"aggregation_start_time\":\"08:00\",\n\"aggregation_stop_time\":\"21:00\"\n}\n}"},"url":"{{base_url}}/get_location_historical_aggregated_ending_visit_count_between_epochs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 07:16:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"597c0cab1f5f0f69ec3fc31401c83aeb\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=em12d0N3Mit5cTAwTFUzZ1czKzdJTjVTZkV2ZEZyY1lOWjhFVjBXd3ZnMzBuL0xSSnBEZGpmY1NzNnh3TXRpbnI4MDlsc096eGRPc3BMTnI0clNScVE9PS0temZxcUFtTTFvYWVWOUc3YXcrOTkwQT09--2ec721db89d9d76a17cf4207f42f2a371b9bdf81; path=/; HttpOnly"},{"key":"X-Request-Id","value":"9f8574fc-eec0-47af-ac0e-b3ca65e661fd"},{"key":"X-Runtime","value":"0.059805"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"start_timestamp\": 1614240000,\n    \"stop_timestamp\": 1614412799,\n    \"aggregated_ending_visit_count_slots\": [\n        [\n            1614268800,\n            1614315599,\n            46800,\n            715,\n            871,\n            82.08955223880596\n        ],\n        [\n            1614355200,\n            1614401999,\n            46800,\n            832,\n            976,\n            85.24590163934427\n        ]\n    ]\n}"}],"_postman_id":"5ffd55a2-4005-4b65-852b-790e045e31df"},{"name":"20 . get_location_historical_cumulative_counts_between_epochs","id":"fd9e1a4d-d4b9-4b51-b98b-3588d8b3af0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"start_timestamp\": 1614326400,\n\"stop_timestamp\": 1614412799\n}"},"url":"{{base_url}}/get_location_historical_cumulative_counts_between_epochs","description":"<h1 id=\"get_location_historical_cumulative_counts\"><strong>get_location_historical_cumulative_counts</strong></h1>\n<p>This endpoint returns the last historical values of the occupancy count aggregated by time intervals (slots). A parameter (<strong>day_span</strong>) sets the scope of the request. Time slots are typically 15 minutes long.</p>\n<table>\n  <tr>\n   <td>\nRequest\n   </td>\n   <td>\nDescription\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_historical_cumulative_counts\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication.\n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    day_span\n   </td>\n   <td>\nInteger representing the number of full days for which to retrieve historical data since current time.\n    For the value 0, time slots from the beginning of the current (i.e. midnight interpreted in the location’s time zone) to current time are returned.\n    For other values (e.g. 1, 2, 7), it adds 1, 2 and 7 full days of data respectively.\n   </td>\n  </tr>\n</table>\n\n<h1 id=\"results\">Results</h1>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n   </td>\n  </tr>\n <tr>\n   <td>\n    cumulative_count_slots\n   </td>\n   <td>\n    Array structure holding the historical time slots. \n    Note: the array may contain time gaps. \n    Each time slot is represented by an array of four values defined as follows:\n[\n        start_timestamp&gt;, \n        stop_timestamp&gt;, \n        initial_cumulative_count&gt;,\n        final_cumulative_count&gt;\n]\n   </td>\n  </tr>\n  <tr>\n   <td>\n    actual_day_span\n   </td>\n   <td>\n    Integer value corresponding to the actual day span being retrieved. The maximum day_span is limited based on account types and subscription levels.\n   </td>\n  </tr>\n</table>\n","urlObject":{"path":["get_location_historical_cumulative_counts_between_epochs"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b7205cd0-64be-42d9-96e5-5031ff5f7719","name":"Example -  get_location_historical_cumulative_counts_between_epochs","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"start_timestamp\": 1614326400,\n\"stop_timestamp\": 1614412799\n}"},"url":"{{base_url}}/get_location_historical_cumulative_counts_between_epochs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 07:42:27 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"5aaa7459ea8f24fbae7c5a5ba36781ec\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=aDZWN2QvRGE3QVFUQUZEUzU1VVNHSHZGek5VanQ1VjBPY0k1QnRxY1c3VFRvKzBFVUNscThNdklNSzUrVzAyekZab05CR290USthb0UyTnRXRk1tVUE9PS0tcmZvUDI0NXQyNDRuVTEzOUMybVNYQT09--ec554b4e771d58ae790b81b47ddf1e934b17f7c2; path=/; HttpOnly"},{"key":"X-Request-Id","value":"34421d17-73af-4aaf-b85e-df46a19446d7"},{"key":"X-Runtime","value":"0.024243"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"cumulative_count_slots\": [\n        [\n            1614326400,\n            1614327299,\n            563475,\n            563490\n        ],\n        [\n            1614327300,\n            1614328199,\n            563490,\n            563510\n        ],\n        [\n            1614328200,\n            1614329099,\n            563510,\n            563525\n        ],\n        [\n            1614329100,\n            1614329999,\n            563525,\n            563534\n        ],\n        [\n            1614330000,\n            1614330899,\n            563534,\n            563546\n        ],\n        [\n            1614330900,\n            1614331799,\n            563546,\n            563558\n        ],\n        [\n            1614331800,\n            1614332699,\n            563558,\n            563571\n        ],\n        [\n            1614332700,\n            1614333599,\n            563571,\n            563577\n        ],\n        [\n            1614333600,\n            1614334499,\n            563577,\n            563593\n        ],\n        [\n            1614334500,\n            1614335399,\n            563593,\n            563604\n        ],\n        [\n            1614335400,\n            1614336299,\n            563604,\n            563617\n        ],\n        [\n            1614336300,\n            1614337199,\n            563617,\n            563633\n        ],\n        [\n            1614337200,\n            1614338099,\n            563633,\n            563644\n        ],\n        [\n            1614338100,\n            1614338999,\n            563644,\n            563658\n        ],\n        [\n            1614339000,\n            1614339899,\n            563658,\n            563667\n        ],\n        [\n            1614339900,\n            1614340799,\n            563667,\n            563682\n        ],\n        [\n            1614340800,\n            1614341699,\n            563682,\n            563695\n        ],\n        [\n            1614341700,\n            1614342599,\n            563695,\n            563709\n        ],\n        [\n            1614342600,\n            1614343499,\n            563709,\n            563725\n        ],\n        [\n            1614343500,\n            1614344399,\n            563725,\n            563736\n        ],\n        [\n            1614344400,\n            1614345299,\n            563736,\n            563746\n        ],\n        [\n            1614345300,\n            1614346199,\n            563746,\n            563754\n        ],\n        [\n            1614346200,\n            1614347099,\n            563754,\n            563767\n        ],\n        [\n            1614347100,\n            1614347999,\n            563767,\n            563783\n        ],\n        [\n            1614348000,\n            1614348899,\n            563783,\n            563792\n        ],\n        [\n            1614348900,\n            1614349799,\n            563792,\n            563809\n        ],\n        [\n            1614349800,\n            1614350699,\n            563809,\n            563821\n        ],\n        [\n            1614350700,\n            1614351599,\n            563821,\n            563835\n        ],\n        [\n            1614351600,\n            1614352499,\n            563835,\n            563847\n        ],\n        [\n            1614352500,\n            1614353399,\n            563847,\n            563861\n        ],\n        [\n            1614353400,\n            1614354299,\n            563861,\n            563879\n        ],\n        [\n            1614354300,\n            1614355199,\n            563879,\n            563891\n        ],\n        [\n            1614355200,\n            1614356099,\n            563891,\n            563902\n        ],\n        [\n            1614356100,\n            1614356999,\n            563902,\n            563918\n        ],\n        [\n            1614357000,\n            1614357899,\n            563918,\n            563938\n        ],\n        [\n            1614357900,\n            1614358799,\n            563938,\n            563956\n        ],\n        [\n            1614358800,\n            1614359699,\n            563956,\n            563969\n        ],\n        [\n            1614359700,\n            1614360599,\n            563969,\n            563986\n        ],\n        [\n            1614360600,\n            1614361499,\n            563986,\n            564002\n        ],\n        [\n            1614361500,\n            1614362399,\n            564002,\n            564017\n        ],\n        [\n            1614362400,\n            1614363299,\n            564017,\n            564034\n        ],\n        [\n            1614363300,\n            1614364199,\n            564034,\n            564051\n        ],\n        [\n            1614364200,\n            1614365099,\n            564051,\n            564067\n        ],\n        [\n            1614365100,\n            1614365999,\n            564067,\n            564091\n        ],\n        [\n            1614366000,\n            1614366899,\n            564091,\n            564113\n        ],\n        [\n            1614366900,\n            1614367799,\n            564113,\n            564133\n        ],\n        [\n            1614367800,\n            1614368699,\n            564133,\n            564153\n        ],\n        [\n            1614368700,\n            1614369599,\n            564153,\n            564176\n        ],\n        [\n            1614369600,\n            1614370499,\n            564176,\n            564193\n        ],\n        [\n            1614370500,\n            1614371399,\n            564193,\n            564205\n        ],\n        [\n            1614371400,\n            1614372299,\n            564205,\n            564223\n        ],\n        [\n            1614372300,\n            1614373199,\n            564223,\n            564240\n        ],\n        [\n            1614373200,\n            1614374099,\n            564240,\n            564258\n        ],\n        [\n            1614374100,\n            1614374999,\n            564258,\n            564272\n        ],\n        [\n            1614375000,\n            1614375899,\n            564272,\n            564290\n        ],\n        [\n            1614375900,\n            1614376799,\n            564290,\n            564310\n        ],\n        [\n            1614376800,\n            1614377699,\n            564310,\n            564325\n        ],\n        [\n            1614377700,\n            1614378599,\n            564325,\n            564343\n        ],\n        [\n            1614378600,\n            1614379499,\n            564343,\n            564358\n        ],\n        [\n            1614379500,\n            1614380399,\n            564358,\n            564371\n        ],\n        [\n            1614380400,\n            1614381299,\n            564371,\n            564402\n        ],\n        [\n            1614381300,\n            1614382199,\n            564402,\n            564420\n        ],\n        [\n            1614382200,\n            1614383099,\n            564420,\n            564441\n        ],\n        [\n            1614383100,\n            1614383999,\n            564441,\n            564460\n        ],\n        [\n            1614384000,\n            1614384899,\n            564460,\n            564477\n        ],\n        [\n            1614384900,\n            1614385799,\n            564477,\n            564491\n        ],\n        [\n            1614385800,\n            1614386699,\n            564491,\n            564498\n        ],\n        [\n            1614386700,\n            1614387599,\n            564498,\n            564507\n        ],\n        [\n            1614387600,\n            1614388499,\n            564507,\n            564520\n        ],\n        [\n            1614388500,\n            1614389399,\n            564520,\n            564536\n        ],\n        [\n            1614389400,\n            1614390299,\n            564536,\n            564550\n        ],\n        [\n            1614390300,\n            1614391199,\n            564550,\n            564565\n        ],\n        [\n            1614391200,\n            1614392099,\n            564565,\n            564575\n        ],\n        [\n            1614392100,\n            1614392999,\n            564575,\n            564586\n        ],\n        [\n            1614393000,\n            1614393899,\n            564586,\n            564599\n        ],\n        [\n            1614393900,\n            1614394799,\n            564599,\n            564607\n        ],\n        [\n            1614394800,\n            1614395699,\n            564607,\n            564615\n        ],\n        [\n            1614395700,\n            1614396599,\n            564615,\n            564622\n        ],\n        [\n            1614396600,\n            1614397499,\n            564622,\n            564635\n        ],\n        [\n            1614397500,\n            1614398399,\n            564635,\n            564653\n        ],\n        [\n            1614398400,\n            1614399299,\n            564653,\n            564670\n        ],\n        [\n            1614399300,\n            1614400199,\n            564670,\n            564693\n        ],\n        [\n            1614400200,\n            1614401099,\n            564693,\n            564708\n        ],\n        [\n            1614401100,\n            1614401999,\n            564708,\n            564722\n        ],\n        [\n            1614402000,\n            1614402899,\n            564722,\n            564731\n        ],\n        [\n            1614402900,\n            1614403799,\n            564731,\n            564741\n        ],\n        [\n            1614403800,\n            1614404699,\n            564741,\n            564752\n        ],\n        [\n            1614404700,\n            1614405599,\n            564752,\n            564758\n        ],\n        [\n            1614405600,\n            1614406499,\n            564758,\n            564764\n        ],\n        [\n            1614406500,\n            1614407399,\n            564764,\n            564772\n        ],\n        [\n            1614407400,\n            1614408299,\n            564772,\n            564779\n        ],\n        [\n            1614408300,\n            1614409199,\n            564779,\n            564788\n        ],\n        [\n            1614409200,\n            1614410099,\n            564788,\n            564798\n        ],\n        [\n            1614410100,\n            1614410999,\n            564798,\n            564807\n        ],\n        [\n            1614411000,\n            1614411899,\n            564807,\n            564813\n        ],\n        [\n            1614411900,\n            1614412799,\n            564813,\n            564827\n        ]\n    ]\n}"}],"_postman_id":"fd9e1a4d-d4b9-4b51-b98b-3588d8b3af0e"}],"id":"830d8e88-d846-4df2-8732-83406b549692","_postman_id":"830d8e88-d846-4df2-8732-83406b549692","description":""},{"name":"Location Metadata","item":[{"name":"14.  update_location_metadata","id":"136e59d8-fcb4-4dc6-a01f-e1b561034424","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Account Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Account Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"keyspace\": \"timeline_view\",\n\"metadata\": \"{ \\\"start_time\\\": \\\"8:00AM\\\", \\\"stop_time\\\": \\\"6:00PM\\\", \\\"color\\\": \\\"blue\\\" }\"\n}"},"url":"{{base_url}}/update_location_metadata","description":"<h2 id=\"update_location_metadata\"><strong>update_location_metadata</strong></h2>\n<p>This endpoint can be used to store client-side data that is to be attached to a given location. The metadata is a character string that can be saved and retrieved under a keyspace.</p>\n<p>The maximum number of keyspaces is currently limited to 32.</p>\n<p>The maximum length of each metadata string is currently limited to 5KB.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    update_location_metadata\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n\n\n\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    keyspace\n   </td>\n   <td>\n    String used to label the metadata\n   </td>\n  </tr>\n  <tr>\n   <td>\n    metadata\n   </td>\n   <td>\n    Arbitrary string of characters\n   </td>\n  </tr>\n</table>\n\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INVALID_PARAMETER_ERROR”\n    “LOCATION_METADATA_CREATION_ERROR”\n    “LOCATION_METADATA_UPDATE_ERROR”\n    “TOO_MANY_METADATA_KEYSPACES_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n   </td>\n  </tr>\n</table>","urlObject":{"path":["update_location_metadata"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"3a11890b-16a3-4945-beec-4fb48c4399ca","name":"Examplle - update_location_metadata","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Account Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Account Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"keyspace\": \"timeline_view\",\n\"metadata\": \"{ \\\"start_time\\\": \\\"8:00AM\\\", \\\"stop_time\\\": \\\"6:00PM\\\", \\\"color\\\": \\\"blue\\\" }\"\n}"},"url":"{{base_url}}/update_location_metadata"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 06:13:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"0c776997933eb60833b37beaf43814c8\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=a3ZNQmI5OUlTclowSTRUUmZaQmk1VFhYcUxNek91My91QnhHcUl4eWZZejNlbzFaM2pTclp5OUpiLytGR2ROeWlMUEhxUHdHemU3T3ZFMkwvaWdHZ3c9PS0tQ2s5TmJYMHhvdGdkV05wN2V1NnE1Zz09--ce14750b727e7ff21c31f4f1fa79d489d5c4f2a3; path=/; HttpOnly"},{"key":"X-Request-Id","value":"233ab6a4-1501-4f89-9e4d-d76bb2b21c2a"},{"key":"X-Runtime","value":"0.018768"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\"\n}"}],"_postman_id":"136e59d8-fcb4-4dc6-a01f-e1b561034424"},{"name":"15.  get_location_metadata","id":"c7d7c349-d149-491d-96c6-32d08b451189","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Account Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Account Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"keyspace\": \"timeline_view\"\n}"},"url":"{{base_url}}/get_location_metadata","description":"<h2 id=\"get_location_metadata\"><strong>get_location_metadata</strong></h2>\n<p>This endpoint can be used to retrieve client-side data that has been previously attached to the location under a specific keyspace.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_metadata\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    keyspace\n   </td>\n   <td>\n    String identifying which metadata is to be retrieved\n   </td>\n  </tr>\n</table>\n\n<h2 id=\"result\">Result</h2>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INVALID_PARAMETER_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n   </td>\n  </tr>\n</table>","urlObject":{"path":["get_location_metadata"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"9b8f4daa-e26a-43bc-884d-090e902bfdd0","name":"Example - get_location_metadata","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Account Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Account Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"keyspace\": \"timeline_view\"\n}"},"url":"{{base_url}}/get_location_metadata"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 06:18:46 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"1d994aa6d81c388bd8daf3fe6be9f826\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=WkY5R1czTE1XcjhKdWNkc0prRmQzNVI4S2FFaEptREJVd0NEZVc2ZVVpRzl5dENyWUxid2xvYkRyNUlXeEJqcFN5eWIrMjJzUExIcDVWb1d5WG9rUUE9PS0tbitucEphemxVQlVBOG9CczdVRW04dz09--0ef7a62ba629bf13362db08c49731f708fed63c6; path=/; HttpOnly"},{"key":"X-Request-Id","value":"dba0bd07-bb25-4e20-81bc-222aae2ab1e0"},{"key":"X-Runtime","value":"0.010104"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"metadata\": \"{ \\\"start_time\\\": \\\"8:00AM\\\", \\\"stop_time\\\": \\\"6:00PM\\\", \\\"color\\\": \\\"blue\\\" }\"\n}"}],"_postman_id":"c7d7c349-d149-491d-96c6-32d08b451189"},{"name":"16. delete_location_metadata","id":"6f604830-0cd9-4572-9b55-007a95da584a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Account Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Account Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"keyspace\": \"timeline_view\"\n}"},"url":"{{base_url}}/delete_location_metadata","description":"<h2 id=\"delete_location_metadata\"><strong>delete_location_metadata</strong></h2>\n<p>This endpoint can be used to retrieve client-side data that has been previously attached to the location under a specific keyspace.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_metadata\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    keyspace\n   </td>\n   <td>\n    String identifying which metadata is to be deleted.\n   </td>\n  </tr>\n</table>\n\n<h2 id=\"result\">Result</h2>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n    “OK”\n    “TOKEN_AUTHENTICATION_ERROR”\n    “INVALID_PARAMETER_ERROR”\n    “INACTIVE_API_ACCESS_ERROR”\n    “API_ACCESS_DISABLED”\n    “INACTIVE_LOCATION_ERROR”\n    “INVALID_LOCATION_ERROR”\n    “JSON_PARSE_ERROR”\n    “HEADER_ERROR”\n   </td>\n  </tr>\n</table>\n","urlObject":{"path":["delete_location_metadata"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"b2c8a210-e3d1-4675-ae45-1f1d79af0cdd","name":"Example - delete_location_metadata","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Account Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Account Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"keyspace\": \"timeline_view\"\n}"},"url":"{{base_url}}/delete_location_metadata"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 06:21:05 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"0c776997933eb60833b37beaf43814c8\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=M0p5M1c4bnQ5M2VBWTZsV3NwUmRaZnBKN0pJNHJVZGFrd2N6T1ZGS2NWV1A0Y0llL3ovbzZaSDNiT3h4S2ZsSVVuNDd5VElxNURKdDNsa1V5bDg3c3c9PS0talQ3S2hMUEpDbkdVRVdoaWdDZDRYUT09--14397a9fa6557a69a2c071a1959013acfa1cd0c9; path=/; HttpOnly"},{"key":"X-Request-Id","value":"c268f288-7f94-4584-b9e1-0cf9d5969c08"},{"key":"X-Runtime","value":"0.016521"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\"\n}"}],"_postman_id":"6f604830-0cd9-4572-9b55-007a95da584a"}],"id":"28f2c552-a463-42b7-aedf-2405ba75dc7f","_postman_id":"28f2c552-a463-42b7-aedf-2405ba75dc7f","description":""},{"name":"Dwell Time","item":[{"name":"18. get_location_historical_dwell_time_slots_between_epochs","id":"696753b7-d342-4c10-8919-04936718e752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"start_timestamp\": 1622505600,\n\"stop_timestamp\": 1622506500\n}"},"url":"{{base_url}}/get_location_historical_dwell_time_slots_between_epochs","description":"<h2 id=\"get_location_historical_dwell_time_slots_between_epochs\"><strong>get_location_historical_dwell_time_slots_between_epochs</strong></h2>\n<p>This endpoint is used to retrieve the distribution of visit durations per 15-minute slots over a specified period of time. The visit duration represents the amount of time that was spent inside the inner zone. The duration distribution that is provided is high resolution to accommodate a variety of use cases. The bin granularity is high for shorter durations and becomes progressively lower for longer duration. </p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_historical_dwell_time_slots_between_epochs\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n\n\n\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    start_timestamp\n   </td>\n   <td>\n    Start timestamp of the desired timespan \n   </td>\n  </tr>\n  <tr>\n   <td>\n    stop_timestamp\n   </td>\n   <td>\n    Stop timestamp of the desired timespan minus one second\n   </td>\n  </tr>\n</table>\n\n\n<p><em>Note that the following constraints must be satisfied:</em></p>\n<ul>\n<li>the <strong>start_timestamp</strong> value must be a multiple of 900 (i.e. multiple of 15 minutes)</li>\n<li>the value (<strong>stop_timestamp</strong> + 1) must be a multiple of 900 (i.e. multiple of 15 minutes)</li>\n</ul>\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Request status, possible values are:\n“OK”\n“TOKEN_AUTHENTICATION_ERROR”\n“INVALID_PARAMETER_ERROR”\n“INACTIVE_API_ACCESS_ERROR”\n“API_ACCESS_DISABLED”\n“INACTIVE_LOCATION_ERROR”\n“INVALID_LOCATION_ERROR”\n“JSON_PARSE_ERROR”\n“HEADER_ERROR”\n“INVALID_AGGREGATION_METHOD_ERROR”\n“SENSOR_SUBSCRIPTION_VALIDITY_ERROR”\n“UNCALIBRATED_LOCATION_ERROR”\n“INVALID_TIMESTAMP_RANGE_ERROR”\n“INVALID_START_TIMESTAMP_ERROR”\n“INVALID_STOP_TIMESTAMP_ERROR”\n</code></pre>   </td>\n  </tr>\n  <tr>\n   <td>\n    dwell_time_distribution_array_layout\n   </td>\n   <td>\n    An array of bin descriptions described by a “start” time and a “stop” time using format &lt;hour&gt;:&lt;minute&gt;:&lt;second&gt;.\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>The special value “--:--:--” is used to represent infinity.\n</code></pre>   </td>\n  </tr>\n  <tr>\n   <td>\n    dwell_time_slots\n   </td>\n   <td>\n    An array of 15 minute time slots. Each slot is defined by a start_timestamp, a stop_timestamp and a dwell_time_distribution_array that provides visit duration information for the visits that ended in that slot’s timespan. \n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Note that some time slots may be missing in the array. It is typically the case when a sensor gets disconnected or is unable to send any data to the Bluefox processing backend servers.\n</code></pre>   </td>\n  </tr>\n  <tr>\n   <td>\n    dwell_time_distribution_array\n   </td>\n   <td>\n    An array of float values representing the percentage of visits for each duration bin.\n   </td>\n  </tr>\n</table>","urlObject":{"path":["get_location_historical_dwell_time_slots_between_epochs"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"4adbf925-a261-487f-90e3-8a3c242a4ffa","name":"Example - get_location_historical_dwell_time_slots_consolidation_between_epochs","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"start_timestamp\": 1622505600,\n\"stop_timestamp\": 1622506500\n}"},"url":"{{base_url}}/get_location_historical_dwell_time_slots_between_epochs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 10:01:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"95bf35354dc23155e11974586ca9a6d3\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=cU03TmU2RXRjWjZsSi9nSXdKd0NFalEyQjZBcmI5cnZsN2tUMFk2TnZUUUhicit2aXAvK1lqWldUOExjMnk5ZGg2TjJEL29RbGNCSzJXWDd2YmJuRlE9PS0tdXI3MEVvWGZ5amJuWTZoTzlaSWQ4dz09--bd113d38c93ab6c5b176b669335287f338d0643c; path=/; HttpOnly"},{"key":"X-Request-Id","value":"a63d4787-eab9-413b-8408-0c073ea2727b"},{"key":"X-Runtime","value":"0.045996"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"dwell_time_distribution_array_layout\": [\n        {\n            \"start\": \"00:00:00\",\n            \"stop\": \"00:01:00\"\n        },\n        {\n            \"start\": \"00:01:00\",\n            \"stop\": \"00:02:00\"\n        },\n        {\n            \"start\": \"00:02:00\",\n            \"stop\": \"00:03:00\"\n        },\n        {\n            \"start\": \"00:03:00\",\n            \"stop\": \"00:04:00\"\n        },\n        {\n            \"start\": \"00:04:00\",\n            \"stop\": \"00:05:00\"\n        },\n        {\n            \"start\": \"00:05:00\",\n            \"stop\": \"00:06:00\"\n        },\n        {\n            \"start\": \"00:06:00\",\n            \"stop\": \"00:07:00\"\n        },\n        {\n            \"start\": \"00:07:00\",\n            \"stop\": \"00:08:00\"\n        },\n        {\n            \"start\": \"00:08:00\",\n            \"stop\": \"00:09:00\"\n        },\n        {\n            \"start\": \"00:09:00\",\n            \"stop\": \"00:10:00\"\n        },\n        {\n            \"start\": \"00:10:00\",\n            \"stop\": \"00:11:00\"\n        },\n        {\n            \"start\": \"00:11:00\",\n            \"stop\": \"00:12:00\"\n        },\n        {\n            \"start\": \"00:12:00\",\n            \"stop\": \"00:13:00\"\n        },\n        {\n            \"start\": \"00:13:00\",\n            \"stop\": \"00:14:00\"\n        },\n        {\n            \"start\": \"00:14:00\",\n            \"stop\": \"00:15:00\"\n        },\n        {\n            \"start\": \"00:15:00\",\n            \"stop\": \"00:16:00\"\n        },\n        {\n            \"start\": \"00:16:00\",\n            \"stop\": \"00:17:00\"\n        },\n        {\n            \"start\": \"00:17:00\",\n            \"stop\": \"00:18:00\"\n        },\n        {\n            \"start\": \"00:18:00\",\n            \"stop\": \"00:19:00\"\n        },\n        {\n            \"start\": \"00:19:00\",\n            \"stop\": \"00:20:00\"\n        },\n        {\n            \"start\": \"00:20:00\",\n            \"stop\": \"00:21:00\"\n        },\n        {\n            \"start\": \"00:21:00\",\n            \"stop\": \"00:22:00\"\n        },\n        {\n            \"start\": \"00:22:00\",\n            \"stop\": \"00:23:00\"\n        },\n        {\n            \"start\": \"00:23:00\",\n            \"stop\": \"00:24:00\"\n        },\n        {\n            \"start\": \"00:24:00\",\n            \"stop\": \"00:25:00\"\n        },\n        {\n            \"start\": \"00:25:00\",\n            \"stop\": \"00:26:00\"\n        },\n        {\n            \"start\": \"00:26:00\",\n            \"stop\": \"00:27:00\"\n        },\n        {\n            \"start\": \"00:27:00\",\n            \"stop\": \"00:28:00\"\n        },\n        {\n            \"start\": \"00:28:00\",\n            \"stop\": \"00:29:00\"\n        },\n        {\n            \"start\": \"00:29:00\",\n            \"stop\": \"00:30:00\"\n        },\n        {\n            \"start\": \"00:30:00\",\n            \"stop\": \"00:32:00\"\n        },\n        {\n            \"start\": \"00:32:00\",\n            \"stop\": \"00:34:00\"\n        },\n        {\n            \"start\": \"00:34:00\",\n            \"stop\": \"00:36:00\"\n        },\n        {\n            \"start\": \"00:36:00\",\n            \"stop\": \"00:38:00\"\n        },\n        {\n            \"start\": \"00:38:00\",\n            \"stop\": \"00:40:00\"\n        },\n        {\n            \"start\": \"00:40:00\",\n            \"stop\": \"00:42:00\"\n        },\n        {\n            \"start\": \"00:42:00\",\n            \"stop\": \"00:44:00\"\n        },\n        {\n            \"start\": \"00:44:00\",\n            \"stop\": \"00:46:00\"\n        },\n        {\n            \"start\": \"00:46:00\",\n            \"stop\": \"00:48:00\"\n        },\n        {\n            \"start\": \"00:48:00\",\n            \"stop\": \"00:50:00\"\n        },\n        {\n            \"start\": \"00:50:00\",\n            \"stop\": \"00:52:00\"\n        },\n        {\n            \"start\": \"00:52:00\",\n            \"stop\": \"00:54:00\"\n        },\n        {\n            \"start\": \"00:54:00\",\n            \"stop\": \"00:56:00\"\n        },\n        {\n            \"start\": \"00:56:00\",\n            \"stop\": \"00:58:00\"\n        },\n        {\n            \"start\": \"00:58:00\",\n            \"stop\": \"01:00:00\"\n        },\n        {\n            \"start\": \"01:00:00\",\n            \"stop\": \"01:05:00\"\n        },\n        {\n            \"start\": \"01:05:00\",\n            \"stop\": \"01:10:00\"\n        },\n        {\n            \"start\": \"01:10:00\",\n            \"stop\": \"01:15:00\"\n        },\n        {\n            \"start\": \"01:15:00\",\n            \"stop\": \"01:20:00\"\n        },\n        {\n            \"start\": \"01:20:00\",\n            \"stop\": \"01:25:00\"\n        },\n        {\n            \"start\": \"01:25:00\",\n            \"stop\": \"01:30:00\"\n        },\n        {\n            \"start\": \"01:30:00\",\n            \"stop\": \"01:35:00\"\n        },\n        {\n            \"start\": \"01:35:00\",\n            \"stop\": \"01:40:00\"\n        },\n        {\n            \"start\": \"01:40:00\",\n            \"stop\": \"01:45:00\"\n        },\n        {\n            \"start\": \"01:45:00\",\n            \"stop\": \"01:50:00\"\n        },\n        {\n            \"start\": \"01:50:00\",\n            \"stop\": \"01:55:00\"\n        },\n        {\n            \"start\": \"01:55:00\",\n            \"stop\": \"02:00:00\"\n        },\n        {\n            \"start\": \"02:00:00\",\n            \"stop\": \"02:05:00\"\n        },\n        {\n            \"start\": \"02:05:00\",\n            \"stop\": \"02:10:00\"\n        },\n        {\n            \"start\": \"02:10:00\",\n            \"stop\": \"02:15:00\"\n        },\n        {\n            \"start\": \"02:15:00\",\n            \"stop\": \"02:20:00\"\n        },\n        {\n            \"start\": \"02:20:00\",\n            \"stop\": \"02:25:00\"\n        },\n        {\n            \"start\": \"02:25:00\",\n            \"stop\": \"02:30:00\"\n        },\n        {\n            \"start\": \"02:30:00\",\n            \"stop\": \"02:35:00\"\n        },\n        {\n            \"start\": \"02:35:00\",\n            \"stop\": \"02:40:00\"\n        },\n        {\n            \"start\": \"02:40:00\",\n            \"stop\": \"02:45:00\"\n        },\n        {\n            \"start\": \"02:45:00\",\n            \"stop\": \"02:50:00\"\n        },\n        {\n            \"start\": \"02:50:00\",\n            \"stop\": \"02:55:00\"\n        },\n        {\n            \"start\": \"02:55:00\",\n            \"stop\": \"03:00:00\"\n        },\n        {\n            \"start\": \"03:00:00\",\n            \"stop\": \"03:15:00\"\n        },\n        {\n            \"start\": \"03:15:00\",\n            \"stop\": \"03:30:00\"\n        },\n        {\n            \"start\": \"03:30:00\",\n            \"stop\": \"03:45:00\"\n        },\n        {\n            \"start\": \"03:45:00\",\n            \"stop\": \"04:00:00\"\n        },\n        {\n            \"start\": \"04:00:00\",\n            \"stop\": \"04:15:00\"\n        },\n        {\n            \"start\": \"04:15:00\",\n            \"stop\": \"04:30:00\"\n        },\n        {\n            \"start\": \"04:30:00\",\n            \"stop\": \"04:45:00\"\n        },\n        {\n            \"start\": \"04:45:00\",\n            \"stop\": \"05:00:00\"\n        },\n        {\n            \"start\": \"05:00:00\",\n            \"stop\": \"05:15:00\"\n        },\n        {\n            \"start\": \"05:15:00\",\n            \"stop\": \"05:30:00\"\n        },\n        {\n            \"start\": \"05:30:00\",\n            \"stop\": \"05:45:00\"\n        },\n        {\n            \"start\": \"05:45:00\",\n            \"stop\": \"06:00:00\"\n        },\n        {\n            \"start\": \"06:00:00\",\n            \"stop\": \"06:15:00\"\n        },\n        {\n            \"start\": \"06:15:00\",\n            \"stop\": \"06:30:00\"\n        },\n        {\n            \"start\": \"06:30:00\",\n            \"stop\": \"06:45:00\"\n        },\n        {\n            \"start\": \"06:45:00\",\n            \"stop\": \"07:00:00\"\n        },\n        {\n            \"start\": \"07:00:00\",\n            \"stop\": \"07:15:00\"\n        },\n        {\n            \"start\": \"07:15:00\",\n            \"stop\": \"07:30:00\"\n        },\n        {\n            \"start\": \"07:30:00\",\n            \"stop\": \"07:45:00\"\n        },\n        {\n            \"start\": \"07:45:00\",\n            \"stop\": \"08:00:00\"\n        },\n        {\n            \"start\": \"08:00:00\",\n            \"stop\": \"09:00:00\"\n        },\n        {\n            \"start\": \"09:00:00\",\n            \"stop\": \"10:00:00\"\n        },\n        {\n            \"start\": \"10:00:00\",\n            \"stop\": \"11:00:00\"\n        },\n        {\n            \"start\": \"11:00:00\",\n            \"stop\": \"12:00:00\"\n        },\n        {\n            \"start\": \"12:00:00\",\n            \"stop\": \"13:00:00\"\n        },\n        {\n            \"start\": \"13:00:00\",\n            \"stop\": \"14:00:00\"\n        },\n        {\n            \"start\": \"14:00:00\",\n            \"stop\": \"15:00:00\"\n        },\n        {\n            \"start\": \"15:00:00\",\n            \"stop\": \"16:00:00\"\n        },\n        {\n            \"start\": \"16:00:00\",\n            \"stop\": \"17:00:00\"\n        },\n        {\n            \"start\": \"17:00:00\",\n            \"stop\": \"18:00:00\"\n        },\n        {\n            \"start\": \"18:00:00\",\n            \"stop\": \"19:00:00\"\n        },\n        {\n            \"start\": \"19:00:00\",\n            \"stop\": \"20:00:00\"\n        },\n        {\n            \"start\": \"20:00:00\",\n            \"stop\": \"21:00:00\"\n        },\n        {\n            \"start\": \"21:00:00\",\n            \"stop\": \"22:00:00\"\n        },\n        {\n            \"start\": \"22:00:00\",\n            \"stop\": \"23:00:00\"\n        },\n        {\n            \"start\": \"23:00:00\",\n            \"stop\": \"24:00:00\"\n        },\n        {\n            \"start\": \"24:00:00\",\n            \"stop\": \"--:--:--\"\n        }\n    ],\n    \"dwell_time_slots\": [\n        {\n            \"start_timestamp\": 1622505600,\n            \"stop_timestamp\": 1622506499,\n            \"dwell_time_distribution_array\": [\n                0.7925033569335938,\n                20.660781860351562,\n                24.471759796142578,\n                19.988441467285156,\n                14.522838592529297,\n                9.634876251220703,\n                5.638027191162109,\n                2.8728485107421875,\n                1.1635780334472656,\n                0.25424957275390625,\n                9.5367431640625e-05,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0\n            ]\n        },\n        {\n            \"start_timestamp\": 1622506500,\n            \"stop_timestamp\": 1622507399,\n            \"dwell_time_distribution_array\": [\n                8.650445938110352,\n                12.373971939086914,\n                10.461139678955078,\n                7.6976776123046875,\n                5.205440521240234,\n                3.1097888946533203,\n                1.6265869140625,\n                4.281902313232422,\n                12.350797653198242,\n                11.538124084472656,\n                8.878087997436523,\n                6.241559982299805,\n                3.9529800415039062,\n                2.1956443786621094,\n                1.0372638702392578,\n                0.3581523895263672,\n                0.040435791015625,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0,\n                0.0\n            ]\n        }\n    ]\n}"}],"_postman_id":"696753b7-d342-4c10-8919-04936718e752"},{"name":"get_location_historical_dwell_time_slots_consolidation_between_epochs","id":"51330fa5-b703-407e-928f-1382ce348f93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"start_timestamp\": 1614326400,\n\"stop_timestamp\": 1614412799\n}"},"url":"{{base_url}}/get_location_historical_dwell_time_slots_consolidation_between_epochs","description":"<h2 id=\"get_location_historical_dwell_time_slots_consolidation_between_epochs\"><strong>get_location_historical_dwell_time_slots_consolidation_between_epochs</strong></h2>\n<p>This endpoint is used to retrieve the distribution of visit durations over a specified period of time. The visit duration represents the amount of time that was spent inside the inner zone. The duration distribution that is provided is high resolution to accommodate a variety of use cases. The bin granularity is high for shorter durations and becomes progressively lower for longer duration. </p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    POST\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    get_location_historical_dwell_time_slots_consolidation_between_epochs\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Content-Type\n   </td>\n   <td>\n    application/plain\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-access-token\n   </td>\n   <td>\n    Request header used to identify the location.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    x-api-secret-token\n   </td>\n   <td>\n    Request header used for location authentication. \n   </td>\n  </tr>\n</table>\n\n\n\n<table>\n  <tr>\n   <td>\n    JSON Request Body\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    start_timestamp\n   </td>\n   <td>\n    Start timestamp of the desired timespan \n   </td>\n  </tr>\n  <tr>\n   <td>\n    stop_timestamp\n   </td>\n   <td>\n    Stop timestamp of the desired timespan minus one second\n   </td>\n  </tr>\n</table>\n\n\n<p><em>Note that the following constraints must be satisfied:</em></p>\n<ul>\n<li>the <strong>start_timestamp</strong> value must be a multiple of 900 (i.e. multiple of 15 minutes)</li>\n<li>the value (<strong>stop_timestamp</strong> + 1) must be a multiple of 900 (i.e. multiple of 15 minutes)</li>\n</ul>\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\n    Request status, possible values are:\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>“OK”\n“TOKEN_AUTHENTICATION_ERROR”\n“INVALID_PARAMETER_ERROR”\n“INACTIVE_API_ACCESS_ERROR”\n“API_ACCESS_DISABLED”\n“INACTIVE_LOCATION_ERROR”\n“INVALID_LOCATION_ERROR”\n“JSON_PARSE_ERROR”\n“HEADER_ERROR”\n“INVALID_AGGREGATION_METHOD_ERROR”\n“SENSOR_SUBSCRIPTION_VALIDITY_ERROR”\n“UNCALIBRATED_LOCATION_ERROR”\n“INVALID_TIMESTAMP_RANGE_ERROR”\n“INVALID_START_TIMESTAMP_ERROR”\n“INVALID_STOP_TIMESTAMP_ERROR”\n</code></pre>   </td>\n  </tr>\n  <tr>\n   <td>\n    dwell_time_distribution_array_layout\n   </td>\n   <td>An array of bin descriptions described by a “start” time and a “stop” time using format &lt;hour&gt;:&lt;minute&gt;:&lt;second&gt;.\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>The special value “--:--:--” is used to represent infinity.\n</code></pre>   </td>\n  </tr>\n  <tr>\n   <td>\n    dwell_time_distribution_array\n   </td>\n   <td>An array of float values representing the percentage of visits for each duration bin.\n   </td>\n  </tr>\n  <tr>\n   <td>\n    average_dwell_time_duration\n   </td>\n   <td>\n    The average dwell time duration\n   </td>\n  </tr>\n  <tr>\n   <td>\n    median_dwell_time_duration\n   </td>\n   <td>\n    The median dwell time duration\n   </td>\n  </tr>\n</table>\n\n","urlObject":{"path":["get_location_historical_dwell_time_slots_consolidation_between_epochs"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"c567c0db-b478-4785-84c2-83249d30dcdb","name":"Example - get_location_historical_dwell_time_slots_consolidation_between_epochs","originalRequest":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"Sensor Secret Token","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"Sensor Access Token","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{\n\"start_timestamp\": 1614326400,\n\"stop_timestamp\": 1614412799\n}"},"url":"{{base_url}}/get_location_historical_dwell_time_slots_consolidation_between_epochs"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 10:01:52 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"95bf35354dc23155e11974586ca9a6d3\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"Set-Cookie","value":"_athena_cloud_session=cU03TmU2RXRjWjZsSi9nSXdKd0NFalEyQjZBcmI5cnZsN2tUMFk2TnZUUUhicit2aXAvK1lqWldUOExjMnk5ZGg2TjJEL29RbGNCSzJXWDd2YmJuRlE9PS0tdXI3MEVvWGZ5amJuWTZoTzlaSWQ4dz09--bd113d38c93ab6c5b176b669335287f338d0643c; path=/; HttpOnly"},{"key":"X-Request-Id","value":"a63d4787-eab9-413b-8408-0c073ea2727b"},{"key":"X-Runtime","value":"0.045996"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\",\n    \"dwell_time_distribution_array_layout\": [\n        {\n            \"start\": \"00:00:00\",\n            \"stop\": \"00:01:00\"\n        },\n        {\n            \"start\": \"00:01:00\",\n            \"stop\": \"00:02:00\"\n        },\n        {\n            \"start\": \"00:02:00\",\n            \"stop\": \"00:03:00\"\n        },\n        {\n            \"start\": \"00:03:00\",\n            \"stop\": \"00:04:00\"\n        },\n        {\n            \"start\": \"00:04:00\",\n            \"stop\": \"00:05:00\"\n        },\n        {\n            \"start\": \"00:05:00\",\n            \"stop\": \"00:06:00\"\n        },\n        {\n            \"start\": \"00:06:00\",\n            \"stop\": \"00:07:00\"\n        },\n        {\n            \"start\": \"00:07:00\",\n            \"stop\": \"00:08:00\"\n        },\n        {\n            \"start\": \"00:08:00\",\n            \"stop\": \"00:09:00\"\n        },\n        {\n            \"start\": \"00:09:00\",\n            \"stop\": \"00:10:00\"\n        },\n        {\n            \"start\": \"00:10:00\",\n            \"stop\": \"00:11:00\"\n        },\n        {\n            \"start\": \"00:11:00\",\n            \"stop\": \"00:12:00\"\n        },\n        {\n            \"start\": \"00:12:00\",\n            \"stop\": \"00:13:00\"\n        },\n        {\n            \"start\": \"00:13:00\",\n            \"stop\": \"00:14:00\"\n        },\n        {\n            \"start\": \"00:14:00\",\n            \"stop\": \"00:15:00\"\n        },\n        {\n            \"start\": \"00:15:00\",\n            \"stop\": \"00:16:00\"\n        },\n        {\n            \"start\": \"00:16:00\",\n            \"stop\": \"00:17:00\"\n        },\n        {\n            \"start\": \"00:17:00\",\n            \"stop\": \"00:18:00\"\n        },\n        {\n            \"start\": \"00:18:00\",\n            \"stop\": \"00:19:00\"\n        },\n        {\n            \"start\": \"00:19:00\",\n            \"stop\": \"00:20:00\"\n        },\n        {\n            \"start\": \"00:20:00\",\n            \"stop\": \"00:21:00\"\n        },\n        {\n            \"start\": \"00:21:00\",\n            \"stop\": \"00:22:00\"\n        },\n        {\n            \"start\": \"00:22:00\",\n            \"stop\": \"00:23:00\"\n        },\n        {\n            \"start\": \"00:23:00\",\n            \"stop\": \"00:24:00\"\n        },\n        {\n            \"start\": \"00:24:00\",\n            \"stop\": \"00:25:00\"\n        },\n        {\n            \"start\": \"00:25:00\",\n            \"stop\": \"00:26:00\"\n        },\n        {\n            \"start\": \"00:26:00\",\n            \"stop\": \"00:27:00\"\n        },\n        {\n            \"start\": \"00:27:00\",\n            \"stop\": \"00:28:00\"\n        },\n        {\n            \"start\": \"00:28:00\",\n            \"stop\": \"00:29:00\"\n        },\n        {\n            \"start\": \"00:29:00\",\n            \"stop\": \"00:30:00\"\n        },\n        {\n            \"start\": \"00:30:00\",\n            \"stop\": \"00:32:00\"\n        },\n        {\n            \"start\": \"00:32:00\",\n            \"stop\": \"00:34:00\"\n        },\n        {\n            \"start\": \"00:34:00\",\n            \"stop\": \"00:36:00\"\n        },\n        {\n            \"start\": \"00:36:00\",\n            \"stop\": \"00:38:00\"\n        },\n        {\n            \"start\": \"00:38:00\",\n            \"stop\": \"00:40:00\"\n        },\n        {\n            \"start\": \"00:40:00\",\n            \"stop\": \"00:42:00\"\n        },\n        {\n            \"start\": \"00:42:00\",\n            \"stop\": \"00:44:00\"\n        },\n        {\n            \"start\": \"00:44:00\",\n            \"stop\": \"00:46:00\"\n        },\n        {\n            \"start\": \"00:46:00\",\n            \"stop\": \"00:48:00\"\n        },\n        {\n            \"start\": \"00:48:00\",\n            \"stop\": \"00:50:00\"\n        },\n        {\n            \"start\": \"00:50:00\",\n            \"stop\": \"00:52:00\"\n        },\n        {\n            \"start\": \"00:52:00\",\n            \"stop\": \"00:54:00\"\n        },\n        {\n            \"start\": \"00:54:00\",\n            \"stop\": \"00:56:00\"\n        },\n        {\n            \"start\": \"00:56:00\",\n            \"stop\": \"00:58:00\"\n        },\n        {\n            \"start\": \"00:58:00\",\n            \"stop\": \"01:00:00\"\n        },\n        {\n            \"start\": \"01:00:00\",\n            \"stop\": \"01:05:00\"\n        },\n        {\n            \"start\": \"01:05:00\",\n            \"stop\": \"01:10:00\"\n        },\n        {\n            \"start\": \"01:10:00\",\n            \"stop\": \"01:15:00\"\n        },\n        {\n            \"start\": \"01:15:00\",\n            \"stop\": \"01:20:00\"\n        },\n        {\n            \"start\": \"01:20:00\",\n            \"stop\": \"01:25:00\"\n        },\n        {\n            \"start\": \"01:25:00\",\n            \"stop\": \"01:30:00\"\n        },\n        {\n            \"start\": \"01:30:00\",\n            \"stop\": \"01:35:00\"\n        },\n        {\n            \"start\": \"01:35:00\",\n            \"stop\": \"01:40:00\"\n        },\n        {\n            \"start\": \"01:40:00\",\n            \"stop\": \"01:45:00\"\n        },\n        {\n            \"start\": \"01:45:00\",\n            \"stop\": \"01:50:00\"\n        },\n        {\n            \"start\": \"01:50:00\",\n            \"stop\": \"01:55:00\"\n        },\n        {\n            \"start\": \"01:55:00\",\n            \"stop\": \"02:00:00\"\n        },\n        {\n            \"start\": \"02:00:00\",\n            \"stop\": \"02:05:00\"\n        },\n        {\n            \"start\": \"02:05:00\",\n            \"stop\": \"02:10:00\"\n        },\n        {\n            \"start\": \"02:10:00\",\n            \"stop\": \"02:15:00\"\n        },\n        {\n            \"start\": \"02:15:00\",\n            \"stop\": \"02:20:00\"\n        },\n        {\n            \"start\": \"02:20:00\",\n            \"stop\": \"02:25:00\"\n        },\n        {\n            \"start\": \"02:25:00\",\n            \"stop\": \"02:30:00\"\n        },\n        {\n            \"start\": \"02:30:00\",\n            \"stop\": \"02:35:00\"\n        },\n        {\n            \"start\": \"02:35:00\",\n            \"stop\": \"02:40:00\"\n        },\n        {\n            \"start\": \"02:40:00\",\n            \"stop\": \"02:45:00\"\n        },\n        {\n            \"start\": \"02:45:00\",\n            \"stop\": \"02:50:00\"\n        },\n        {\n            \"start\": \"02:50:00\",\n            \"stop\": \"02:55:00\"\n        },\n        {\n            \"start\": \"02:55:00\",\n            \"stop\": \"03:00:00\"\n        },\n        {\n            \"start\": \"03:00:00\",\n            \"stop\": \"03:15:00\"\n        },\n        {\n            \"start\": \"03:15:00\",\n            \"stop\": \"03:30:00\"\n        },\n        {\n            \"start\": \"03:30:00\",\n            \"stop\": \"03:45:00\"\n        },\n        {\n            \"start\": \"03:45:00\",\n            \"stop\": \"04:00:00\"\n        },\n        {\n            \"start\": \"04:00:00\",\n            \"stop\": \"04:15:00\"\n        },\n        {\n            \"start\": \"04:15:00\",\n            \"stop\": \"04:30:00\"\n        },\n        {\n            \"start\": \"04:30:00\",\n            \"stop\": \"04:45:00\"\n        },\n        {\n            \"start\": \"04:45:00\",\n            \"stop\": \"05:00:00\"\n        },\n        {\n            \"start\": \"05:00:00\",\n            \"stop\": \"05:15:00\"\n        },\n        {\n            \"start\": \"05:15:00\",\n            \"stop\": \"05:30:00\"\n        },\n        {\n            \"start\": \"05:30:00\",\n            \"stop\": \"05:45:00\"\n        },\n        {\n            \"start\": \"05:45:00\",\n            \"stop\": \"06:00:00\"\n        },\n        {\n            \"start\": \"06:00:00\",\n            \"stop\": \"06:15:00\"\n        },\n        {\n            \"start\": \"06:15:00\",\n            \"stop\": \"06:30:00\"\n        },\n        {\n            \"start\": \"06:30:00\",\n            \"stop\": \"06:45:00\"\n        },\n        {\n            \"start\": \"06:45:00\",\n            \"stop\": \"07:00:00\"\n        },\n        {\n            \"start\": \"07:00:00\",\n            \"stop\": \"07:15:00\"\n        },\n        {\n            \"start\": \"07:15:00\",\n            \"stop\": \"07:30:00\"\n        },\n        {\n            \"start\": \"07:30:00\",\n            \"stop\": \"07:45:00\"\n        },\n        {\n            \"start\": \"07:45:00\",\n            \"stop\": \"08:00:00\"\n        },\n        {\n            \"start\": \"08:00:00\",\n            \"stop\": \"09:00:00\"\n        },\n        {\n            \"start\": \"09:00:00\",\n            \"stop\": \"10:00:00\"\n        },\n        {\n            \"start\": \"10:00:00\",\n            \"stop\": \"11:00:00\"\n        },\n        {\n            \"start\": \"11:00:00\",\n            \"stop\": \"12:00:00\"\n        },\n        {\n            \"start\": \"12:00:00\",\n            \"stop\": \"13:00:00\"\n        },\n        {\n            \"start\": \"13:00:00\",\n            \"stop\": \"14:00:00\"\n        },\n        {\n            \"start\": \"14:00:00\",\n            \"stop\": \"15:00:00\"\n        },\n        {\n            \"start\": \"15:00:00\",\n            \"stop\": \"16:00:00\"\n        },\n        {\n            \"start\": \"16:00:00\",\n            \"stop\": \"17:00:00\"\n        },\n        {\n            \"start\": \"17:00:00\",\n            \"stop\": \"18:00:00\"\n        },\n        {\n            \"start\": \"18:00:00\",\n            \"stop\": \"19:00:00\"\n        },\n        {\n            \"start\": \"19:00:00\",\n            \"stop\": \"20:00:00\"\n        },\n        {\n            \"start\": \"20:00:00\",\n            \"stop\": \"21:00:00\"\n        },\n        {\n            \"start\": \"21:00:00\",\n            \"stop\": \"22:00:00\"\n        },\n        {\n            \"start\": \"22:00:00\",\n            \"stop\": \"23:00:00\"\n        },\n        {\n            \"start\": \"23:00:00\",\n            \"stop\": \"24:00:00\"\n        },\n        {\n            \"start\": \"24:00:00\",\n            \"stop\": \"--:--:--\"\n        }\n    ],\n    \"dwell_time_distribution_array\": [\n        9.911753362698722,\n        15.295288939740379,\n        13.71516868074327,\n        10.809817891835676,\n        8.124869070503502,\n        5.916520849145658,\n        4.357916422693147,\n        3.4095525252011276,\n        2.7062960473908535,\n        2.3411178980519884,\n        2.130207633580515,\n        1.875761059520181,\n        1.5539545298112247,\n        1.2352089617531403,\n        0.9742634986705114,\n        0.9382500540794043,\n        0.9182765498543177,\n        0.8110279420073272,\n        0.7117484874059532,\n        0.6744463096164335,\n        0.6104600502969793,\n        0.6545763975296177,\n        0.7338651151872514,\n        0.6471819946163734,\n        0.5558493690569053,\n        0.4655134996104779,\n        0.43205872208675566,\n        0.3728664876009649,\n        0.2936688291953085,\n        0.19875904373074949,\n        0.3925728846869185,\n        0.39727702522669484,\n        0.3309402622481391,\n        0.3189962257839571,\n        0.3455271711094913,\n        0.32126761559833,\n        0.46411138295637755,\n        0.35856058954947784,\n        0.34406278167661947,\n        0.18666343767295382,\n        0.06748587199060334,\n        0.015880146065776597,\n        0.09147714540454152,\n        0.07234941517792688,\n        0.03245958802146833,\n        0.16341082124494674,\n        0.23379629397539142,\n        0.15399979859651727,\n        0.23573360403949964,\n        0.2001897510317072,\n        0.2052970980227116,\n        0.048935829491585925,\n        0.00004856493438783368,\n        0,\n        0,\n        0.16091677687251346,\n        0.20218600482666518,\n        0.04916690458262481,\n        0.18335906387109777,\n        0.02038767695182158,\n        0,\n        0.15109510637161913,\n        0.054123465285408914,\n        0.00012023737787955596,\n        0,\n        0.1727934490728672,\n        0.032545359962040395,\n        0,\n        0,\n        0,\n        0,\n        0.2053388090349076,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0.2053388090349076,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0.2053388090349076,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0,\n        0\n    ],\n    \"average_dwell_time_duration\": 740,\n    \"median_dwell_time_duration\": 241\n}"}],"_postman_id":"51330fa5-b703-407e-928f-1382ce348f93"}],"id":"57204b03-68cc-4613-bbf5-9a41e5954276","_postman_id":"57204b03-68cc-4613-bbf5-9a41e5954276","description":""}],"id":"8564cd95-eb35-492d-8554-e25e2beb4eeb","description":"<p><strong>Sensor Location Credentials Required</strong></p>\n<p>The access and secret token strings are formatted as follows:</p>\n<p>ACCESS-07DDA579-CE6B-418C-927F-8D2B9A56A91C\nSECRET-2946727A-E8DB-4A79-B598-7F28A2D3182B</p>\n","_postman_id":"8564cd95-eb35-492d-8554-e25e2beb4eeb"},{"name":"Server Status","item":[{"name":"1. Ping","id":"ebb1ae0b-9096-4e9a-83b9-70f9854ddc6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-secret-token","value":"{{secret_token}}","description":"<p>Sensor Secret Token</p>\n","type":"text"},{"key":"x-api-access-token","value":"{{access_token}}","description":"<p>Sensor Access Token</p>\n","type":"text"},{"key":"Content-Type","value":"application/plain","type":"text"}],"body":{"mode":"raw","raw":"{}"},"url":"{{base_url}}/get_location_realtime_occupancy_count","description":"<h2 id=\"ping\"><strong>ping</strong></h2>\n<p>This endpoint can be used to check the availability of the Bluefox Fetch API.</p>\n<table>\n  <tr>\n   <td>\n    Request\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    HTTP Method\n   </td>\n   <td>\n    GET\n   </td>\n  </tr>\n  <tr>\n   <td>\n    Endpoint\n   </td>\n   <td>\n    ping\n   </td>\n  </tr>\n</table>\n\n\n<p><strong>Result</strong></p>\n<table>\n  <tr>\n   <td>\n    Fields\n   </td>\n   <td>\n    Description\n   </td>\n  </tr>\n  <tr>\n   <td>\n    status\n   </td>\n   <td>\nRequest status, possible values are:\n“OK”\n“API_ACCESS_DISABLED”\n   </td>\n  </tr>\n</table>\n","urlObject":{"path":["get_location_realtime_occupancy_count"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[{"id":"dff89957-cfa1-417e-9d94-276f780d7605","name":"Example - Ping","originalRequest":{"method":"GET","header":[],"url":"{{base_url}}/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sun, 28 Feb 2021 02:09:01 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"close"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"ETag","value":"W/\"0c776997933eb60833b37beaf43814c8\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"59742f6e-5716-4d4d-a730-84116cb42ee2"},{"key":"X-Runtime","value":"0.002450"},{"key":"Vary","value":"Origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": \"OK\"\n}"}],"_postman_id":"ebb1ae0b-9096-4e9a-83b9-70f9854ddc6b"}],"id":"a1182ba7-7fb0-40fa-8d14-6a74bb85c5c7","_postman_id":"a1182ba7-7fb0-40fa-8d14-6a74bb85c5c7","description":""}],"id":"5023743c-5f18-4549-b725-5e4c2fbc40c4","description":"<h1 id=\"overview\"><strong>Overview</strong></h1>\n<p><strong>The BlueZoo Fetch API is deprecated and replaced by the Real-time API. The Fetch API service will be discontinued on December 31, 2025.</strong></p>\n<p>The BlueZoo Fetch API allows application and service developers to gain access to real-time data, historical data and configuration information about specific locations managed by a given BlueZoo Cluster. Using the API, real-time count information can easily be embedded into third-party applications and services.</p>\n<h2 id=\"changes-in-this-release\"><strong>Changes in This Release</strong></h2>\n<p>We have added methods to better return real time sensor data and configuration information.</p>\n<p>The <strong>get_location_core_realtime_snapshot</strong> endpoint is a convenience/performance endpoint that fetches into one call the combined result of these individual endpoints:</p>\n<ol>\n<li><p>get_location_info,</p>\n</li>\n<li><p>get_location_realtime_occupancy_count, and</p>\n</li>\n<li><p>get_location_metadata.</p>\n</li>\n</ol>\n<p>The <strong>get_location_core_realtime_snapshot_array</strong> endpoint is a convenience/performance endpoint that allows you to fetch the above <strong>core real time snapshot</strong> for multiple locations at once. The number of fetchable locations is limited to 16 locations.</p>\n<h1 id=\"service-summary\">Service Summary</h1>\n<p>Information retrieval is performed via HTTP POST or HTTP GET requests where the request body contains the request’s parameters expressed in JSON format. Each request provides a result expressed in JSON format.</p>\n<p>The full API includes the following main services:</p>\n<ul>\n<li><p>Get location information (e.g. location name, max occupancy count)</p>\n</li>\n<li><p>Get the real-time occupancy count at a given location</p>\n</li>\n<li><p>Get the occupancy count history at given location (e.g. for last 2 days)</p>\n</li>\n<li><p>Get the real-time occupancy load (e.g. High &amp; Low load)</p>\n</li>\n<li><p>Get the real-time cumulative count (i.e. visit counter)</p>\n</li>\n<li><p>Get the cumulative count history</p>\n</li>\n<li><p>Change a location’s max occupancy count threshold</p>\n</li>\n<li><p>Get visit dwell time information</p>\n<ol>\n<li>Access Credentials</li>\n</ol>\n</li>\n</ul>\n<p>Access to the BlueZoo Fetch API is controlled by authentication credentials composed of an access token and a secret token. There are two types of authentication credentials:</p>\n<ul>\n<li><p>location-level credentials</p>\n</li>\n<li><p>account-level credentials</p>\n</li>\n</ul>\n<p>Each type has separate authentication credentials.</p>\n<p>In both cases the access and secret token strings are formatted as follows:</p>\n<p>ACCESS-07DDA579-CE6B-418C-927F-8D2B9A56A91C</p>\n<p>SECRET-2946727A-E8DB-4A79-B598-7F28A2D3182B</p>\n<p>Separate access credential tokens for each sensor and each account are available from the Bluefox Fetch API Management Console.</p>\n<table><tbody><tr><td><div>Region<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>Management Console Access<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Global<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>http://apollo-psq.bluefoxengage.com/login</div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>\n\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Index</th>\n<th>Bluefox Fetch API Definitions</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>ping</td>\n</tr>\n<tr>\n<td>2</td>\n<td>get_account_info</td>\n</tr>\n<tr>\n<td>3</td>\n<td>get_location_info</td>\n</tr>\n<tr>\n<td>4</td>\n<td>get_location_realtime_occupancy_count</td>\n</tr>\n<tr>\n<td>5</td>\n<td>get_location_historical_occupancy_counts</td>\n</tr>\n<tr>\n<td>6</td>\n<td>get_location_realtime_occupancy_load</td>\n</tr>\n<tr>\n<td>7</td>\n<td>get_location_realtime_cumulative_count</td>\n</tr>\n<tr>\n<td>8</td>\n<td>get_location_historical_cumulative_counts</td>\n</tr>\n<tr>\n<td>9</td>\n<td>update_location_max_occupancy_count</td>\n</tr>\n<tr>\n<td>10</td>\n<td>get_location_historical_cumulative_count_difference</td>\n</tr>\n<tr>\n<td>11</td>\n<td>update_account_metadata</td>\n</tr>\n<tr>\n<td>12</td>\n<td>get_account_metadata</td>\n</tr>\n<tr>\n<td>13</td>\n<td>delete_account_metadata</td>\n</tr>\n<tr>\n<td>14</td>\n<td>update_location_metadata</td>\n</tr>\n<tr>\n<td>15</td>\n<td>get_location_metadata</td>\n</tr>\n<tr>\n<td>16</td>\n<td>delete_location_metadata</td>\n</tr>\n<tr>\n<td>17</td>\n<td>get_location_historical_aggregated_ending_visit_count_between_epochs</td>\n</tr>\n<tr>\n<td>18</td>\n<td>get_location_historical_dwell_time_slots_between_epochs</td>\n</tr>\n<tr>\n<td>19</td>\n<td>get_location_historical_dwell_time_slots_consolidation_between_epochs</td>\n</tr>\n<tr>\n<td>20</td>\n<td>get_location_historical_cumulative_counts_between_epochs</td>\n</tr>\n<tr>\n<td>21</td>\n<td>get_location_core_realtime_snapshot</td>\n</tr>\n<tr>\n<td>22</td>\n<td>get_location_core_realtime_snapshot_array</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"bluezoo-fetch-api-use\">BlueZoo Fetch API Use</h1>\n<p>The BlueZoo Fetch API is accessible via a specific base URL. That base URL varies based on the geographic location your customer account was created at.</p>\n<table><tbody><tr><td><div>Region<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>API Base URL<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Global (Includes India)<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>https://apollo-psq.bluefoxengage.com/third_party_fetch_api/v100<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>Asia-Pacific<br /></div><div><div><div><div></div></div></div><div></div></div></td><td><div>https://artemis-psq.bluefoxengage.com/third_party_fetch_api/v100<br /></div><div><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>\n\n<p>To form the full request URL for a given endpoint (see available endpoints below), simply append the endpoint name to the base URL.</p>\n<p>Example:</p>\n<p>[Base API URL]</p>\n<p><a href=\"https://apollo-psq.bluefoxengage.com/third_party_fetch_api/v100\">https://apollo-psq.bluefoxengage.com/third_party_fetch_api/v100</a></p>\n<p>[Full Request URL]</p>\n<p><a href=\"https://apollo-psq.bluefoxengage.com/third_party_fetch_api/v100/get_location_realtime_occupancy_count\">https://apollo-psq.bluefoxengage.com/third_party_fetch_api/v100/get_location_realtime_occupancy_count</a></p>\n<p>Each successful HTTP request should return 200 as HTTP Status Code. When requests are made too frequently to the API, code 429 may be returned as HTTP Status Code.</p>\n","_postman_id":"5023743c-5f18-4549-b725-5e4c2fbc40c4"}],"variable":[{"key":"af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6","value":"af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6"},{"key":"Key","value":"af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6"},{"key":"id","value":"753"},{"key":"AccessKey","value":"AccessKey af42d7dd-6b7a-4fb3-8df6-ad2c724d84d6"}]}