{"info":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","description":"<html><head></head><body><p><a href=\"https://www.youtube.com/watch?v=Mv29cjU5u_I\">Telus Insights</a> solution helps customers utilize TELUS Geo-intelligence data assets and help answer a range of questions around location and movement patterns within Canada.</p>\n<p>Key Highlights of TELUS Insights Location API:</p>\n<ul>\n<li>Process and record over 3B location data records per day.</li>\n<li>Data assets are enhanced using algorithmic logic, and data models providing meaningful location based insights</li>\n<li>We have developed an advanced set of privacy and security de-identification techniques leveraging the Privacy and Security by Design Standards meaning that the data in use is completely stripped of personal information, and securely managed.</li>\n<li>RESTful API’s and advanced API Gateway management means that data ingestion, integration and consumption is easy, up to date, and meets the necessary data management standards.</li>\n<li>A Developer Portal that is much more than just API documentation. It is serving mulitple purposes including enabling users to explore interactively the API endpoints through a user-friendly interface. See API vs Developer Portal for more details.</li>\n</ul>\n<h1 id=\"introduction-generalities\">Introduction - Generalities</h1>\n<h3 id=\"data-recency\">Data Recency</h3>\n<ul>\n<li>Data is collected and processed every 5 mins from our network, and through a series of data processing jobs</li>\n<li>Live data is processed, transformed, and made available within our Data Warehouse within 1-2 hours</li>\n<li>Results are provided at a minimum of 15 minute intervals to ensure privacy.</li>\n</ul>\n<h3 id=\"data-retention\">Data Retention</h3>\n<ul>\n<li>Data available from January 1, 2019</li>\n<li>Data will remain in the system for up to 5 years, starting from this date.</li>\n</ul>\n<h3 id=\"coverage--users\">Coverage / Users</h3>\n<ul>\n<li>9.8M Canadians, and 3M+ International devices (monthly average)</li>\n<li>TELUS has network coverage in 99% of the populated areas of Canada. This means that if you are looking for information on areas where people are located, we will likely have it.</li>\n</ul>\n<h3 id=\"data-storage\">Data Storage</h3>\n<ul>\n<li>All data is stored in Canada within secure data facilities with the ability to scale to accomodate for both the massive amounts of data, and the demands of users querying the system.</li>\n</ul>\n<h3 id=\"data-privacy\">Data Privacy</h3>\n<ul>\n<li>Removal of key identifiers from the dataset, replacing them with pseudonymous persistent identifiers. More on Data Privacy <a href=\"https://www.youtube.com/watch?v=04jNbstgKlI&amp;t\">here</a>.</li>\n<li>All data released by the platform is aggregated so that any output is at a minimum of 20 devices post-extrapolation, and rounding. This aggregation is done across spatial and temporal dimensions.</li>\n<li>All data is rounded-up to the nearest 10 counts.</li>\n<li>All results are extrapolated to represent the entire population to provide a layer of privacy.</li>\n<li>TELUS uses internal market intelligence and external sources to determine factors down to a census sub-division level for Canadians, and to country level for international markets.</li>\n<li>TELUS has updated its privacy policy to ensure that there is enough information available to the general population on what we are doing.</li>\n<li>We have sought outside expertise from a range of trusted Privacy advisors and Privacy tech companies to validate our approach</li>\n<li>Achieved Privacy By Design certification</li>\n<li>Close collaboration and partnership with TELUS Data &amp; Trust Office, ensuring inclusion in any key product decisions.</li>\n</ul>\n<h3 id=\"limitations\">Limitations</h3>\n<ul>\n<li>The API results depend on cell tower locations at the time of the analysis. As Telus is continuously optimizing its network coverage, some of the cell towers might change locations over time which might result in a slight impact on the API outputs.</li>\n<li>Due to technical issues, the API will not return any results for the dates listed above as the data was not captured in our system:<ul>\n<li>June 14, 2021</li>\n<li>June 15, 2021</li>\n<li>June 16, 2021</li>\n</ul>\n</li>\n</ul>\n<h1 id=\"introduction-spatial-aggregation\">Introduction - Spatial aggregation</h1>\n<ul>\n<li>TELUS Insights API data is based on the locations of Cellular towers, and their coverage areas. This means that results spatial granularity is dependent on the cellular coverage in the area. In urban areas, coverage accuracy is sub-200 meter, in suburban areas it ranges between 200m and 1km, in rural areas the coverage areas are between 1 and many kilometers, depending on the remoteness of the location.</li>\n<li>In general, networks are modelled after human population and mobility behaviours. For example, towers will be aligned to all major roadways, with a tower at or between each exit. This means that we can build detailed results around travel patterns on major roads, even if the coverage in remote areas is in the several kilometer range.</li>\n<li>Spatial accuracy can further be improved by using data sources that align tower locations to where devices commonly connect to the given tower. These data sets help us further align towers to roadways, improving accuracy in distinguishing between parallel road segments.</li>\n<li>In some areas of Canada, the deployment of small cell technology (the precursors to 5G) allow for intersection level accuracy within neighbourhoods. This technology requires for small cell sites to be deployed on existing infrastructure, such as light standards, traffic signals, or phone line poles. This significantly increases the resolution spatially of the data, into the 5-10m range.</li>\n<li>TELUS Insights data has the ability to aggregate results to customer specified areas, or road segments, because the data is collected based on tower location. Overall this means that the work of correlating tower locations to customer specified areas is complete by TELUS Insights.</li>\n</ul>\n<h1 id=\"introduction-methodologies\">Introduction - Methodologies</h1>\n<h2 id=\"assumed-primary-and-secondary-neighbourhoods-methodology\">Assumed Primary and Secondary neighbourhoods methodology</h2>\n<p>TELUS Insights has developed a proprietary algorithm to determine the primary and secondary neighbourhood of the devices. This algorithm looks at a series of factors, such as time spent in an area, number of days spent, frequency of visits, consecutive hours, and others, to decide the primary and secondary neighbourhoods of a device. This algorithm is designed to ensure the model works in a broad range of conditions, including rural, and urban areas.</p>\n<p>The algorithm has been built in a way that the secondary neighbourhood is not confused with primary neighbourhood.​</p>\n<h2 id=\"extrapolation-methodology\">Extrapolation methodology</h2>\n<p>To be fully representative of the Canadian population, TELUS Insights extrapolates the subscriber data based on our market share information. TELUS builds highly detailed market shares, broken down by census sub-divisions. These market shares account for many variables, including the likelihood of an individual owning multiple devices, the drop off points of access to cellular service, as well as area populations. Each device is given a multiplier to help it be representative of its home neighbourhood at a census sub-division level.</p>\n<h1 id=\"introduction-insights-developer-portal\">Introduction - Insights Developer Portal</h1>\n<p><a href=\"https://insights.telus.com/\">Insights Developer Portal</a> enables the users to explore, interact and query the API through an intuitive interface.</p>\n<p>Devoloper Portal provides self-serve capabilities on top of the API such as:</p>\n<ul>\n<li>API Documentation</li>\n<li>API credentials</li>\n<li>Support desk</li>\n<li>Product notifications</li>\n<li>More to come</li>\n</ul>\n<h3 id=\"insights-developer-portal-homepage\">Insights Developer Portal Homepage</h3>\n<img src=\"https://content.pstmn.io/fa7fe848-32f4-44ee-b762-d1831d726d61/SW5zaWdodHMgRGV2ZWxvcGVyIFBvcnRhbCBIb21lcGFnZS5wbmc=\">\n\n<h1 id=\"introduction-api-integrations\">Introduction - API Integrations</h1>\n<p>​<br>In order to build automated solutions for API consumption, we recommend the following process and best practices</p>\n<h2 id=\"1-oauth-credentials\">1. OAuth Credentials</h2>\n<p>Request OAuth credentials by creating a ticket in the Portal. Check your My Account page in the portal to determine if you already have them.</p>\n<h2 id=\"2-creating-script-snippets\">2. Creating Script Snippets</h2>\n<p>To create scripts for your favorite language you can get some code snippets from the “Example Request” section for each API on this site.</p>\n<img src=\"https://content.pstmn.io/332217a9-3fd7-4025-b581-e71c2ca8ec64/U2VuZF9leGFtcGxlX3JlcXVlc3RfMi5wbmc=\" width=\"619\" height=\"308\">\n\n<img src=\"https://content.pstmn.io/26d57534-2f71-4fac-b271-c5a1dd8c9494/Sm9iIFRvb2wgU2NyZWVuc2hvdC5qcGc=\">\n\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\"># Set your credentials - Check My Account Page\ncustomerId=\"\"\noauth_client_id=\"\"\noauth_client_secret=\"\"\n# OAuth config - Check My Account Page\noauth_token_endpoint=\"\"\noauth_grant_type=\"\"\noauth_scope=\"\"\nlocation_api_url=\"\"\n# Set thresholds\nwaitSecondsBeforeFetchingJobResults=300s\n# Set your request body variables. You can use the JSON preview feature in the Portal to get this info.\ninputRequestId=\"your-input-request-id\"\ninputStudyZones='\"studyzone-1\",\"studyzone-2\"'\noutputRequestId=\"your-input-output-id\"\noutputStudyZones='\"studyzone-1\",\"studyzone-2\"'\nstartTime=\"2020-10-04T00:00:00\"\nendTime=\"2020-10-06T00:00:00\"\n# See Swagger file for info on api request body\napi_path=\"home\"\napi_request_body='{\"input_geoid\": {\"requestId\": \"'${inputRequestId}'\",\"study_zone\": ['${inputStudyZones}']},\"output_geoid\": {\"requestId\": \"'${outputRequestId}'\",\"study_zone\": ['${outputStudyZones}']},\"start_time\": \"'$startTime'\",\"end_time\": \"'$endTime'\",\"time_bucket_size\": 15,\"exclusion_types\": []}'\n# Get access_token \naccess_token_expiry_time=`date`\ncurrent_date_time=`date`\necho \"Getting access token - current_date_time=$current_date_time\"\naccess_token_data=$(curl --request POST \\\n    --url \"${oauth_token_endpoint}\" \\\n    --header \"content-type: application/x-www-form-urlencoded\" \\\n    --data grant_type=${oauth_grant_type} \\\n    --data client_id=\"${oauth_client_id}\" \\\n    --data client_secret=\"${oauth_client_secret}\" \\\n    --data scope=\"${oauth_scope}\")\naccess_token=$(echo $access_token_data | jq --raw-output .access_token)\naccess_token_expiry_in_seconds=$(echo $access_token_data | jq --raw-output .expires_in)\naccess_token_expiry_time=$(date --date=\"+$(expr $access_token_expiry_in_seconds - 5) seconds\")\necho \"Authorization: Bearer ${access_token}\"\n# POST a Job\njobStartTime=`date \"+%Y-%m-%d %H:%M:%S\"`\njobData=$(curl --request POST \\\n    --url \"${location_api_url}/count/${api_path}\" \\\n    --header \"content-type: application/json\" \\\n    --header \"Authorization: Bearer ${access_token}\" \\\n    --header \"customerid: ${customerId}\" \\\n    --data \"${api_request_body}\")\n# Retrive the Job Id\necho \"jobData=${jobData}\"\njobId=$(echo $jobData | jq --raw-output .jobId)\necho \"jobId=$jobId\"\n# Check Job Results in a loop\necho \"Starting the GET loop for a job.........\"\nstatus=\"not-done\"\nwhile [ $status != \"COMPLETE\" ]\ndo\n    echo \"sleeping for $waitSecondsBeforeFetchingJobResults .... \"\n    sleep $waitSecondsBeforeFetchingJobResults\n    echo \"checking job status .... \"\n        # Refresh access_token if its  expiry time is in the past\n    current_date_time=`date`\n    if [[ $(date +%s -d\"$access_token_expiry_time\") -le $(date +%s -d\"$current_date_time\") ]]\n    then \n        echo \"Getting access token - access_token_expiry_time=$access_token_expiry_time, current_date_time=$current_date_time\"\n        access_token_data=$(curl --request POST \\\n            --url \"${oauth_token_endpoint}\" \\\n            --header \"content-type: application/x-www-form-urlencoded\" \\\n            --data grant_type=${oauth_grant_type} \\\n            --data client_id=\"${oauth_client_id}\" \\\n            --data client_secret=\"${oauth_client_secret}\" \\\n            --data scope=\"${oauth_scope}\")\n        access_token=$(echo $access_token_data | jq --raw-output .access_token)\n        access_token_expiry_in_seconds=$(echo $access_token_data | jq --raw-output .expires_in)\n        access_token_expiry_time=$(date --date=\"+$(expr $access_token_expiry_in_seconds - 5) seconds\")\n        # echo \"Authorization: Bearer ${access_token}\"\n    fi\n        results=$(curl --request GET \\\n    --url \"${location_api_url}/count/${api_path}/${jobId}\" \\\n    --header \"Authorization: Bearer ${access_token}\" \\\n    --header \"customerid: ${customerId}\")\n        # Check job status\n    # echo \"results=${results}\"\n    status=$(echo $results | jq --raw-output .status)\n    if [[ $status != \"COMPLETE\" ]]\n    then \n        echo \"Not complete yet, will poll again ...\"\n    else\n        jobEndTime=`date \"+%Y-%m-%d %H:%M:%S\"`\n        echo \"Results received ...............\"\n        echo \"status=$status. Job results saved to ${jobId}.json\"\n        echo \"Total time taken=$(expr $(date -d \"$jobEndTime\" \"+%s\") - $(date -d \"$jobStartTime\" \"+%s\")) seconds\"\n        echo \"$results\" &gt;&gt; ${api_path}.${jobId}.json\n    fi\ndone\n\n</code></pre>\n<h1 id=\"introduction-api-restrictions-and-usage\">Introduction - API Restrictions and Usage</h1>\n<h2 id=\"api-restrictions\">API Restrictions</h2>\n<p>Currently Rate-limiting is not implemented for the API. However, in order to ensure the API performance and stability, it is strongly recommended that all users follow the below limitations:</p>\n<h3 id=\"1-day-queries\">1 Day Queries</h3>\n<p>Minimum Time Bucket Size of 15 min is allowed for queries ranging up to 1 day period</p>\n<h3 id=\"30-day-queries\">30 Day Queries</h3>\n<p>Minimum Time Bucket Size of 60 min is allowed only for queries ranging up to 30 days period</p>\n<h3 id=\"more-than-30-day-queries\">More than 30 Day Queries</h3>\n<p>Minimum Time Bucket Size of 24 Hrs is allowed for queries more than 30 days</p>\n<h3 id=\"concurrent-queries\">Concurrent Queries</h3>\n<p>Only run 5 concurrent queries at a time. This includes queries submitted via the API and the portal.</p>\n<h3 id=\"query-volume\">Query Volume</h3>\n<p>Only run 10 queries per hour and 100 queries per day</p>\n<h2 id=\"usage-statistics\">Usage Statistics</h2>\n<p>We have now made available the usage statistics at an organization level to help you understand the overall API consumption. This feature primarily provides the following:</p>\n<ul>\n<li>Number of monthly API Calls</li>\n<li>Number of Study Zones queried</li>\n</ul>\n<p>This will enable you to understand and administer your organization's usage against the plan's limit.</p>\n<p>'Usage Statistics' option has been made available under 'Account Settings' as depicted below:</p>\n<img src=\"https://content.pstmn.io/ddccfedf-f4c5-434f-9c5e-cb671eca69b3/VXNhZ2UgU3RhdGlzdGljcy5wbmc=\">\n\n<p>By default, the statistics will be displayed for the current month and year which could be changed using the dropdowns.</p>\n<p>There are three parts to Usage Statistics.</p>\n<p><strong>Part 1:</strong> Primary information i.e. number of monthly API Calls and number of Study Zones queried for the selected month and year as depicted below:</p>\n<img src=\"https://content.pstmn.io/255c0dc0-d673-420a-954c-4f4b8643436e/Q2FyZCAxLnBuZw==\">\n\n<p><strong>Part 2:</strong> End-point wise breakdown of the total API Calls based on the selected month and year as depicted below:</p>\n<img src=\"https://content.pstmn.io/cedb941c-e0c5-4f13-9d87-3aa456b0a08b/Q2FyZCAyLnBuZw==\">\n\n<p><strong>Part 3:</strong> Comparison of total no. of API Calls and Study Zones queried in the current year (based on selection) and the previous year as depicted below:</p>\n<img src=\"https://content.pstmn.io/ccce0e69-0fe7-4025-87b1-e4e4ed855bf8/Q2FyZCAzLnBuZw==\">\n\n<h2 id=\"best-practices\">Best Practices</h2>\n<h3 id=\"query-processing-time\">Query Processing Time</h3>\n<p>The processing time is proportional to the complexity of the query and the volume of the data being fetched. In order to reduce the processing time, it is highly recommended to break down your queries for smaller date ranges.</p>\n<h3 id=\"oauth-token\">OAuth Token</h3>\n<p>When getting an OAuth Token from the Token URL, it is preferable that you reuse the token for specified amount of expiry seconds (present inside the token JSON and set to 299 seconds). That prevents the identity system from being overwhelmed.</p>\n<h3 id=\"wait-time-before-results\">Wait Time before results</h3>\n<p>The API is asynchronous, when a POST is submitted to start a job, a Job Id is returned. The job results can be fetched by doing a GET using the Job Id. It is recommended to wait a minimum of 5 minutes before submitting a GET for the results. Because the job results are not guaranteed within 5 minutes, we recommend that you create a loop to check the results based on the “status” field equal to “COMPLETE” that you get back in the API response.</p>\n<h3 id=\"volume-of-queries\">Volume of Queries</h3>\n<p>To protect our platform from overload, we recommend users not to exceed 10 queries on average per hour and 100 queries per day. Please note that these are averages for full POST and GET cycle of the request. This means that it is OK for you to submit (POST) 10 queries within a minute and then wait for them to complete (GET) within an hour.</p>\n<h1 id=\"getting-started\">Getting Started</h1>\n<p>We are invested in your success and wrote this guide to help you get started in the quickest and most optimal manner. This quick Start Guide will help you analyze your first study zone and unlock your first insights. Specifically, it will cover:</p>\n<ol>\n<li>Authentication</li>\n<li>Upload Shapefile</li>\n<li>Run a job</li>\n<li>Data Dictionary and Formats</li>\n<li>Exclusion Types</li>\n<li>API Function Descriptions</li>\n</ol>\n<h1 id=\"getting-started-authentication\">Getting Started - Authentication</h1>\n<h2 id=\"telus-insights-portal\">Telus Insights Portal</h2>\n<p>Authentication to Telus Insights Portal (<a href=\"https://insights.telus.com\">https://insights.telus.com</a>) will be done through Telus Client Identity. Two emails will be sent as a part of the onboarding process – first will be an informative email (from <a href=\"mailto:dlTelusInsights@telus.com\">dlTelusInsights@telus.com</a>) containing links to the Telus Insights Portal and our API Documentation and the other will be an activation/registration email through our Telus Client Identity system (<a href=\"mailto:do.not.reply@telus.com\">do.not.reply@telus.com</a>) that would allow you to create a password. The user ID is the email address.</p>\n<p>Note: If you are already registered with Telus Client Identity, you could start accessing Telus Insights Portal once you receive the informative email from <a href=\"mailto:dlTelusInsights@telus.com\">dlTelusInsights@telus.com</a>.</p>\n<h2 id=\"api\">API</h2>\n<p>To authenticate to the API - <a href=\"https://location-api.insights.telus.com\">https://location-api.insights.telus.com</a>, please refer to OAuth credentials (Client Id and Secret) and the configuration details on your 'My Account' page in Telus Insights Portal. More details could be found on the <a href=\"https://docs.insights.telus.com/#introduction-api-integrations\">API Integrations page</a>.</p>\n<h1 id=\"getting-started-shapefiles-and-study-zones\">Getting Started - Shapefiles and Study Zones</h1>\n<p>A study zone is a location, or set of locations defined as a geospatial boundary otherwise known as a “Geo Fence” that defines an area such as a Mall, an FSA, FSA-LDU or Census boundary.</p>\n<p>Before making a POST/GET request to the Count endpoint, areas of study needs to be defined. The areas of study are a list of “Study Zones” (aka polygons) defined within the shapefile. Each Study Zone will have a series of latitude and longitudes associated with the Study Zone.</p>\n<p>Each study area will be defined, uploaded and maintained in the system as a set of Latitude Longitude that encapsulate a geo fence.</p>\n<p>Before a user can query the Count endpoint, a study zone must be defined which includes a location, or group of locations you would like to include in analysis.</p>\n<p>You could either create your own <strong>Custom Shapefile</strong> using our shapefile endpoint or use one of the <strong>Public Shapefiles</strong> downloaded from <a href=\"https://www.statcan.gc.ca/en/geography?MM=1\">Stats Canada website</a> made available to you for your analysis.</p>\n<h2 id=\"public-shapefiles\">Public Shapefiles</h2>\n<p><strong>Public shapefiles</strong> are geo-spatial files that store standard areas defined by public Canadian authorities such as Census Subdivision (CSD) and Forward Sortation Areas (FSA).</p>\n<p><strong>Source of the files:</strong> <a href=\"https://www.statcan.gc.ca/en/geography?MM=1\">Stats Canada website</a></p>\n<p><strong>Type of files:</strong> Digital Boundary Files</p>\n<p><strong>Naming convention for shapefiles and study zones:</strong><br>Original shapefiles have been broken down into Provincial files. For uniformity, shapefile and study zone name length will follow the same length requirements for custom shapefiles/study zones i.e. shapefile name will be &lt;= 75 characters and study zone name length will be &lt;= 50 characters.<br>Following is the file and shapefile naming conventions:</p>\n<p><strong>CSD files:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>public_canada_csd_CensusYear_PRCode_PRUID.zip\n\n</code></pre><p>Census Year is the year for which file is available, PR Code is the province/territory code and PRUID is the unique identifier for each province/territory.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Example shapefile name: public_canada_csd_2021_bc_59.zip\nExample RequestID: public-canada-csd-2021-bc-59-zip-{random GUID}\n\n</code></pre><p>For study zones, naming convention is 'CSD Name' followed by 'CSD Type'. There are about 50 CSDs which have duplicate CSD Name and Type combination; to uniquely identify these CSDs in the system, 'DGUID' has been appended into the study zone name.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Example without DGUID: Victoria(CY)\nExample with DGUID: Okanagan (Part) 1(IRI)(5937801)\n\n</code></pre><p>References: <a href=\"https://www12.statcan.gc.ca/census-recensement/2021/ref/dict/az/index-eng.cfm\">Dictionary, Census of Population, 2021</a></p>\n<p><strong>FSA files:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>public_canada_fsa_CensusYear_PRCode_PRUID.zip\n\n</code></pre><p>Census Year is the year for which file is available, PR Code is the province/territory code and PRUID is the unique identifier for each province/territory.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Example shapefile name: public_canada_fsa_2021_bc_59.zip\nExample RequestID: public-canada-fsa-2021-bc-59-zip-{random GUID}\n\n</code></pre><p>For study zones, CFSAUID which uniquely identifies a forward sortation area composed of three alphanumeric characters.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>Example: V3T\n\n</code></pre><p>References: <a href=\"https://www150.statcan.gc.ca/n1/pub/92-179-g/2011001/tech-eng.htm\">Forward Sortation Area, Boundary File, Reference Guide</a></p>\n<p><strong>Release dates:</strong></p>\n<p>CSD Files: 2021</p>\n<p>FSA Files: 2021</p>\n<p><strong>How to use Public Shapefiles:</strong><br>Public Shapefiles are made available on the Job Tool screen below the Custom Shapefiles under Shapefile/RequestID drop-down list as depicted below.</p>\n<img src=\"https://content.pstmn.io/ee620fae-7e97-4e72-8e62-1ce930d9c05e/am9idG9vbF80LnBuZw==\">\n\n<p>Geofence endpoint will also return the list of Public Shapfile Request IDs below the Custom Shapefile Request IDs list.</p>\n<p><strong>Future Changes:</strong> A separate section under 'Study Zone Management' in the Portal to view details of Public Shapefiles.</p>\n<h2 id=\"uploading-a-shapefile--preparing-your-study-zones\">Uploading a shapefile / preparing your Study Zones</h2>\n<p>This section explains the process of uploading custom shapefiles.</p>\n<p>The system supports multiple formats including Google’s KML (Keyhole Markup Language), ESRI Shapefiles and GeoJson.</p>\n<p>Our shapefile endpoint allows you to do the following:</p>\n<ul>\n<li>Upload your own unique shapefiles and polygons (study zones/areas)</li>\n<li>Polygons could be anything including but not limited to:<ul>\n<li>Province</li>\n<li>City</li>\n<li>Region</li>\n<li>Postal codes</li>\n</ul>\n</li>\n<li>Shapefile information including study zone names are stored for future use</li>\n<li>This information is stored in our application database for fast processing</li>\n</ul>\n<p>Once the shapefile has been accepted by the system, it will return a <code>requestID</code>. This <code>requestID</code>, once processed, along with the Study Zone names will be what you use to make the calls to the Count endpoints.</p>\n<h3 id=\"shapefile-format-requirements\">Shapefile format requirements</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Requirements</th>\n<th>Details</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Format</td>\n<td>.kml (Google Keyhole Markup)  <br>.zip (ESRI Shapefile)  <br>.json</td>\n</tr>\n<tr>\n<td>Formats in ZIP file</td>\n<td>.dbf, .prj, .shp, .shx, .cpg</td>\n</tr>\n<tr>\n<td>Max File Size</td>\n<td>25 MB</td>\n</tr>\n<tr>\n<td>Max Row Size for Study Zone</td>\n<td>4 MB</td>\n</tr>\n<tr>\n<td>Column Names</td>\n<td>Add 'study_zone' column and list out all relevant polygon coordinates</td>\n</tr>\n<tr>\n<td>Max no. of Study Zones</td>\n<td>2000</td>\n</tr>\n<tr>\n<td>File name length</td>\n<td>75 characters</td>\n</tr>\n<tr>\n<td>Study Zone name length</td>\n<td>50 characters</td>\n</tr>\n<tr>\n<td>Study Zone name</td>\n<td>1. Must be unique  <br>2. Must NOT contain backslashes or quotation marks  <br>3. Cannot be changed after upload</td>\n</tr>\n<tr>\n<td>Polygon Coordinates</td>\n<td>Our system only handles flat geometries i.e. the coordinates must be two dimensional  <br>Sample coordinates: -100.0000000, 50.0000000  <br>If the shapefile contains a third dimension (Z), the same will be ignored and only the X and Y coordinates will be stored for processing.  <br>Sample coordinates with third dimension: -100.0000000, 50.0000000, 2  <br>Coordinates stored for processing: -100.0000000, 50.0000000</td>\n</tr>\n</tbody>\n</table>\n</div><img src=\"https://content.pstmn.io/1719071e-cd75-4723-b835-da0fbce7d9ae/U2hhcGVmaWxlXzUucG5n\">\n\n<img src=\"https://content.pstmn.io/c82978d4-c1bb-4898-a73c-87ebb28a6abf/dXBsb2FkX3NoYXBlZmlsZV82LnBuZw==\">\n\n<h1 id=\"getting-started-run-a-job\">Getting Started - Run a job</h1>\n<p>We can run a job through below two options:</p>\n<ul>\n<li><strong>Insights Developer Portal</strong></li>\n<li><strong>Rest API</strong></li>\n</ul>\n<h2 id=\"insights-developer-portal\">Insights Developer Portal</h2>\n<p>Insights Developer Portal have the ability to test, explore all the API endpoints through Insights Developer Portal, by selecting a job type in Data Job tool.</p>\n<img src=\"https://content.pstmn.io/4fa8bd64-89ad-4b59-abca-c1200b180084/SW5zaWdodHMgRGV2ZWxvcGVyIFBvcnRhbC5wbmc=\">\n\n<p>You can also edit an existing job and re-run it from View Data Jobs screen.</p>\n<h2 id=\"rest-api\">Rest API</h2>\n<h3 id=\"asynchronous-computation\">Asynchronous Computation</h3>\n<ul>\n<li>When a request is submitted, the client application makes a synchronous call to the API, triggering a long-running operation on the backend on the order of seconds or minutes.</li>\n<li>API responds synchronously as quickly as possible. It returns an HTTP 202 (Accepted) status code, acknowledging that the request has been received for processing.</li>\n<li>API validates both the request and the action to be performed before starting the long running process. If the request is invalid, API will reply immediately with an error code such as HTTP 400 (Bad Request).</li>\n<li>While the request is still pending, the status endpoint returns HTTP 202 status code and request status as \"Processing\". Once the request is complete, the status endpoint will return required results which indicates completion of request.</li>\n</ul>\n<img src=\"https://content.pstmn.io/c1ce7978-1367-48c4-926b-8979efbf0f25/cmVxdWVzdF9mbG93XzgucG5n\">\n\n<h2 id=\"job-queues\">Job Queues</h2>\n<p>We use a two part POST and GET method when making a call to our Endpoints. The POST request will validate the request and return a job ID, which should then be used to obtain the results via the GET request.</p>\n<p>Queries are processed based on available computation space.</p>\n<p>Most of the time, your results will be available on your first <code>GET</code> call. If it is not, it could be because your request is very large, or the server is busy. In this case, you may need to check the status of your request more than once. As a best practice, retry <code>GET</code> every 5 minutes.</p>\n<p>The schema below shows a typical workflow for a study using the Location API. First, you will post your postRequest. Then you will post your getRequest to retrieve the status of your task.</p>\n<h2 id=\"https-post-request\">HTTPS POST request</h2>\n<p>The data processing from the API calls are computed asynchronously. This means that you won't get the results of your call immediately. You will be returned a JobID, which represents the request you have made for the system.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"jobId\": \"84f4a1ba-a0d7-41d8-bc09-944440da6476\",\n  \"link\": {\n    \"rel\": \"dwelltime\",\n    \"url\": \"/count/dwelltime/84f4a1ba-a0d7-41d8-bc09-944440da6476\"\n  }\n}\n\n</code></pre>\n<p>There are multiple ways to POST a request to a REST API.</p>\n<p><strong>Best Practices:</strong></p>\n<ul>\n<li>Use an extension for your browser such as:<ul>\n<li>Chrome: Postman, Advanced REST Client</li>\n<li>Firefox: REST Easy, RESTClient</li>\n</ul>\n</li>\n<li>As a POST method, parameters of the request are not directly included in the URL. You need to attach them to your request.</li>\n<li>The parameters/arguments are always in JSON format, with the returned response always in JSON.</li>\n<li>The specific parameters depend on the API function you want to call.<ul>\n<li>The JSON response can be converted easily to CSV / excel using a variety of tools from the internet.</li>\n</ul>\n</li>\n</ul>\n<p>To find more information on what arguments to pass, please refer to the <a href=\"https://docs.insights.telus.com/#count-apis-reference-section\">API's Reference section</a></p>\n<h2 id=\"https-get-request\">HTTPS GET request</h2>\n<p>To get the status of your POST request, you need to send a request to the corresponding getRequest method using JobID generated during POST request for the respective API endpoint.</p>\n<ul>\n<li>After GET request is submitted, if the computation is completed, this method will return the results similar to below results.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"requestId\": \"51a11295-2a94-40ac-82e5-29161faf9000\",\n  \"study_zones\": [\n    {\n      \"geoid\": \"Kelowna\",\n      \"buckets\": [\n        {\n          \"bucket\": \"2019-01-01T00:00:00\",\n          \"0-15\": 35900\n        }\n      ]\n    }\n  ],\n  \"bucket_size\": 1440,\n  \"start_time\": \"2019-01-01T00:00:00\",\n  \"end_time\": \"2019-01-02T00:00:00\"\n}\n\n</code></pre>\n<ul>\n<li>Otherwise it will return a status of PROCESSING until request is completed.</li>\n</ul>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"jobId\": \"84f4a1ba-a0d7-41d8-bc09-944440da6476\",\n  \"status\": \"Processing\",\n  \"link\": {\n    \"rel\": \"dwelltime\",\n    \"url\": \"/count/dwelltime/84f4a1ba-a0d7-41d8-bc09-944440da6476\"\n  }\n}\n\n</code></pre>\n<h1 id=\"getting-started-data-dictionary-and-formats\">Getting Started - Data Dictionary and Formats</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Data Attribute</th>\n<th>Data Type</th>\n<th>Format</th>\n<th>Min / Max Values</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>dwell_time_bucket</code></td>\n<td>Integer</td>\n<td>0</td>\n<td>Min = 0  <br>Max = no max</td>\n<td>Specifically for the Dwell time API. This is to group count based on dwell time for each study zone. This is value in minutes. For e.g. when dwell_time_bucket is set to 60, output will contain dwell time bukcets as 0-60, 61-120, 121-180</td>\n</tr>\n<tr>\n<td><code>time_bucket_size</code></td>\n<td>Integer</td>\n<td>0</td>\n<td>Min = 0, Max=no max</td>\n<td>Bucket size defines the number of minutes the result will be broken down into. For example 30 would mean the bucket time increment size is 30 minute aggregates or 1440 would mean the data is aggregated by day. Bucket size does not have a minimum or max limit, except for Demographic endpoint which has 1440 as a minimum value. By not selecting bucket size, it will return a collective number for the entire time period specified within the start to end date period.</td>\n</tr>\n<tr>\n<td><code>timeframe_bucket</code></td>\n<td>Integer</td>\n<td>0</td>\n<td>Min = 0, Max=no max</td>\n<td>Timeframe bucket defines the timeframe ie date of each bucket. For example 2020-10-04T13:15:00:00.</td>\n</tr>\n<tr>\n<td>timezone</td>\n<td>String</td>\n<td>UTC</td>\n<td></td>\n<td>Timezone for request. Valid values are UTC, AST, CST, EST, PST, MST and NST. Default is UTC</td>\n</tr>\n<tr>\n<td><code>start_time</code></td>\n<td>String</td>\n<td>2020-01-03T00:00:00</td>\n<td>Min=2019-01-01T00:00:00, Max=present day</td>\n<td>Start time for request. We use the ISO8601 format for all our start and end times.</td>\n</tr>\n<tr>\n<td><code>end_time</code></td>\n<td>String</td>\n<td>2020-01-03T01:00:00</td>\n<td>Min=2019-01-01T00:00:00, Max=present day</td>\n<td>End time for request</td>\n</tr>\n<tr>\n<td><code>job_id</code></td>\n<td>Alpha-numeric</td>\n<td>84f4a1ba-a0d7-41d8-bc09-944440da6476</td>\n<td></td>\n<td>Unique identifier generated when a POST request is made via the query end points</td>\n</tr>\n<tr>\n<td><code>customer_id</code></td>\n<td>Alpha-numeric</td>\n<td>84f5f015-658e-4f9b-829e-a8b9c89324b4</td>\n<td></td>\n<td>This is the unique ID generated when \"Create Customer ID\" is performed which creates the association of a customer with their unique API key.</td>\n</tr>\n<tr>\n<td><code>request_id</code></td>\n<td>Alpha-numeric</td>\n<td>51a11295-2a94-40ac-82e5-29161faf9000</td>\n<td></td>\n<td>This is the unique ID generated for each shapefile that has been uploaded</td>\n</tr>\n<tr>\n<td><code>study_zone</code></td>\n<td>String</td>\n<td>Toronto</td>\n<td></td>\n<td>This is the name/label of the study area (polygon) defined based on the shapefile upload. For example, your study zone could be a city, province, or even a POI like \"Roger's Centre\"</td>\n</tr>\n<tr>\n<td><code>exclusion_type</code></td>\n<td>Array</td>\n<td>Worker</td>\n<td></td>\n<td>This is further segmenting the type of individuals who are within that particular area. We have the following types: Resident, Non-Resident, Worker, Non-Worker. You cannot select Resident / Non-resident together, or Worker / Non-Worker together.</td>\n</tr>\n<tr>\n<td><code>min_dwell_time</code></td>\n<td>Integer</td>\n<td>0</td>\n<td>Min = 15, Max=no max</td>\n<td>This is the minimum time threshold (in minutes) for a user to have dwelled within the location. The time window between Min and Max Dwell must be a greater than 15 minutes</td>\n</tr>\n<tr>\n<td><code>max_dwell_time</code></td>\n<td>Integer</td>\n<td>0</td>\n<td>Min = 15, Max=no max</td>\n<td>This is the max time threshold (in minutes) for a user to have dwelled within the location. The time window between Min and Max Dwell must be greater than 15 minutes.</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td><code>input_geoid</code></td>\n<td>Alpha-numeric</td>\n<td>2c7f6019-91a0-41e3-8e57-3250447bd902.Downtown</td>\n<td></td>\n<td>This is to specify the query we are doing on a particular location. This is made up of a request ID, and one or more study zones.</td>\n</tr>\n<tr>\n<td><code>output_geoid</code></td>\n<td>String</td>\n<td>Kelowna</td>\n<td></td>\n<td>Output is used when we want to break down the input of a particular study zone, which has been specified as a part of input_geoid.  <br>For example Input could be Toronto, and the outputs could be broken down by suburb, ie Annex, Liberty Village, Ossington etc.</td>\n</tr>\n<tr>\n<td><code>geoid</code></td>\n<td>String</td>\n<td>Vancouver</td>\n<td></td>\n<td>This is the names of each of the study zones (polygons) that have been uploaded via the shapefiles. This could be province names, city names, regions, postcodes (these are all mapped to a series of latitudes/longitudes). Geo-ID is the same as Study Zone, however it is the name used on the GET return as opposed with Study Zone which is used on the POST request.</td>\n</tr>\n<tr>\n<td><code>topic</code></td>\n<td>String</td>\n<td>Hindi</td>\n<td></td>\n<td>The topics are a list of demographics that can be selected as part of the input parameters within the Demographic endpoint.</td>\n</tr>\n<tr>\n<td><code>primary_threshold</code></td>\n<td>Decimal</td>\n<td>0.5</td>\n<td>Min = 0, Max = 1</td>\n<td>is a value between 0 and 1 and set the bounds at which the equation will separate out the primary, secondary and tertiary zones.</td>\n</tr>\n<tr>\n<td><code>secondary_threshold</code></td>\n<td>Decimal</td>\n<td>0.5</td>\n<td>Min = 0, Max = 1</td>\n<td>is a value between 0 and 1 and set the bounds at which the equation will separate out the secondary and tertiary zones.</td>\n</tr>\n<tr>\n<td><code>count_weight</code></td>\n<td>Decimal</td>\n<td>0.4</td>\n<td>Min = 0, Max = 1</td>\n<td>A value between 0 and 1 that represents how important the unique count from the given output should be in selecting if the area is a primary, secondary or tertiary area.</td>\n</tr>\n<tr>\n<td><code>trip_weight</code></td>\n<td>Decimal</td>\n<td>0.4</td>\n<td>Min = 0, Max = 1</td>\n<td>A value between 0 and 1 that represents how important the total trips from the given output should be in selecting if the area is a primary, secondary or tertiary area.</td>\n</tr>\n<tr>\n<td><code>distance_weight</code></td>\n<td>Decimal</td>\n<td>0.4</td>\n<td>Min = 0, Max = 1</td>\n<td>A value between 0 and 1 that represents how important the distance from the given output should be in selecting if the area is a primary, secondary or tertiary area.</td>\n</tr>\n<tr>\n<td><code>cross_zone_analysis</code></td>\n<td>Boolean</td>\n<td>true/false</td>\n<td></td>\n<td>'Cross-zone Analysis' will return the count of devices that visited all of the selected study zones. It is suggested to not break down results using time bucket size while conducting cross-zone analysis. Default value is <code>false</code>  <br></td>\n</tr>\n<tr>\n<td><code>pass_through_geoid</code></td>\n<td>Object</td>\n<td><code>\"pass_through_geoid\": { \"requestId\": \"4693-89d5-1683d2774704\", \"study_zone\": [\"Seven Oaks\"] },</code></td>\n<td></td>\n<td>Specifically for Origin and Destination end-points. With pass-through study zone(s) selected, these end-points will return the counts of devices which travelled from Origin to Destination via the study zone(s) selected under pass-through geo-id.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"getting-started-exclusion-types\">Getting Started - Exclusion Types</h1>\n<p>Exclusion types are ways to segment the query down further to exclude / include certain types of devices based on segmentation such as demographic, identity, or other defined categories.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Exclusion</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>residents</td>\n<td>A device who's assumed Primary neighbourhood falls under the defined study zone.</td>\n</tr>\n<tr>\n<td>non-residents</td>\n<td>A device who's assumed Primary neighbourhood falls outside of the defined study zone.</td>\n</tr>\n<tr>\n<td>workers</td>\n<td>A device who's assumed Secondary neighbourhood falls under the defined study zone.</td>\n</tr>\n<tr>\n<td>non-workers</td>\n<td>A device who's assumed Secondary neighbourhood falls outside of the defined study zone.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"api-descriptions\">API Descriptions</h1>\n<h2 id=\"shapefile-study-zone-management\">Shapefile (Study Zone Management)</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Endpoint</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Create New Area (upload a shapefile)</td>\n<td>Please refer to 'Uploading a shapefile / preparing your Study Zones' section under 'Getting Started - Shapefiles and Study Zones'</td>\n</tr>\n<tr>\n<td>Status (retreive status of the shapefile)</td>\n<td>Check the status of the shapefile, to ensure it has been processed sucessfully</td>\n</tr>\n<tr>\n<td>Geofence report</td>\n<td>See a list of uploaded shapefiles.  <br>This report will also include the list of public shapefiles appended below the list of custom shapefiles uploaded by that user.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"count\">Count</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Unique</td>\n<td>Returns the number of unique devices available in the input study zone based on the input parameters.</td>\n<td>How many unique devices visited Vancouver on May 1, 2022 between 9 AM and 1 PM.</td>\n</tr>\n<tr>\n<td>Origin</td>\n<td>Returns the count of devices with trips origination from each output study zone (origin) and terminating to each input study zone (destination) as specified by the input parameters.</td>\n<td>How many devices traveled from Vancouver (Origin) to Burnaby (Destination) on 1st May, 2022 between 9 AM and 1 PM.</td>\n</tr>\n<tr>\n<td>Destination</td>\n<td>Returns the count of devices with trips origination from each input study zone (origin) and terminating to each output study zone (destination) as specified by the input parameters.</td>\n<td>How many devices traveled from Vancouver (Origin) to Burnaby (Detination) on 1st May, 2022 between 9 AM and 1 PM.</td>\n</tr>\n<tr>\n<td>OD Matrix</td>\n<td>OD Matrix end-point performs travel analysis (people movement analysis) between two or more study areas. It returns the count of devices that traveled along with the total no. of trips between the matrix (select study zones/areas) as specified by the input parameters.</td>\n<td>No. of devices traveled from Vancouver (Origin) to Burnaby (Destination) and vice versa i.e. no. of devices that traveled from Burnaby (Origin) to Vancouver (Destination) along with the toal no. of trips on April 10, 2022 between 9 AM and 1 PM.</td>\n</tr>\n<tr>\n<td>Dwell Time</td>\n<td>Returns the unqiue number of devices available based on their dwell times in the input study zone as specified by the input parameters.</td>\n<td>How many devices spent between 30 to 90 minutes in Vancouver on May 1, 2022 between 9 AM and 1 PM.</td>\n</tr>\n<tr>\n<td>Total Trips</td>\n<td>Returns the total number of trips made by devices to a study zone over a give period of time based on the input parameters.</td>\n<td>How many trips did devices take to Vancouver on April 1, 2022 between 9 AM and 1 PM.</td>\n</tr>\n<tr>\n<td>Work</td>\n<td>Returns the count of devices available in each input study zone broken-down by their corresponding assumed Work neighbourhood (output study zone) as specified by the input parameters.</td>\n<td>How many devices were at Burnaby (visiting location) on May 1, 2022 between 9 AM and 1 PM whose assumed Work neighbourhood was Vancouver.</td>\n</tr>\n<tr>\n<td>Home</td>\n<td>Returns the counts of devices available in each input study zone broken-down by their corresponding assumed Home Location (output study zone) as specified by the input parameters.</td>\n<td>How many devices were at Burnaby (visting location) on May 1, 2022 between 9 AM and 1 PM whose assumed Home Location was Vancouver.</td>\n</tr>\n<tr>\n<td>Demographic</td>\n<td>Provides the probalistic demographic breakdown based on the census data of the assumed Home Location of the devices that were available in the study zone specified under \"input geo-id\" and the input parameters.</td>\n<td>What is the age range wise percentage of people available in Vancouver on May 1, 2022 between 9 AM and 2 PM.</td>\n</tr>\n<tr>\n<td>Repeat Visitation</td>\n<td>Returns the number of unique devices available in the study zone more than once as specified by the input parameters.</td>\n<td>How many devices went to Vancouver on May 1, 2022 more than once between 9 AM and 1 PM.</td>\n</tr>\n<tr>\n<td>Trade Area</td>\n<td>Returns for each study zone selected in \"output geo-id\", a list of classification (Primary/Secondary/Tertiary) for the study zone selected in \"input geo-id\".</td>\n<td>What would the trade category of Vancouver and Abbotsford for business in Surrey.</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"api-descriptions-destination\">API Descriptions - Destination</h1>\n<h3 id=\"description\">Description</h3>\n<p>Destination end-point returns the count of devices with trips originating from each input study zone and terminating to each output study zone as specified by the input parameters.</p>\n<p>Study zone specified within the “input geo-id” is considered to be the Origin whereas the study zone specified within the “output geo-id” is considered to be the Destination.</p>\n<p>For a device to be qualified in the output, the trip must start (originate) and end (terminate) between the specified start and end times.</p>\n<h3 id=\"pass-through\">Pass-through</h3>\n<p>In addition to the above, Destination end-point also provides an option to select pass-through study zones.</p>\n<p>With pass-through study zone(s) selected, Destination end-point will return the count of devices with trips originating from the study zone selected under input geo-id, passing through the study zones(s) selected pass-through geo-id and terminating to study zone selected under output geo-id.</p>\n<p>In case of multiple study zones selected under pass-through, the sequence of the trip will be determined based on the order in which the pass-through study zones have been selected.</p>\n<p>Consider a scenarion wherein two study zones 'A' and 'B' have been selected under pass-through geo-id. The output would only contain the count of devices which travelled from Origin-&gt;A-&gt;B-&gt;Destination. Devices travelling through an alterate route from Origin to Destination for e.g., Origin-&gt;A-&gt;Destination or Origin-&gt;B-&gt;Destination or Origin-&gt;B-&gt;A-&gt;Destination will not be included in the output.</p>\n<h3 id=\"example\">Example</h3>\n<p>How many devices travelled from Vancouver (Origin) to Burnaby (Destination) on May 1, 2022 between 9 AM and 1 PM.</p>\n<p>How many devices travelled from Vancouver (Origin) to Surrey (Destination) via Burnaby (Pass-through) on May 1, 2022 between 9 AM and 1 PM.</p>\n<h3 id=\"dwell-time\">Dwell Time</h3>\n<p>Minimum and Maximum Dwell Times can be specified independently for study zones within each group i.e. Origin, Destination and Pass-through study zones or can be specified globally which will be applied to all the study zones across all groups.</p>\n<p>Consider a device traveling from Vancouver to Burnaby dwelled for 30 minutes in Vancouver as well as Burnaby.</p>\n<p>In this case, if the Minimum Dwell Time is set to anything in excess of 30 minutes, this device will be excluded from the output; similarly, if the Maximum Dwell Time is set to anything less than 30 minutes will also exclude this device from the output.</p>\n<h3 id=\"exclusions\">Exclusions</h3>\n<p>Exclusion Types selected will remove the devices from the study area considered to the Destination.</p>\n<p>Consider a resident device of Vancouver who traveled from Vancouver to Burnaby during the specified study period. In this case, excluding ‘Residents’ will exclude the device from the output.</p>\n<h3 id=\"bucketing\">Bucketing</h3>\n<p>Devices are bucketed based on when the trip originated from the study area considered to be the Origin.</p>\n<p>Consider a case wherein the Start Time and End Time are specified as 9 AM and 1 PM respectively, and the Time Bucket Size is set to 120 minutes; output will be comprised of two buckets: Bucket 1 from 9 AM to 11 AM and Bucket 2 from 11 AM to 1 PM. Device traveling from Vancouver to Burnaby started from Vancouver at 10:30 AM reached Burnaby at 12:30 PM.</p>\n<p>In this case, the device will be forming a part of output under Bucket 1.</p>\n<h1 id=\"api-descriptions-demographic\">API Descriptions - Demographic</h1>\n<h3 id=\"description-1\">Description</h3>\n<p>Demographic end-point provides the probabilistic demographic breakdown based on the census data of the Home Location of the devices that were available in the study zone specified under “input geo-id” and the input parameters.</p>\n<h2 id=\"topics\">Topics</h2>\n<p>Following are the topics available within the Demographic end-point which could be selected as an input parameter:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Topic</th>\n<th>Examples Characteristic</th>\n<th>Example Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Marital Status</td>\n<td>Married  <br>Divorced  <br>Living Common Law</td>\n<td>45%  <br>35%  <br>20%</td>\n</tr>\n<tr>\n<td>Age characteristics</td>\n<td>20 to 24 years  <br>35 to 39 years</td>\n<td>10%  <br>25%</td>\n</tr>\n<tr>\n<td>First official language spoken</td>\n<td>English  <br>French</td>\n<td>50%  <br>35%</td>\n</tr>\n<tr>\n<td>Family characteristics - Family size</td>\n<td>2 persons  <br>3 persons</td>\n<td>45%  <br>35%</td>\n</tr>\n<tr>\n<td>Household and dwelling characteristics - Household size</td>\n<td>Apartment  <br>Detached house  <br>Semi-detached house</td>\n<td>42%  <br>16%  <br>26%</td>\n</tr>\n<tr>\n<td>Income of households in 2015 - Household total income groups in 2015 for private households</td>\n<td>$10,000 to $14,999  <br>$50,000 to $59,999</td>\n<td>12%  <br>44%</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"example-1\">Example</h3>\n<p>What is the age range wise percentage of people available in Vancouver on May 01, 2022 between 9 AM and 2 PM.</p>\n<h1 id=\"api-descriptions-dwell-time\">API Descriptions - Dwell Time</h1>\n<p>Dwell Time end-point returns the unique number of devices available based on their dwell times in the input study zone as specified by the input parameters.</p>\n<p>Similar to Unique end-point, Dwell Time end-point analyzes each zone independently and hence contains only \"input geo-id\" as an input.</p>\n<h3 id=\"example-2\">Example</h3>\n<p>How many devices spent between 30 to 90 minutes in Vancouver on May 1, 2022 between 9 AM and 1 PM.</p>\n<h3 id=\"dwell-time-1\">Dwell Time</h3>\n<p>Minimum and Maximum Dwell Times are applied to the study zone specified under \"input geo-id\".</p>\n<p>Note: Specifying Maximum Dwell Time is mandatory for Dwell Time end-point.</p>\n<p>Consider a device was available at Vancouver for 40 minutes during the specified study period.</p>\n<p>In this case, if the Minimum Dwell Time is set to anything in excess of 40 minutes irrespective of the Maximum Dwell Time specified, the device will be excluded from the output; similarly, if the Maximum Dwell Time is set to anything less than 40 minutes, this device will be excluded from the output.</p>\n<p>Dwell Time is calculated for each independent event and not cumulated for a device based on study period. Consider a case wherein device was available twice at Vancouver; initially from 9:00 AM to 9:30 AM (dwell time of 30 minutes) and then again from 12:15 to 1:05 PM (dwell time 50 minutes). Both these occurrences are considered to be two independent events.</p>\n<p>In this case, if the Maximum Dwell Time is set to 40 minutes, this device will be forming a part of the output due to the first event from 9 AM to 9:30 AM. In the second query, if the Minimum Dwell Time is set to 40 minutes and Maximum Dwell Time is set to 60 minutes, the same device will again be forming a part of the output, this time due to the second event from 12:15 PM to 1:05 PM.</p>\n<p>If the Minimum Dwell Time is set to 30 minutes and the Maximum Dwell Time is set to 60 minutes, there's a probability wherein both these events will be forming a part of the output which is further explained under Dwell Time Bucketing below.</p>\n<h3 id=\"dwell-time-bucketing\">Dwell Time Bucketing</h3>\n<p>Dwell Time Bucket Size will bucket the devices based on their dwell times.</p>\n<p>Note: Specifying Dwell Time Bucket Size is mandatory for Dwell Time end-point and the value cannot be more than the Maximum Dwell Time.</p>\n<p>Consider a case wherein the Start Time and End Time are specified as 9 AM and 1 PM respectively, Minimum and Maximum Dwell Times are specified as 30 and 60 respectively and the Dwell Time Bucket is specified as 15; output will be comprised of two dwell buckets: Dwell Time Bucket 1 from 30 minutes to 45 minutes and Dwell Time Bucket 2 from 46 minutes to 60 minutes.</p>\n<p>A device was available twice at Vancouver; initially from 9:00 AM to 9:30 AM (dwell time of 30 minutes) and then again from 12:15 PM to 1:05 PM (dwell time of 50 minutes). Both these occurrences are considered to be two independent events.</p>\n<p>In the above scenario, the same device will be forming a part of both the Dwell Time Buckets. Bucket 1 due to event 1 from 9:00 AM to 9:30 AM and under Bucket 2 due to event 2 from 12:15 PM to 1 PM.</p>\n<h3 id=\"bucketing-1\">Bucketing</h3>\n<p>Devices are bucketed based on their dwell start time in the study zone.</p>\n<p>Considering the same scenario mentioned under Dwell Time Bucketing section above with a Time Bucket Size of 120 minutes; the output will be comprised of 4 buckets (two time buckets and two dwell time buckets; one for each time bucket) as depicted wiht the help of a table below:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Time Bucket Size</th>\n<th>Dwell Time From</th>\n<th>Dwell Time To</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>9 AM to 11 AM</td>\n<td>30</td>\n<td>45</td>\n</tr>\n<tr>\n<td>9 AM to 11 AM</td>\n<td>46</td>\n<td>60</td>\n</tr>\n<tr>\n<td>11 AM to 1 PM</td>\n<td>30</td>\n<td>45</td>\n</tr>\n<tr>\n<td>11 AM to 1 PM</td>\n<td>46</td>\n<td>6</td>\n</tr>\n</tbody>\n</table>\n</div><p>The output will be as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Time Bucket Size</th>\n<th>Dwell Time From</th>\n<th>Dwell Time To</th>\n<th>Count</th>\n<th>Reason</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>9 AM to 11 AM</td>\n<td>30</td>\n<td>45</td>\n<td>1</td>\n<td>Event 1 start time is 9:00 AM and hence falls under Time Bucket 9 AM to 11 AM and the device dwelled for 30 minutes and hence falls under Dwell Time Bucket 30 to 45</td>\n</tr>\n<tr>\n<td>9 AM to 11 AM</td>\n<td>46</td>\n<td>60</td>\n<td>0</td>\n<td></td>\n</tr>\n<tr>\n<td>11 AM to 1 PM</td>\n<td>30</td>\n<td>45</td>\n<td>0</td>\n<td></td>\n</tr>\n<tr>\n<td>11 AM to 1 PM</td>\n<td>46</td>\n<td>6</td>\n<td>1</td>\n<td>Event 2 start time is 12:15 PM and hence falls under Time Bucket 11 AM to 1 PM and device dwelled for 50 minutes and hence falls under Dwell Bucket 46 to 60</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"exclusions-1\">Exclusions</h3>\n<p>Based on Exclustion Type selected, devices will be identified and removed from the study area selected under \"inpute geo-id\".</p>\n<p>Consider a scenario wherein Dwell Time Analysis is required to be conducted for the devices who are identified as Workers in Vancouver. In this case, excluding 'Non-Workers' will provide the required output.</p>\n<h1 id=\"api-descriptions-home\">API Descriptions - Home</h1>\n<h3 id=\"description-2\">Description</h3>\n<p>The Home end-point returns count of devices available in each input study zone broken-down by their corresponding Home Location as specified by the input parameters.</p>\n<p>Study zone specified within the \"input geo-id\" is considered to be the visiting location whereas the study zone specified within the \"output geo-id\" is considered to be the Home location.</p>\n<p>All the devices available in the visiting location between the specified start and end times will be qualified to be forming a part of the output.</p>\n<h3 id=\"example-3\">Example</h3>\n<p>How many devices were at Burnaby (Visiting Location) on May 1, 2022 between 9 AM and 1 PM whose Home Location was Vancouver.</p>\n<h3 id=\"dwell-time-2\">Dwell Time</h3>\n<p>Minimum and Maximum Dwell Time is only applied to the study zone specified within the “input geo-id” i.e. the study zone considered to be the Visiting Location.</p>\n<p>Consider a resident device of Vancouver was at Burnaby for 20 minutes during the specified study period.</p>\n<p>In this case, if the Minimum Dwell Time is set to anything in excess of 20 minutes, this device will be excluded from the output; similarly, if the Maximum Dwell Time is set to anything less than 20 minutes will also exclude this device from the output.</p>\n<h3 id=\"exclusions-2\">Exclusions</h3>\n<p>Based on the Exclusion Types selected, devices will be identified and removed from the study area considered to be the Visiting Location.</p>\n<p>Consider a resident device of Vancouver who’s work location is Burnaby and was at Burnaby during the specified study period. In this case, excluding ‘Workers’ will exclude this device from the output.</p>\n<h3 id=\"bucketing-2\">Bucketing</h3>\n<p>Devices are bucketed based on their availability in the study zone considered to be the Visiting Location.</p>\n<p>Consider a case wherein the Start Time and End Time are specified as 9 AM and 1 PM respectively, and the Time Bucket Size is set to 120 minutes; output will be comprised of two buckets: Bucket 1 from 9 AM to 11 AM and Bucket 2 from 11 AM to 1 PM. Resident device of Vancouver was available at Burnaby from 10 AM to 10:20 AM.</p>\n<p>In this case, this device will be forming a part of output under Bucket 1.</p>\n<h1 id=\"api-descriptions-od-matrix\">API Descriptions - OD Matrix</h1>\n<h3 id=\"description-3\">Description</h3>\n<p>OD Matrix end-point performs travel analysis (people movement analysis) between two or more study areas. It provides the number of devices that traveled along with the total no. of trips between the matrix (selected study zones/areas) as specified by the input parameters.</p>\n<p>At least two study zones must be selected as a part of “input geo-id”.</p>\n<h3 id=\"example-4\">Example</h3>\n<p>No. of devices traveled from Vancouver (Origin) to Burnaby (Destination) and vice versa i.e. no. of devices that traveled from Burnaby (Origin) to Vancouver (Destination) along with the total no. of trips on April 10 2022 between 9 AM and 1 PM.</p>\n<h3 id=\"dwell-time-3\">Dwell Time</h3>\n<p>Minimum and Maximum Dwell Times will be applied to both the study areas i.e. Origin as well as Destination.</p>\n<p>Consider a device traveling from Vancouver to Burnaby dwelled for 15 minutes in Vancouver and 20 minutes in Burnaby.</p>\n<p>In this case, if Minimum Dwell Time is set to anything in excess of 20 minutes, this trip will be excluded from the output; similarly, if the Maximum Dwell Time is set to anything less than 15 minutes will also exclude this trip from the output.</p>\n<h3 id=\"exclusions-3\">Exclusions</h3>\n<p>Exclusion Types selected will remove devices from the study area considered to be the Origin.</p>\n<p>Consider a resident device of Vancouver who traveled from Vancouver to Burnaby and from Burnaby back to Vancouver.</p>\n<p>In this case, excluding ‘Residents’ will exclude this device while calculating the trips from Vancouver (considered as Origin) to Burnaby (considered as Destination) but will be considered in the output while calculating the trips from Burnaby (considered as Origin) to Vancouver (considered as Destination).</p>\n<h3 id=\"bucketing-3\">Bucketing</h3>\n<p>Trips are bucketed based on when the trip originated from the study area considered to be the Origin.</p>\n<p>Consider a case wherein the Start Time and End Time are specified as 9 AM and 1 PM respectively, and the Time Bucket Size is set to 120 minutes; output will be comprised of two buckets: Bucket 1 from 9 AM to 11 AM and Bucket 2 from 11 AM to 1 PM. Device traveling from Vancouver to Burnaby started from Vancouver at 10:30 AM reached Burnaby at 12:30 PM.</p>\n<p>In this case, the trip will be forming a part of output under Bucket 1 for Origin: Vancouver and Destination: Burnaby.</p>\n<h1 id=\"api-descriptions-origin\">API Descriptions - Origin</h1>\n<h3 id=\"description-4\">Description</h3>\n<p>Origin end-point returns the count of devices with trips originating from each output study zone and terminating to each input study zone as specified by the input parameters.</p>\n<p>Study zone specified within the “input geo-id” is considered to be the Destination whereas the study zone specified within the “output geo-id” is considered to be the Origin.</p>\n<p>For a device to be qualified in the output, the trip must start (originate) and end (terminate) between the specified start and end times.</p>\n<h3 id=\"pass-through-1\">Pass-through</h3>\n<p>In addition to the above, Origin end-point also provides an option to select pass-through study zones.</p>\n<p>With pass-through study zone(s) selected, Origin end-point will return the count of devices with trips originating from the study zone selected under output geo-id, passing through the study zones(s) selected pass-through geo-id and terminating to study zone selected under input geo-id.</p>\n<p>In case of multiple study zones selected under pass-through, the sequence of the trip will be determined based on the order in which the pass-through study zones have been selected.</p>\n<p>Consider a scenarion wherein two study zones 'A' and 'B' have been selected under pass-through geo-id. The output would only contain the count of devices which travelled from Origin-&gt;A-&gt;B-&gt;Destination. Devices travelling through an alterate route from Origin to Destination for e.g., Origin-&gt;A-&gt;Destination or Origin-&gt;B-&gt;Destination or Origin-&gt;B-&gt;A-&gt;Destination will not be included in the output.</p>\n<h3 id=\"example-5\">Example</h3>\n<p>How many devices traveled from Vancouver (Origin) to Burnaby (Destination) on May 1, 2022 between 9 AM and 1 PM.</p>\n<p>How many devices travelled from Vancouver (Origin) to Surrey (Destination) via Burnaby (Pass-through) on May 1, 2022 between 9 AM and 1 PM.</p>\n<h3 id=\"dwell-time-4\">Dwell Time</h3>\n<p>Minimum and Maximum Dwell Times can be specified independently for study zones within each group i.e. Origin, Destination and Pass-through study zones or can be specified globally which will be applied to all the study zones across all groups.</p>\n<p>Consider a device traveling from Vancouver to Burnaby dwelled for 30 minutes in Vancouver as well as Burnaby.</p>\n<p>In this case, if the Minimum Dwell Time is set to anything in excess of 30 minutes, this device will be excluded from the output; similarly, if the Maximum Dwell Time is set to anything less than 30 minutes will also exclude this device from the output.</p>\n<h3 id=\"exclusions-4\">Exclusions</h3>\n<p>Exclusion Types selected will remove devices from the study area considered to be the Destination.</p>\n<p>Consider a resident device of Burnaby who traveled from Vancouver to Burnaby during the specified study period. In this case, excluding ‘Residents’ will exclude this device from the output.</p>\n<h3 id=\"bucketing-4\">Bucketing</h3>\n<p>Devices are bucketed based on when the trip terminated (i.e. reached the Destination study zone).</p>\n<p>Consider a case wherein the Start time and End time are specified as 9 AM and 1 PM respectively, and the Time Bucket Size is set to 120 minutes; output will be comprised of two buckets: Bucket 1 from 9 AM to 11 AM and the Bucket 2 from 11 AM to 1 PM. Device traveling from Vancouver to Burnaby started from Vancouver at 10:30 AM reached Burnaby at 12:30 PM.</p>\n<p>In this case, this device will be forming a part of output under Bucket 2.</p>\n<h1 id=\"api-descriptions-repeat-visitation\">API Descriptions - Repeat Visitation</h1>\n<h3 id=\"description-5\">Description</h3>\n<p>Repeat Visitation end-point returns the number of unique devices available in the study zone more than once based on specified by the input parameters.</p>\n<p>Repeat Visitation end-point like Unique end-point analyzes each study zone independently and hence only contains “input geo-id” as an input.</p>\n<p>All the devices available in the study zone more than once i.e. has more than one independent event and each event between the specified start and end times will be qualified to be forming a part of the output. This is further explained under Dwell Time section below.</p>\n<h3 id=\"example-6\">Example</h3>\n<p>How many devices went to Vancouver on May 1, 2022 more than once between 9 AM and 1 PM.</p>\n<h3 id=\"dwell-time-5\">Dwell Time</h3>\n<p>Minimum and Maximum Dwell Time is applied to the study zone specified within “input geo-id”.</p>\n<p>Consider a case wherein a device was available twice at Vancouver; initially from 9:00 AM to 9:20 AM (dwell time 20 minutes) and then again from 12:15 PM to 1 PM (dwell time 45 minutes). Both these occurrences are considered to be two independent events and hence the device will be qualified to be forming a part of the output.</p>\n<p>In the above case, if Minimum Dwell Time is set to anything in excess of 20 minutes, the device will be excluded from the output; similarly, if the Maximum Dwell Time is set to anything less than 45 minutes will also exclude this device from the output.</p>\n<h3 id=\"bucketing-5\">Bucketing</h3>\n<p>Devices are bucketed based on their availability in the study zone.</p>\n<p>Consider a case wherein the Start Time and End Time are specified as 9 AM and 1 PM respectively, and the Time Bucket Size is set to 120 minutes; output will be comprised of two buckets: Bucket 1 from 9 AM to 11 AM and Bucket 2 from 11 AM to 1 PM. Device was available at Vancouver from 9:30 AM to 10 AM and then again from 12:30 PM to 1 PM.</p>\n<p>In this case, this device will be forming a part of output under both of these buckets.</p>\n<p>Consider a different scenario wherein a device was available at Vancouver from 9:30 AM to 10 AM and then again from 10:30 AM to 10:45 AM; in this case, the device will be forming a part of the output only under Bucket 1.</p>\n<h1 id=\"api-descriptions-total-trip\">API Descriptions - Total Trip</h1>\n<h3 id=\"description-6\">Description</h3>\n<p>Total Trip end-point returns the total number of trips made by devices to a study zone over a given period of time based on the input parameters.</p>\n<p>Similar to Unique and Repeat Visitation end-points, Total Trip end-point analyzes each study zone independently and hence contains only “input geo-id” as an input.</p>\n<h3 id=\"example-7\">Example</h3>\n<p>How many trips did devices take to Vancouver on April 1, 2022 between 9 AM and 1 PM.</p>\n<h3 id=\"dwell-time-6\">Dwell Time</h3>\n<p>Minimum and Maximum Dwell Time is applied to the study zone specified within “input geo-id”.</p>\n<p>Consider a device who took a trip to Vancouver was available at Vancouver for 20 minutes during the specified study period i.e. entered Vancouver at 9:00 AM and left Vancouver at 9:20 AM.</p>\n<p>In this case, if the Minimum Dwell Time is set to anything in excess of 20 minutes, the trip made by this device will be excluded from the output; similarly, if the Maximum Dwell Time is set to anything less than 20 minutes will also exclude the trip made by this device from the output.</p>\n<p>Dwell Time is calculated for each independent trip (event). Consider a case wherein a device took two trips to Vancouver during the specified study period; first trip/event from 9 AM to 9:20 AM (dwell time of 20 minutes) and the second trip/event from 12:15 PM to 1 PM (dwell time of 45 minutes).</p>\n<p>In this case, if the Maximum Dwell Time is set to 30 minutes, only the first trip will be forming a part of the output. In the second query, if the Minimum Dwell Time is set to 30 minutes, only the second trip will be forming a part of the output.</p>\n<p>Now consider a case wherein Minimum Dwell Time is set to 15 minutes and Maximum Dwell Time is set to 60 minutes. In this case, both the trips will be included in the output.</p>\n<h3 id=\"exclusions-5\">Exclusions</h3>\n<p>Based on Exclusion Type selected, devices will be identified and removed from the study area selected under “input geo-id’.</p>\n<p>Consider a resident device of Vancouver who travelled in and out of Vancouver multiple times during the specified study period. In this case, excluding ‘Residents’ will exclude all the trips made by this device from the output.</p>\n<h3 id=\"bucketing-6\">Bucketing</h3>\n<p>Trips are bucketed based on when the device entered the study zone.</p>\n<p>Consider a case wherein the Start Time and End Time are specified as 9 AM and 1 PM respectively, and the Time Bucket Size is set to 120 minutes; output will be comprised of two Buckets: Bucket 1 from 9 AM to 11 AM and Bucket 2 from 11 AM to 1 PM. Device took a trip to Vancouver, entered Vancouver at 9 AM and left Vancouver at 12:30 PM.</p>\n<p>In this case, this trip will be forming a part of the output under Bucket 1.</p>\n<h1 id=\"api-descriptions-trade-area\">API Descriptions - Trade Area</h1>\n<h3 id=\"description-7\">Description</h3>\n<p>A trade area is a geographic area from which a community/business generates the majority of its customers.</p>\n<p>Trade Area end-point returns for each study zone selected in “output geo-id”, a list of classification (Primary/Secondary/Tertiary) for the study zone selected in “input geo-id”.</p>\n<p>Trade Area defines where customers live (output geo-id) and how far they are likely to travel to a particular business district/area (input geo-id).</p>\n<p>Trade Area is built using a weighted function that takes into account the following parameters to calculate a score between 0 and 1 for each of the study zones selected under output geo-id:</p>\n<p>• Count Weight: is a 0 to 1 scale and represents how important the unique count is in classifying if the study zone is Primary, Secondary or Tertiary<br>• Trip Weight: is a 0 to 1 scale and represents how important total number of trips are in classifying if the study zone is Primary, Secondary or Tertiary<br>• Distance Weight: is a 0 to 1 scale and represents how important distance is in classifying if the study zone is Primary, Secondary and Tertiary</p>\n<p>Primary and Secondary Threshold sets the bounds at which the equation will separate out the Primary, Secondary and Tertiary zones.</p>\n<p>The classification/category for a particular study zone selected under “output geo-id” is relative to the study zone selected under “input geo-id” and based upon the other study zones selected under “output geo-id”. If only one study zone is selected under “output geo-id”, Trade Area end-point will always return the category as ‘Primary’ as the score for one study zone will always be 1.</p>\n<p>Trade Area end-point works best when the sum of Count Weight, Trip Weight and Distance Weight is 1.</p>\n<h3 id=\"example-8\">Example</h3>\n<p>Consider a scenario wherein 100 resident devices of Victoria and 300 resident devices of Vancouver were at business district Surrey between the study period selected. Classification of Victoria and Vancouver study zones for business district Surrey based on Count Weight 1, Primary Threshold 0.8 and Secondary Threshold 0.5 will be as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Input Geo-ID</th>\n<th>Output Geo-ID</th>\n<th>Category</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Surrey</td>\n<td>Victoria</td>\n<td>Tertiary</td>\n</tr>\n<tr>\n<td>Surrey</td>\n<td>Vancouver</td>\n<td>Secondary</td>\n</tr>\n</tbody>\n</table>\n</div><p>Consider a scenario wherein a total of 150 trips were made by resident devices of Victoria and 800 trips were made by resident devices of Vancouver to business district Surrey between the study period selected. Classification of Victoria and Vancouver study zones for business district Surrey based on Count Weight 1, Primary Threshold 0.8 and Secondary Threshold 0.3 will be as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Input Geo-ID</th>\n<th>Output Geo-ID</th>\n<th>Category</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Surrey</td>\n<td>Victoria</td>\n<td>Tertiary</td>\n</tr>\n<tr>\n<td>Surrey</td>\n<td>Vancouver</td>\n<td>Primary</td>\n</tr>\n</tbody>\n</table>\n</div><h1 id=\"api-descriptions-unique\">API Descriptions - Unique</h1>\n<h3 id=\"description-8\">Description</h3>\n<p>Unique end-point returns the number of unique devices available in the input study zone based on the input parameters.</p>\n<p>Unique end-point analyzes each study zone independently and hence only contains “input geo-id” as an input as compared to some of the other end-points like Home, OD matrix etc. wherein study zone specified as a part of “input geo-id” is analyzed based on it’s dependency on study zone specified as a part of “output geo-id”.</p>\n<p>All the devices available in the input study zone between the specified start and end times will be qualified to be forming a part of the output.</p>\n<h3 id=\"example-9\">Example</h3>\n<p>How many unique devices visited Vancouver on May 1, 2022 between 9 AM and 1 PM.</p>\n<h3 id=\"dwell-time-7\">Dwell Time</h3>\n<p>Minimum and Maximum Dwell Times are applied to the study zone specified within “input geo-id”.</p>\n<p>Consider a device was available at Vancouver for 20 minutes during the specified study period.</p>\n<p>In this case, if the Minimum Dwell Time is set to anything in excess of 20 minutes, this device will be excluded from the output; similarly, if the Maximum Dwell Time is set to anything less than 20 minutes will also exclude this device from the output.</p>\n<p>Dwell Time is calculated for each independent event and not cumulated for a device based on study period. Consider a case wherein a device was available twice at Vancouver; initially from 9:00 AM to 9:20 AM (dwell time 20 minutes) and then again from 12:15 PM to 1 PM (dwell time 45 minutes). Both these occurrences are considered to be two independent events.</p>\n<p>In this case, if the Maximum Dwell Time is set to 30 minutes, this device will be forming a part of the output due to the first event from 9 AM to 9:20 AM. In the second query, if the Minimum Dwell Time is set to 30 minutes, the same device will again be forming a part of the output, this time due to the second event from 12:15 PM to 1 PM.</p>\n<p>For further clarification, Unique end-point returns number of unique devices and not the number of unique events and hence, even if a device has two independent events and they both qualify to be forming a part of the output based on specified input parameters, the device will only be counted once in the output.</p>\n<p>Consider a case wherein the Minimum Dwell Time is set to 15 minutes and Maximum Dwell<br>Time is set to 60 minutes. In this case, both the events mentioned above are eligible to be forming a part of the output, but this device will only be considered once in the output.</p>\n<h3 id=\"bucketing-7\">Bucketing</h3>\n<p>Devices are bucketed based on their availability in the study zone.</p>\n<p>Consider a case wherein the Start Time and End Time are specified as 9 AM and 1 PM respectively, and the Time Bucket Size is set to 120 minutes; output will be comprised of two buckets: Bucket 1 from 9 AM to 11 AM and Bucket 2 from 11 AM to 1 PM. Device was available at Vancouver from 9:30 AM to 12:30 PM.<br>In this case, this device will be forming a part of output under both of these buckets.</p>\n<p>Consider a different scenario wherein a device was available at Vancouver only from 9:30 AM to 10 AM; in this case, the device will be forming a part of the output only under Bucket 1.</p>\n<h1 id=\"api-descriptions-work\">API Descriptions - Work</h1>\n<h3 id=\"description-9\">Description</h3>\n<p>The Work end-point returns count of devices available in each input study zone broken-down by their corresponding Work Location as specified by the input parameters.</p>\n<p>Study zone specified within the \"input geo-id\" is considered to be the Visiting Location whereas the study zone specified within the \"output geo-id\" is considered to be the Work Location.</p>\n<p>All the devices available in the visiting location between the specified start and end times will be qualified to be forming a part of the output.</p>\n<h3 id=\"example-10\">Example</h3>\n<p>How many devices were at Burnaby (Visiting Location) on May 1, 2022 between 9 AM and 1 PM whose Work Location was Vancouver.</p>\n<h3 id=\"dwell-time-8\">Dwell Time</h3>\n<p>Minimum and Maximum Dwell Time is only applied to the study zone specified within the “input geo-id” i.e. study zone considered to be the Visiting Location.</p>\n<p>Consider a resident device of Vancouver was at Burnaby for 20 minutes during the specified study period.</p>\n<p>In this case, if the Minimum Dwell Time is set to anything in excess of 20 minutes, this device will be excluded from the output; similarly, if the Maximum Dwell Time is set to anything less than 20 minutes will also exclude this device from the output.</p>\n<h3 id=\"exclusions-6\">Exclusions</h3>\n<p>Based on the Exclusion Types selected, devices will be identified and removed from the study area considered to be the Visiting Location.</p>\n<p>Consider a device who’s work location is Vancouver and is a resident device of Burnaby and was at Burnaby during the specified study period. In this case, excluding ‘Residents’ will exclude this device from the output.</p>\n<h3 id=\"bucketing-8\">Bucketing</h3>\n<p>Devices are bucketed based on their availability in the study zone considered to be the Visiting Location.</p>\n<p>Consider a case wherein the Start Time and End Time are specified as 9 AM and 1 PM respectively, and the Time Bucket Size is set to 120 minutes; output will be comprised of two buckets: Bucket 1 from 9 AM to 11 AM and Bucket 2 from 11 AM to 1 PM. Device, who’s work location is Vancouver was available at Burnaby from 10 AM to 10:20 AM.</p>\n<p>In this case, this device will be forming a part of output under Bucket 1.</p>\n<h1 id=\"count-apis-reference-section\">Count - APIs Reference Section</h1>\n<h2 id=\"telus-insights-location-api\">Telus Insights Location API</h2>\n<ul>\n<li><strong>Version:</strong> 1.0</li>\n<li><strong>Host:</strong> location-api.insights.telus.com/product/insightsRequest/v1</li>\n<li><strong>Protocols:</strong> <code>https</code></li>\n</ul>\n<h5 id=\"more-info\">More Info</h5>\n<ul>\n<li><strong>Contact Us by Email</strong> <strong>-</strong> <a href=\"mailto:TelusInsightsAppSupport@telus.com\">TelusInsightsAppSupport@telus.com</a></li>\n</ul>\n<p>We have developed the following API services to help customers utilize TELUS Geo-intelligence data assets and help answer a range of questions around location and movement patterns within Canada.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction - Generalities","slug":"introduction-generalities"},{"content":"Introduction - Spatial aggregation","slug":"introduction-spatial-aggregation"},{"content":"Introduction - Methodologies","slug":"introduction-methodologies"},{"content":"Introduction - Insights Developer Portal","slug":"introduction-insights-developer-portal"},{"content":"Introduction - API Integrations","slug":"introduction-api-integrations"},{"content":"Introduction - API Restrictions and Usage","slug":"introduction-api-restrictions-and-usage"},{"content":"Getting Started","slug":"getting-started"},{"content":"Getting Started - Authentication","slug":"getting-started-authentication"},{"content":"Getting Started - Shapefiles and Study Zones","slug":"getting-started-shapefiles-and-study-zones"},{"content":"Getting Started - Run a job","slug":"getting-started-run-a-job"},{"content":"Getting Started - Data Dictionary and Formats","slug":"getting-started-data-dictionary-and-formats"},{"content":"Getting Started - Exclusion Types","slug":"getting-started-exclusion-types"},{"content":"API Descriptions","slug":"api-descriptions"},{"content":"API Descriptions - Destination","slug":"api-descriptions-destination"},{"content":"API Descriptions - Demographic","slug":"api-descriptions-demographic"},{"content":"API Descriptions - Dwell Time","slug":"api-descriptions-dwell-time"},{"content":"API Descriptions - Home","slug":"api-descriptions-home"},{"content":"API Descriptions - OD Matrix","slug":"api-descriptions-od-matrix"},{"content":"API Descriptions - Origin","slug":"api-descriptions-origin"},{"content":"API Descriptions - Repeat Visitation","slug":"api-descriptions-repeat-visitation"},{"content":"API Descriptions - Total Trip","slug":"api-descriptions-total-trip"},{"content":"API Descriptions - Trade Area","slug":"api-descriptions-trade-area"},{"content":"API Descriptions - Unique","slug":"api-descriptions-unique"},{"content":"API Descriptions - Work","slug":"api-descriptions-work"},{"content":"Count - APIs Reference Section","slug":"count-apis-reference-section"}],"owner":"19774759","collectionId":"d8e042de-3754-42b6-beb6-a174697eddf8","publishedId":"2s93z9cNmr","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"4B286D"},"publishDate":"2023-06-28T21:19:35.000Z"},"item":[{"name":"Create Area","item":[{"name":"upload a shapefile","id":"9d53ddd4-56af-4d91-9196-ec8589d1fe06","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"binary"},{"key":"Accept","value":"application/json"}],"body":{"mode":"file","file":{}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile","description":"<p>Upload a shapefile and recieve a requestID.</p>\n<p>Acceptable file include .kml (Google Keyhole Markup), .zip (ESRI Shapefile) and .json  </p>\n<p>Within the shapefile each polygon 1) Must have geometry information 2) Must have 'study_zone' in the properties 3) 'study_zone' must NOT contain backslashes or quotation marks</p>\n","urlObject":{"path":["shapefile"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"882ec1dc-3406-410a-b309-e43954a84b96","name":"Request Created. Please check the link with link relation check_status to find out if the result is ready for cunsumption.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"file","file":{}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"Shapefile is uploaded successfully\",\n  \"link\": {\n    \"rel\": \"status\",\n    \"url\": \"/shapefile/c764703b-2043-48ff-8929-d18bc50f1a62\"\n  },\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\"\n}"},{"id":"5e04ee66-d525-483b-ba3c-bec30b4f96ec","name":"Invalid shapefile. The shapefile could not be opened with GDAL api. At this point there is not request object made, so not request Id","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"file","file":{}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid shapefile.\"\n}"},{"id":"efab694e-fced-4714-9b3d-28c8c0fe9e78","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"file","file":{}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"9d53ddd4-56af-4d91-9196-ec8589d1fe06"}],"id":"10b03993-beda-4ff7-9963-e185c20f70c9","description":"<p>Used to upload shapefiles</p>\n","_postman_id":"10b03993-beda-4ff7-9963-e185c20f70c9","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Demographic","item":[{"name":"post Demographic","id":"cf99eab5-4a9b-47a2-84be-b39130ad1974","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"timezone\": \"UTC\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"topics\": [\n    {\n      \"topic\": \"Main mode of commuting\"\n    },\n    {\n      \"topic\": \"Household characteristics-Private households by age of primary household maintainers\"\n    }\n  ],\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/demographic","description":"<p>The probabilistic demographic breakdown of the devices that were in the Input GeoID between the start and End time, based on their home areas for the parameters given by the job corresponding to the Job ID.</p>\n<p>Example: What is the count of devices split by age range that were at Trinity Bellwoods area between 1st January 2020 and 15th January 2020?</p>\n","urlObject":{"path":["count","demographic"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"be80067c-4e3b-4ee6-842e-a59abd86d3ee","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"topics\": [\n    {\n      \"topic\": \"Main mode of commuting\"\n    },\n    {\n      \"topic\": \"Household characteristics-Private households by age of primary household maintainers\"\n    }\n  ],\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/demographic"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"fef96a3a-48bf-4f7e-beab-380487596779","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"topics\": [\n    {\n      \"topic\": \"Main mode of commuting\"\n    },\n    {\n      \"topic\": \"Household characteristics-Private households by age of primary household maintainers\"\n    }\n  ],\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/demographic"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"1bc0d742-a46e-41b7-a212-7182fd20a247","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"topics\": [\n    {\n      \"topic\": \"Main mode of commuting\"\n    },\n    {\n      \"topic\": \"Household characteristics-Private households by age of primary household maintainers\"\n    }\n  ],\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/demographic"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"cf99eab5-4a9b-47a2-84be-b39130ad1974"},{"name":"get Demographic","id":"355063e3-4ed4-4af7-86e1-1bed5e8c979f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/demographic/:jobId","description":"","urlObject":{"path":["count","demographic",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"31792a13-caa7-40e2-9fe4-7a0920272a61","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"6022ccac-9a2c-4ea4-8e4b-82dde83e0858","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/demographic/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","demographic",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"study_zones\": [\n    {\n      \"input_geoid\": \"Kelowna\",\n      \"topics\": [\n        {\n          \"topic\": \"Main mode of commuting\",\n          \"characteristics\": [\n            {\n              \"characteristic\": \"Car\",\n              \"percentage\": 20,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"Public transit\",\n              \"percentage\": 20,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"Walked\",\n              \"percentage\": 20,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"Bicycle\",\n              \"percentage\": 20,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"Other method\",\n              \"percentage\": 20,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"topic\": \"Household characteristics-Private households by age of primary household maintainers\",\n          \"characteristics\": [\n            {\n              \"characteristic\": \"15 to 24 years\",\n              \"percentage\": 10,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"25 to 34 years\",\n              \"percentage\": 10,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"35 to 44 years\",\n              \"percentage\": 20,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"45 to 54 years\",\n              \"percentage\": 20,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"55 to 64 years\",\n              \"percentage\": 10,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"65 to 74 years\",\n              \"percentage\": 10,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"75 to 84 years\",\n              \"percentage\": 10,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"characteristic\": \"85 years and over\",\n              \"percentage\": 10,\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"},{"id":"120fe1c2-c7bf-42ca-8699-3fa0cd24baf5","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/demographic/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","demographic",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"5815c572-b32c-4b67-af99-33c104b25591","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/demographic/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","demographic",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"a9224ec5-5da6-436a-949e-b5e0d97d0b8a","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/demographic/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","demographic",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"429e8b6a-e361-40cf-b43d-b2df50af7a23","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/demographic/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","demographic",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"355063e3-4ed4-4af7-86e1-1bed5e8c979f"}],"id":"deee18a4-18bb-437e-9c74-fdd5a22d155a","description":"<p>Get the demographic counts associated to Area ID or a list of Area IDs.</p>\n","_postman_id":"deee18a4-18bb-437e-9c74-fdd5a22d155a","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Destination","item":[{"name":"post Destination","id":"6ac65baa-61b3-4efe-869b-c4456e42a8b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"input_geoid\": {\n        \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n        \"study_zone\": [\n            \"Kelowna\",\n            \"Toronto\"\n        ],\n        \"min_dwell_time\": 15,\n        \"max_dwell_time\": 30\n    },\n    \"pass_through_geoid\": {\n        \"requestId\": \"a7643453703b-23443-4834f-8359-8c50f1a\",\n        \"study_zone\": [\n            \"Seven Oaks\"\n        ],\n        \"min_dwell_time\": 15,\n        \"max_dwell_time\": 30\n    },\n    \"timezone\": \"UTC\",\n    \"start_time\": \"2020-01-03T00:00:00\",\n    \"end_time\": \"2020-01-03T01:00:00\",\n    \"output_geoid\": {\n        \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n        \"study_zone\": [\n            \"Calgary\",\n            \"Niagara\"\n        ],\n        \"min_dwell_time\": 15,\n        \"max_dwell_time\": 30\n    },\n    \"time_bucket_size\": 30,\n    \"min_dwell_time\": 15,\n    \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/destination","description":"<p>The number of devices with trip destinations at each output study zone for the given parameters defined by the job, which corresponds to the job ID. </p>\n<p>Example: How many devices went to Port Credit coming from Brampton on a daily basis between 15th - 18th January 2020</p>\n","urlObject":{"path":["count","destination"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"41a934b9-45e1-48e2-a64e-7edb7dba7e62","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/destination"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"1fa2a677-4aaf-4c68-8262-7749a2aee1f5","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/destination"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"31292b9c-8896-4a1a-bc90-964332a3e2a2","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/destination"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"6ac65baa-61b3-4efe-869b-c4456e42a8b2"},{"name":"get Destination","id":"b96ea8b9-2685-455e-b26b-71a933404134","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/destination/:jobId","description":"","urlObject":{"path":["count","destination",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"7b0e6e5a-c3ff-42b9-a0ea-09c52387c0fe","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"4fc18100-ffef-43b6-ac54-0fc9f831fb78","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/destination/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","destination",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"study_zones\": [\n    {\n      \"input_geoid\": \"Kelowna\",\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"outputs\": [\n            {\n              \"count\": 90,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 70,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"outputs\": [\n            {\n              \"count\": 120,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 80,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"input_geoid\": \"Toronto\",\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"outputs\": [\n            {\n              \"count\": 60,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 90,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"outputs\": [\n            {\n              \"count\": 110,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 60,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"},{"id":"1c593f5b-523e-4b43-ba09-2987d4b4ec74","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/destination/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","destination",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"cabb4bb2-874c-4dc3-b99f-d726f3639528","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/destination/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","destination",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"6b6d43a4-be77-48bd-9325-78679000ef37","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/destination/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","destination",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"b92df618-cc21-4178-8df7-27d7d33e1e0b","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/destination/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","destination",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"b96ea8b9-2685-455e-b26b-71a933404134"}],"id":"5053856c-85db-4cbb-8242-83ec8a75520f","description":"<p>Get the list of areas, with a count that the users in the area dwelled at afterto to the current location</p>\n","_postman_id":"5053856c-85db-4cbb-8242-83ec8a75520f","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"DwellTime","item":[{"name":"post Dwell Time","id":"da9b56a4-4946-4026-9483-b2e7f74cd8e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Calgary\"\n    ]\n  },\n  \"timezone\": \"UTC\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"dwell_time_bucket\": 60,\n  \"max_dwell_time\": 180,\n  \"estimation_only\": false,\n  \"bucket_size\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/dwelltime","description":"<p>The unique number of devices that have spent X time within the defined area based on the parameters given by the job corresponding to the Job ID. \nOnly the time between the start and end time parameters is qualified within these counts.</p>\n<p>Example: How many devices have spent between 1-4 hours in Kelowna in December of 2019, broken down by day. </p>\n","urlObject":{"path":["count","dwelltime"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"870a2c34-1678-4872-a317-1a4ab1ab8b75","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Calgary\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"dwell_time_bucket\": 60,\n  \"max_dwell_time\": 180,\n  \"estimation_only\": true,\n  \"bucket_size\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/dwelltime"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"a59ac26e-e3d3-4b5f-b0ee-5e3a0fedcb98","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Calgary\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"dwell_time_bucket\": 60,\n  \"max_dwell_time\": 180,\n  \"estimation_only\": true,\n  \"bucket_size\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/dwelltime"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"b051a727-ceb3-46aa-8add-1e78f5957622","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Calgary\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"dwell_time_bucket\": 60,\n  \"max_dwell_time\": 180,\n  \"estimation_only\": true,\n  \"bucket_size\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/dwelltime"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"da9b56a4-4946-4026-9483-b2e7f74cd8e3"},{"name":"get Dwell Time","id":"03b958b2-54dd-4ee2-be9f-cdf87a6cbd92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/dwelltime/:jobId","description":"<p>Get count of people who are in the zone based on dwell time</p>\n","urlObject":{"path":["count","dwelltime",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"f12e88d6-9d1b-4287-ae83-59c9ecdc076f","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"d27385c2-be85-462e-bbda-b5a0d6687e07","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/dwelltime/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","dwelltime",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"time_bucket_size\": 30,\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"study_zones\": [\n    {\n      \"buckets\": [\n        {\n          \"121-180\": 140,\n          \"15-60\": 80,\n          \"61-120\": 100,\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\"\n        },\n        {\n          \"121-180\": 130,\n          \"15-60\": 70,\n          \"61-120\": 90,\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\"\n        }\n      ],\n      \"input_geoid\": \"Kelowna\"\n    },\n    {\n      \"buckets\": [\n        {\n          \"121-180\": 70,\n          \"15-60\": 90,\n          \"61-120\": 150,\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\"\n        },\n        {\n          \"121-180\": 80,\n          \"15-60\": 80,\n          \"61-120\": 130,\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\"\n        }\n      ],\n      \"input_geoid\": \"Calgary\"\n    }\n  ]\n}"},{"id":"6abd5fe1-bf29-4e36-ada1-0d7f76357d7b","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/dwelltime/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","dwelltime",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"686a982c-1b14-4050-8b65-03dcdd11fe09","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/dwelltime/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","dwelltime",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"6a3f9f14-0c1c-4624-84f9-f6963e005107","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/dwelltime/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","dwelltime",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"ecc37642-ecab-475f-977c-3e80799df985","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/dwelltime/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","dwelltime",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"03b958b2-54dd-4ee2-be9f-cdf87a6cbd92"}],"id":"aa6ae5d0-4177-4fd9-a751-4b6f28adc659","description":"<p>Get count of people who are in the zone based on dwell time</p>\n","_postman_id":"aa6ae5d0-4177-4fd9-a751-4b6f28adc659","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Geofence","item":[{"name":"get Geofence","id":"5ee7f63c-8395-46ce-9d11-5476fc45e937","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/geofence","description":"<p>See a list of uploaded shapefiles.</p>\n<p>With Partner Id you will get shapes uploaded for partner and also list of shapes for all customers for that Partner Id.</p>\n<p>In case of Customer Id, just the shapes for that Customer Id will be returned.</p>\n","urlObject":{"path":["geofence"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"8ad0021f-c385-46b3-9745-874ebfdd4da9","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/geofence"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"customer_shapes\": [\n    {\n      \"customerId\": \"customerId\",\n      \"shapefiles\": [\n        {\n          \"created_date\": \"2019-05-20T00:00:00\",\n          \"input_geoid\": [\n            \"in anim culpa\",\n            \"ut culpa velit amet exercitation\"\n          ],\n          \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\"\n        },\n        {\n          \"created_date\": \"2019-05-20T00:00:00\",\n          \"input_geoid\": [\n            \"in aute cillum\",\n            \"anim ad fugiat officia\"\n          ],\n          \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\"\n        }\n      ]\n    },\n    {\n      \"customerId\": \"customerId\",\n      \"shapefiles\": [\n        {\n          \"created_date\": \"2019-05-20T00:00:00\",\n          \"input_geoid\": [\n            \"velit\",\n            \"id veniam ut Excepteur et\"\n          ],\n          \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\"\n        },\n        {\n          \"created_date\": \"2019-05-20T00:00:00\",\n          \"input_geoid\": [\n            \"dolore\",\n            \"laboris proident dolor\"\n          ],\n          \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\"\n        }\n      ]\n    }\n  ],\n  \"partner_shapes\": {\n    \"created_date\": \"2019-05-18T00:00:00\",\n    \"input_geoid\": [\n      \"dolore commodo deserunt irure\",\n      \"occaecat deserunt sed\"\n    ],\n    \"partnerId\": \"partnerId\",\n    \"requestId\": \"b03eb5fa-a58d-49c4-939f-e41d242befb0\"\n  }\n}"},{"id":"9249eb96-1482-473e-ab4d-cc4af260ce89","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/geofence"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"85240ae7-58a3-44d6-be1c-e184d2021f5b","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/geofence"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"5ee7f63c-8395-46ce-9d11-5476fc45e937"}],"id":"6930c259-9dba-4522-aad0-dc6f7f5ad5a5","description":"<p>Get list of polygons from uploaded shapefiles</p>\n","_postman_id":"6930c259-9dba-4522-aad0-dc6f7f5ad5a5","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Home","item":[{"name":"post Home","id":"832f4f27-cda2-4790-8967-2487a18a3c08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/home","description":"<p>The Home endpoint helps us to understand the Home location of those that are visiting a particular location. </p>\n<p>For each study zone that is specified within the input “geo-id”, what are the home locations of the people there. </p>\n<p>The home locations are grouped by the output study zones which must be specified as part of the GET request, within the “output-geoid” parameter</p>\n<p>Example: For everyone in Whistler on Saturday 31st May 2020,  how many of the device's home location is in Squamish. </p>\n","urlObject":{"path":["count","home"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"e7d86c24-20ef-4279-91ad-bf9d96f40626","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/home"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"6dda6b1b-3720-43a1-937a-83cb41032db2","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/home"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"0e832e6a-6e2c-4511-85a2-19250e24c24c","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/home"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"832f4f27-cda2-4790-8967-2487a18a3c08"},{"name":"get Home","id":"23b1b5c5-a2d3-4801-9487-f3c580ff9d6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/home/:jobId","description":"<p>Get count of people who are in the zone based on home location</p>\n","urlObject":{"path":["count","home",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"c2d02af5-9a9e-4209-811b-dde30affe4fd","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"06510cac-8e73-4f8f-9c93-f3a5fad92262","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/home/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","home",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"time_bucket_size\": 30,\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"study_zones\": [\n    {\n      \"input_geoid\": \"Kelowna\",\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"outputs\": [\n            {\n              \"count\": 90,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 70,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"outputs\": [\n            {\n              \"count\": 120,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 80,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"input_geoid\": \"Toronto\",\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"outputs\": [\n            {\n              \"count\": 60,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 90,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"outputs\": [\n            {\n              \"count\": 110,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 60,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"},{"id":"26848771-9b74-46b8-ac6d-69bc001e3f28","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/home/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","home",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"57b8dabb-e66e-443b-8b41-336e41e3ac42","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/home/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","home",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"bb02d64a-5b78-490f-aee8-dc441be0d927","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/home/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","home",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"38ccb809-8100-4aff-884e-f0d923d431e0","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/home/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","home",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"23b1b5c5-a2d3-4801-9487-f3c580ff9d6d"}],"id":"20d821b9-a2ce-4410-88f2-a495e3f5d627","description":"<p>Get count of people in Current(Input) location who have Home in provided(Output) location</p>\n","_postman_id":"20d821b9-a2ce-4410-88f2-a495e3f5d627","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Job","item":[{"name":"Delete One Job","id":"1d53cc2f-5451-4c6a-9880-741490f45683","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"grant_type":"<grant_type>","scope":"{{AuthCodeScopeIds}}","clientId":"{{AuthCodeClientId}}","clientSecret":"{{AuthCodeClientSecret}}","accessTokenUrl":"{{AccessTokenURL}}"},"isInherited":false},"method":"DELETE","header":[{"description":"<p>(Required) </p>\n","key":"customerid","value":"velit tempor"},{"key":"Accept","value":"*/*"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/job/:jobid","description":"<p>Delete the jobs that you don't need anymore. These jobs will not show up in the Portal. If you delete a job that is still running, the job will be first cancelled and then deleted.</p>\n","urlObject":{"path":["job",":jobid"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"1e08d5ca-b608-4f57-8ebb-1183bd8c55f4","type":"any","key":"jobid"}]}},"response":[{"id":"fe32a75e-f2cb-4d60-a87c-74a5ab510f62","name":"response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) ","key":"customerid","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/job/:jobid","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","job",":jobid"],"variable":[{"key":"jobid"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"014ff1c9-59de-4a87-9029-c76a1c217e15\",\n  \"message\": \"Job Deleted successfully.\"\n}"},{"id":"69e136e5-8324-4635-9683-03a7fd0f9272","name":"response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) ","key":"customerid","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/job/:jobid","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["job",":jobid"],"variable":[{"key":"jobid"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"fff01aa9-cebd-46dc-99d5-3eff60d1c385\",\n  \"message\": \"We are unable to delete your Job. Please try again in sometime. If the problem pertains please raise a ticket in telus insights support\",\n  \"level\": \"error\"\n}"},{"id":"98a12bc9-32fc-4358-9402-1f1c5dc63487","name":"response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) ","key":"customerid","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/job/:jobid","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["job",":jobid"],"variable":[{"key":"jobid"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"1d53cc2f-5451-4c6a-9880-741490f45683"},{"name":"Cancel One Job","id":"0b63463a-acfe-4da3-be18-4e080f6018ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{},"isInherited":false},"method":"PATCH","header":[{"description":"<p>(Required) </p>\n","key":"customerid","value":"velit tempor"},{"key":"Accept","value":"*/*"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/job/:jobid/cancel?jobid=velit tempor","description":"<p>Cancel a running job. You will be able to edit and resubmit if you ran something by mistake.</p>\n","urlObject":{"path":["job",":jobid","cancel"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"key":"jobid","value":"velit tempor"}],"variable":[{"id":"3e04af99-f17a-492c-8897-35749a0474a0","type":"any","key":"jobid"}]}},"response":[{"id":"1f73b7be-7b74-43f7-8270-00491328a97b","name":"response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) ","key":"customerid","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/job/:jobid/cancel?jobid=velit tempor","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","job",":jobid","cancel"],"query":[{"key":"jobid","value":"velit tempor"}],"variable":[{"key":"jobid"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"fff01aa9-cebd-46dc-99d5-3eff60d1c385\",\n  \"status\": \"CANCELLED\",\n  \"message\": \"Job cancelled successfully.\"\n}"},{"id":"16437d1c-d449-4387-abb7-156f2cbdece5","name":"response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) ","key":"customerid","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/job/:jobid/cancel?jobid=velit tempor","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["job",":jobid","cancel"],"query":[{"key":"jobid","value":"velit tempor"}],"variable":[{"key":"jobid"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"fff01aa9-cebd-46dc-99d5-3eff60d1c385\",\n  \"message\": \"Job could not be cancelled. It may be because the job is already Complete.\",\n  \"level\": \"error\"\n}"},{"id":"3dca38da-9857-4989-9201-272a9081b780","name":"response","originalRequest":{"method":"PATCH","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) ","key":"customerid","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/job/:jobid/cancel?jobid=velit tempor","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["job",":jobid","cancel"],"query":[{"key":"jobid","value":"velit tempor"}],"variable":[{"key":"jobid"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{}"}],"_postman_id":"0b63463a-acfe-4da3-be18-4e080f6018ea"},{"name":"List User Jobs","id":"1ade3e9e-af2f-4450-b914-3a3088d6f0db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{},"isInherited":false},"method":"GET","header":[{"key":"customerId","value":"velit tempor","type":"text"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/job?limit=5&offset=0&sort=-createdDate&selectjobs=user","description":"<p>This endpoint returns the active jobs irrespective of the status of the job based on the following query parameters.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Passed in</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit <em>(optional)</em></td>\n<td>query</td>\n<td>The limit value defines the number of records to be fetched.  <br />  <br />The default value is 15.</td>\n<td>limit=5</td>\n</tr>\n<tr>\n<td>offset <em>(optional)</em></td>\n<td>query</td>\n<td>The offset value defines the number of records to be skipped (which would have already been fetched).  <br />  <br />The default value is 0.</td>\n<td>offset=10</td>\n</tr>\n<tr>\n<td>sort <em>(optional)</em></td>\n<td>query</td>\n<td>The sort value defines the field using which you want the records to be sorted.  <br />  <br />Currently we support the following 3 fields for sort: createdDate, api (job/study type), and status.  <br />  <br />The default sort is based on createdDate field in descending order.  <br />  <br />The hyphen symbol (-) just before the sort field will sort the data in descending order. For sorting in an ascending order, the hyphen symbol will have to be removed.</td>\n<td>sort=-status  <br />sort=status</td>\n</tr>\n<tr>\n<td>selectjobs <em>(optional)</em></td>\n<td>query</td>\n<td>The selectjobs value defines the list of the jobs to be returned i.e. list of jobs submitted by the user or the list of all the jobs pertaining to the organization)  <br />  <br />Allowed values: user, organization.  <br />  <br />The default value is user.</td>\n<td>selectjobs=organization</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["job"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[{"key":"limit","value":"5"},{"key":"offset","value":"0"},{"key":"sort","value":"-createdDate"},{"key":"selectjobs","value":"user"}],"variable":[]}},"response":[{"id":"353123ad-c3cc-445f-a968-ae0e4cf2bf93","name":"Success - Paginated list of jobs","originalRequest":{"method":"GET","header":[{"key":"customerId","value":"velit tempor","type":"text"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/job?limit=5&offset=0&sort=-createdDate","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","job"],"query":[{"key":"limit","value":"5"},{"key":"offset","value":"0"},{"key":"sort","value":"-createdDate"}]}},"status":"Partial Content","code":206,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"_metadata\": {\n        \"page\": 1,\n        \"per_page\": 5,\n        \"page_count\": 5,\n        \"total_count\": 16,\n        \"range\": \"1-5/16\",\n        \"links\": [\n            {\n                \"self\": \"/job?limit=5&offset=0&sort=-createdDate\"\n            },\n            {\n                \"first\": \"/job?limit=5&offset=0&sort=-createdDate\"\n            },\n            {\n                \"last\": \"/job?limit=5&offset=15&sort=-createdDate\"\n            },\n            {\n                \"next\": \"/job?limit=5&offset=5&sort=-createdDate\"\n            }\n        ]\n    },\n    \"records\": [\n        {\n            \"jobId\": \"velit tempor1\",\n            \"api\": \"demographic\",\n            \"status\": \"COMPLETE\",\n            \"queryParams\": {\n                \"end_time\": \"2020-10-04T23:59:59\",\n                \"input_geoid\": {\n                    \"study_zone\": [\n                        \"Downtown\",\n                        \"Inkster\",\n                        \"Seven Oaks\",\n                        \"River Heights\",\n                        \"Point Douglas\",\n                        \"Transcona\",\n                        \"St. Boniface\",\n                        \"River East\",\n                        \"St. Vital\",\n                        \"Fort Garry\",\n                        \"Assiniboine South\",\n                        \"St. James - Assiniboia\"\n                    ],\n                    \"requestId\": \"shape-file-zip-12150800-8b49a4acbc1d\"\n                },\n                \"time_bucket_size\": 1440,\n                \"api\": \"demographic\",\n                \"topics\": [\n                    {\n                        \"topic\": \"Marital status\"\n                    },\n                    {\n                        \"topic\": \"Age characteristics\"\n                    },\n                    {\n                        \"topic\": \"First official language spoken\"\n                    },\n                    {\n                        \"topic\": \"Family characteristics-Family size\"\n                    },\n                    {\n                        \"topic\": \"Household and dwelling characteristics-household size\"\n                    },\n                    {\n                        \"topic\": \"Income of households in 2015-Household total income groups in 2015 for private households\"\n                    }\n                ],\n                \"start_time\": \"2020-10-04T00:00:00\"\n            },\n            \"created_date\": \"2022-10-31T11:27:59\"\n        },\n        {\n            \"jobId\": \"velit tempor2\",\n            \"api\": \"demographic\",\n            \"status\": \"COMPLETE\",\n            \"queryParams\": {\n                \"start_time\": \"2020-10-04T00:00:00\",\n                \"api\": \"demographic\",\n                \"time_bucket_size\": 1440,\n                \"end_time\": \"2020-10-04T23:59:59\",\n                \"topics\": [],\n                \"input_geoid\": {\n                    \"requestId\": \"shape-file-zip-12150800-8b49a4acbc1d\",\n                    \"study_zone\": [\n                        \"Downtown\",\n                        \"Inkster\",\n                        \"Seven Oaks\",\n                        \"River Heights\",\n                        \"Point Douglas\",\n                        \"Transcona\",\n                        \"St. Boniface\",\n                        \"River East\",\n                        \"St. Vital\",\n                        \"Fort Garry\",\n                        \"Assiniboine South\",\n                        \"St. James - Assiniboia\"\n                    ]\n                }\n            },\n            \"created_date\": \"2022-10-31T11:26:46\"\n        },\n        {\n            \"jobId\": \"velit tempor3\",\n            \"api\": \"demographic\",\n            \"status\": \"COMPLETE\",\n            \"queryParams\": {\n                \"end_time\": \"2020-10-04T23:59:59\",\n                \"topics\": [],\n                \"time_bucket_size\": 1440,\n                \"api\": \"demographic\",\n                \"start_time\": \"2020-10-04T00:00:00\",\n                \"input_geoid\": {\n                    \"requestId\": \"shape-file-zip-12150800-8b49a4acbc1d\",\n                    \"study_zone\": [\n                        \"Downtown\",\n                        \"Inkster\",\n                        \"Seven Oaks\",\n                        \"River Heights\",\n                        \"Point Douglas\",\n                        \"Transcona\",\n                        \"St. Boniface\",\n                        \"River East\",\n                        \"St. Vital\",\n                        \"Fort Garry\",\n                        \"Assiniboine South\",\n                        \"St. James - Assiniboia\"\n                    ]\n                }\n            },\n            \"created_date\": \"2022-10-31T11:22:51\"\n        },\n        {\n            \"jobId\": \"velit tempor4\",\n            \"api\": \"repeatvisitation\",\n            \"status\": \"COMPLETE\",\n            \"queryParams\": {\n                \"time_bucket_size\": 1440,\n                \"end_time\": \"2020-10-04T23:59:59\",\n                \"min_dwell_time\": 15,\n                \"input_geoid\": {\n                    \"study_zone\": [\n                        \"Downtown\",\n                        \"Inkster\",\n                        \"Seven Oaks\",\n                        \"River Heights\",\n                        \"Point Douglas\",\n                        \"Transcona\",\n                        \"St. Boniface\",\n                        \"River East\",\n                        \"St. Vital\",\n                        \"Fort Garry\",\n                        \"Assiniboine South\",\n                        \"St. James - Assiniboia\"\n                    ],\n                    \"requestId\": \"shape-file-zip-12150800-8b49a4acbc1d\"\n                },\n                \"api\": \"repeatvisitation\",\n                \"start_time\": \"2020-10-04T00:00:00\"\n            },\n            \"created_date\": \"2022-10-31T07:28:08\"\n        },\n        {\n            \"jobId\": \"velit tempor5\",\n            \"api\": \"repeatvisitation\",\n            \"status\": \"COMPLETE\",\n            \"queryParams\": {\n                \"input_geoid\": {\n                    \"requestId\": \"shape-file-zip-12150800-8b49a4acbc1d\",\n                    \"study_zone\": [\n                        \"Downtown\",\n                        \"Inkster\",\n                        \"Seven Oaks\",\n                        \"River Heights\",\n                        \"Point Douglas\",\n                        \"Transcona\",\n                        \"St. Boniface\",\n                        \"River East\",\n                        \"St. Vital\",\n                        \"Fort Garry\",\n                        \"Assiniboine South\",\n                        \"St. James - Assiniboia\"\n                    ]\n                },\n                \"api\": \"repeatvisitation\",\n                \"start_time\": \"2020-10-04T00:00:00\",\n                \"end_time\": \"2020-10-04T23:59:59\",\n                \"time_bucket_size\": 1440\n            },\n            \"created_date\": \"2022-10-31T07:23:08\"\n        }\n    ]\n}"},{"id":"54ed74e0-da2a-402e-a6aa-d73aa351e519","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"customerId","value":"velit tempor","type":"text"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/job?limit=5&offset=0&sort=-createdDate","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["job"],"query":[{"key":"limit","value":"5"},{"key":"offset","value":"0"},{"key":"sort","value":"-createdDate"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 401,\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"1ade3e9e-af2f-4450-b914-3a3088d6f0db"}],"id":"a99a8865-4e85-448f-8a15-5f572e939685","_postman_id":"a99a8865-4e85-448f-8a15-5f572e939685","description":"","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"ODMatrix","item":[{"name":"post OD Matrix","id":"c7013e58-60b0-4c72-943e-e1f10bb22b7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"timezone\": \"UTC\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/odmatrix","description":"<p>An OD Matrix is an area of study between two or more areas as defined by the study areas. \nIt will provide the number of devices that travelled between the Matrix defined based upon the study zones and parameters provided in the job for the corresponding Job ID</p>\n<p>Example:\nHow many devices travelled between Toronto and Kingston (and vice versa) between Mon 20th April - Fri 24th April between 6am and 8pm. </p>\n","urlObject":{"path":["count","odmatrix"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"b7647ca5-480d-4523-b629-76ea9670804f","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/odmatrix"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"3367ec00-25db-425e-86b5-0d020305b41f","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/odmatrix"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"e1c12073-57e6-4aef-b4aa-769f1ab4228a","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/odmatrix"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"c7013e58-60b0-4c72-943e-e1f10bb22b7d"},{"name":"get OD Matrix","id":"10658b3f-1651-4f4f-9da9-11067ecbe2c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/odmatrix/:jobId","description":"","urlObject":{"path":["count","odmatrix",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"a7b9306d-480a-48ec-909f-dd5be8b2f5b2","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"67003eec-dced-4c64-a4d9-7b611dbe0f96","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/odmatrix/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","odmatrix",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"study_zones\": [\n    {\n      \"input_geoid\": \"Kelowna\",\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"outputs\": [\n            {\n              \"count\": 90,\n              \"output_geoid\": \"Toronto\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 70,\n              \"output_geoid\": \"Kelowna\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"outputs\": [\n            {\n              \"count\": 120,\n              \"output_geoid\": \"Toronto\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 80,\n              \"output_geoid\": \"Kelowna\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"input_geoid\": \"Toronto\",\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"outputs\": [\n            {\n              \"count\": 60,\n              \"output_geoid\": \"Kelowna\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 90,\n              \"output_geoid\": \"Toronto\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"outputs\": [\n            {\n              \"count\": 110,\n              \"output_geoid\": \"Kelowna\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 60,\n              \"output_geoid\": \"Toronto\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"},{"id":"02bddb68-600d-4961-b667-98ec7247d65f","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/odmatrix/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","odmatrix",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"0cbf8ab3-757f-4be1-b189-bb28aa106877","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/odmatrix/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","odmatrix",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"e6eef702-80d2-4856-b52a-0f1f4cb7a56e","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/odmatrix/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","odmatrix",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"8d8a27f8-a74b-408c-a48e-9c7cfa993398","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/odmatrix/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","odmatrix",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"10658b3f-1651-4f4f-9da9-11067ecbe2c8"}],"id":"d9b531ea-822a-4f94-8c73-fee1ea42b14c","description":"<p>Get the OD Matrix with  the count of trips going from each origin to each destination</p>\n","_postman_id":"d9b531ea-822a-4f94-8c73-fee1ea42b14c","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Origin","item":[{"name":"post Origin","id":"1ed5c6ef-f4d1-4422-a136-a91a6a1d8db7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"input_geoid\": {\n        \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n        \"study_zone\": [\n            \"Kelowna\",\n            \"Toronto\"\n        ],\n        \"min_dwell_time\": 15,\n        \"max_dwell_time\": 30\n    },\n    \"pass_through_geoid\": {\n        \"requestId\": \"a7643453703b-23443-4834f-8359-8c50f1a\",\n        \"study_zone\": [\n            \"Seven Oaks\"\n        ],\n        \"min_dwell_time\": 15,\n        \"max_dwell_time\": 30\n    },\n    \"output_geoid\": {\n        \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n        \"study_zone\": [\n            \"Calgary\",\n            \"Niagara\"\n        ],\n        \"min_dwell_time\": 15,\n        \"max_dwell_time\": 30\n    },\n    \"timezone\": \"UTC\",\n    \"start_time\": \"2020-01-03T00:00:00\",\n    \"end_time\": \"2020-01-03T01:00:00\",\n    \"time_bucket_size\": 30,\n    \"min_dwell_time\": 15,\n    \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/origin","description":"<p>Provides the number of devices with trips originating at each output study zone for the given parameters defined by the job, which corresponds to the job ID. </p>\n<p>Example: How many devices came from Port Credit, and Brampton and travelled to Rogers Centre in downtown Toronto on 1st December 2019, between 9am - 1pm.</p>\n","urlObject":{"path":["count","origin"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"5e615554-6852-4534-a3ee-9484ac4fc036","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/origin"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"c0585050-705a-4c5f-aeab-aa723eb7e8cf","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/origin"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"fdef0a78-c9fc-4cf9-a606-b83ba06d86c9","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/origin"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"1ed5c6ef-f4d1-4422-a136-a91a6a1d8db7"},{"name":"get Origin","id":"81cd206e-e01b-4e7b-8925-333d329dfc09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/origin/:jobId","description":"","urlObject":{"path":["count","origin",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"539dd686-e104-4eb2-99aa-9a7498eace70","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"13b537dd-7d49-473f-a377-04961f3c4921","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/origin/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","origin",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"study_zones\": [\n    {\n      \"input_geoid\": \"Kelowna\",\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"outputs\": [\n            {\n              \"count\": 90,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 70,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"outputs\": [\n            {\n              \"count\": 120,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 80,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c5\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"input_geoid\": \"Toronto\",\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"outputs\": [\n            {\n              \"count\": 60,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 90,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"outputs\": [\n            {\n              \"count\": 110,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 60,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"},{"id":"e2d40b6b-793b-4344-b9f5-e9a166562269","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/origin/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","origin",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"e603eaec-644e-452b-bdaa-d0a0f08eeaad","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/origin/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","origin",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"30c72eaa-b626-4683-9e19-918c3040d5dc","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/origin/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","origin",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"0691486f-920e-490c-bcef-fbbe0a41e0d0","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/origin/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","origin",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"81cd206e-e01b-4e7b-8925-333d329dfc09"}],"id":"32b08a9f-6ca3-4862-b4f3-49204b427782","description":"<p>Get the list of areas, with a count that the users in the area dwelled at previous to the current location</p>\n","_postman_id":"32b08a9f-6ca3-4862-b4f3-49204b427782","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Read Area","item":[{"name":"List Shapefiles","id":"e05984ba-917a-4c7a-92cb-fff5e0e628f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{},"isInherited":false},"method":"GET","header":[{"key":"customerId","value":"velit tempor","type":"text"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile?selectfiles=user","description":"<p>This endpoint returns the list of shapefiles based on the following query parameters.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Parameter</strong></th>\n<th><strong>Passed in</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Example</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>selectfiles <em>(optional)</em></td>\n<td>query</td>\n<td>The selectfiles value defines the list of shapefiles to be returned i.e. shapefiles uploaded by the user, shapefiles belonging to the organization, public shapefiles or all the shapefiles available to the user.  <br />  <br />Allowed values: user, organization, public, all.</td>\n<td>selectfiles=public</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["shapefile"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[{"description":{"content":"<p>Valid values: user, organization, public, all</p>\n","type":"text/plain"},"key":"selectfiles","value":"user"}],"variable":[]}},"response":[{"id":"3891000a-5390-48c3-a3bb-8cae7bd2c0b1","name":"Success - list of user shapefiles","originalRequest":{"method":"GET","header":[{"key":"customerId","value":"velit tempor","type":"text"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile?selectfiles=user","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","shapefile"],"query":[{"key":"selectfiles","value":"user"}]}},"status":"Partial Content","code":206,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"orginalFilename\": \"winnepeg.zip\",\n        \"status\": \"COMPLETE\",\n        \"requestId\": \"winnepeg-zip-2aaaee62-bc47-4cb9-a388-1d88aa5386fc\",\n        \"totalZones\": 1,\n        \"studyZones\": [\n            \"zone 1\"\n        ],\n        \"createdDate\": \"2022-09-20T23:14:21\",\n        \"shapeFileType\": \"user\"\n    }\n]"},{"id":"abd9aa7b-4ac4-4690-b44c-904476963f19","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"key":"customerId","value":"velit tempor","type":"text"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile?selectfiles=user","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["shapefile"],"query":[{"key":"selectfiles","value":"user"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"code\": 401,\n    \"message\": \"Unauthorized\"\n}"}],"_postman_id":"e05984ba-917a-4c7a-92cb-fff5e0e628f2"},{"name":"Retrieve status of the shapefile upload","id":"b10ad9bf-e584-4cd7-9080-437e8dae8a11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile/:requestId","description":"<p>By passing in the request ID, you can determine the status of the shapefile</p>\n","urlObject":{"path":["shapefile",":requestId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"22f52008-8cd4-4f0d-82fd-28a0c785d058","description":{"content":"<p>(Required) Request ID generated from POST /upload</p>\n","type":"text/plain"},"type":"any","value":"0cb536bc-f362-938d-5e01-ed243b27fe7e","key":"requestId"}]}},"response":[{"id":"037806f6-465d-467b-9b59-e172f82cc4e0","name":"Success, results processed","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile/:requestId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","shapefile",":requestId"],"variable":[{"key":"requestId","value":"0cb536bc-f362-938d-5e01-ed243b27fe7e","description":"(Required) Request ID generated from POST /upload"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"link\": [\n    {\n      \"method\": \"POST\",\n      \"rel\": \"geofence\",\n      \"url\": \"/geofence\"\n    },\n    {\n      \"method\": \"POST\",\n      \"rel\": \"geofence\",\n      \"url\": \"/geofence\"\n    }\n  ],\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"status\": \"PROCESSED\"\n}"},{"id":"e6f20cf9-d0c0-4583-a694-cda912b8d0b5","name":"Processing","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile/:requestId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["shapefile",":requestId"],"variable":[{"key":"requestId","value":"0cb536bc-f362-938d-5e01-ed243b27fe7e","description":"(Required) Request ID generated from POST /upload"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"Your results are still processing and being validated\",\n  \"link\": {\n    \"rel\": \"status\",\n    \"url\": \"/status\"\n  },\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"status\": \"INPROCESS\"\n}"},{"id":"465a2432-6d23-441c-b1c0-e272c3eeb63f","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile/:requestId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["shapefile",":requestId"],"variable":[{"key":"requestId","value":"0cb536bc-f362-938d-5e01-ed243b27fe7e","description":"(Required) Request ID generated from POST /upload"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"00591ad7-862d-42e4-a6a4-68ce4e9b4ce1","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile/:requestId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["shapefile",":requestId"],"variable":[{"key":"requestId","value":"0cb536bc-f362-938d-5e01-ed243b27fe7e","description":"(Required) Request ID generated from POST /upload"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"ff866fa0-f5fd-4367-bb83-ebddcffa2d61","name":"Invalid shapefile. Please validate and upload the shapefile again. Make sure the boundaries are well defined. This error happens if the GIS technician finds out the shapefile in invalid. Therefore the request Id is avaliable.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile/:requestId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["shapefile",":requestId"],"variable":[{"key":"requestId","value":"0cb536bc-f362-938d-5e01-ed243b27fe7e","description":"(Required) Request ID generated from POST /upload"}]}},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"description\": \"Invalid Shapefile\",\n  \"requestId\": \"d764703b-2143-48ff-8929-d18bc50f1a62\"\n}"}],"_postman_id":"b10ad9bf-e584-4cd7-9080-437e8dae8a11"}],"id":"689b7cd9-ee9d-4bdf-9b0c-dc42a014a745","description":"<p>Used to read shapefiles</p>\n","_postman_id":"689b7cd9-ee9d-4bdf-9b0c-dc42a014a745","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"RepeatVisitation","item":[{"name":"post Repeat Visitation","id":"0f67554c-9d8a-4095-b4ee-1d0f0daeddd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Calgary\"\n    ]\n  },\n  \"timezone\": \"UTC\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/repeatvisitation","description":"<p>The number of unique devices that have been in the given area more than once based on the parameters provided in the job for the corresponding Job ID.</p>\n<p>Example: How many devices went to Stanley Park more than once in the month of July 2020?</p>\n","urlObject":{"path":["count","repeatvisitation"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"622f288f-b1f9-4ba5-9729-a36f722e9205","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/repeatvisitation"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"3cd07bf8-c466-4e03-bb06-99438b0f0e4d","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/repeatvisitation"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"a0866ed4-46f9-4e49-b2d5-fc6f922afec6","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/repeatvisitation"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"0f67554c-9d8a-4095-b4ee-1d0f0daeddd6"},{"name":"get Repeat Visitation","id":"2c6e9d07-be42-42ba-b435-0f7c27f8f253","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/repeatvisitation/:jobId","description":"","urlObject":{"path":["count","repeatvisitation",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"c5513194-a551-41f2-8077-ca8fc7662d72","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"f515c5fa-df4b-4a3e-810b-eb9d87f02e9f","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/repeatvisitation/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","repeatvisitation",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"time_bucket_size\": 30,\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"study_zones\": [\n    {\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"count\": 90\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"count\": 120\n        }\n      ],\n      \"input_geoid\": \"Kelowna\"\n    },\n    {\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"count\": 70\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"count\": 80\n        }\n      ],\n      \"input_geoid\": \"Calgary\"\n    }\n  ]\n}"},{"id":"9fd82f12-077d-4c8f-80c1-ae6932262501","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/repeatvisitation/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","repeatvisitation",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"6f2ab942-907e-4b8d-8810-45aab893abc8","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/repeatvisitation/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","repeatvisitation",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"2e0b31f2-754e-45c2-a0a2-159006bfd6be","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/repeatvisitation/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","repeatvisitation",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"56fcd73a-b1cf-4952-86f6-35338943b5d1","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/repeatvisitation/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","repeatvisitation",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"2c6e9d07-be42-42ba-b435-0f7c27f8f253"}],"id":"5bbcb1d5-7b3d-4702-918b-183772e8ffcb","description":"<p>Get the the count of repeat visitors in an area during the given timeframe_bucket in the given geography during the given time.</p>\n","_postman_id":"5bbcb1d5-7b3d-4702-918b-183772e8ffcb","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Shapefile Delete","item":[{"name":"Endpoint for deleting a Shapefile","id":"bfd5d873-d884-43bf-9137-995bab1a2a63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{},"isInherited":false},"method":"DELETE","header":[{"key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile/:requestId","urlObject":{"path":["shapefile",":requestId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"fd10e888-f83b-4e03-807e-5712081a7c82","type":"any","value":null,"key":"requestId"}]}},"response":[{"id":"730d6be2-f03b-41c5-8718-6583262344de","name":"response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile/:requestId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","shapefile",":requestId"],"variable":[{"key":"requestId"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": -46570025,\n  \"requestId\": \"enim reprehenderit\",\n  \"message\": \"nulla\"\n}"},{"id":"c6ff35d6-d149-49cd-9c8c-6333550eea74","name":"response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile/:requestId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["shapefile",":requestId"],"variable":[{"key":"requestId"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": -53634451,\n  \"message\": \"est dolore\"\n}"},{"id":"5decc403-4df8-41cb-ad24-be9e3b0ece23","name":"response","originalRequest":{"method":"DELETE","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/shapefile/:requestId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["shapefile",":requestId"],"variable":[{"key":"requestId"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"message\": \"esse ut\"\n}"}],"_postman_id":"bfd5d873-d884-43bf-9137-995bab1a2a63"}],"id":"582d202e-d04d-4829-8455-fc2aee59cbac","_postman_id":"582d202e-d04d-4829-8455-fc2aee59cbac","description":"","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"TotalTrip","item":[{"name":"post Total Trip","id":"eadb82df-945d-4226-af51-58efb48d9ee1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Calgary\"\n    ]\n  },\n  \"timezone\": \"UTC\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/totaltrip","description":"<p>The total number of trips made by devices over a given period of time as specified by the input parameters. </p>\n<p>Example: How many devices took more than 10 trips to Toronto in the month of May, 2020?</p>\n","urlObject":{"path":["count","totaltrip"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"11f2dd46-4d91-41a8-8a83-fbc5236fa2c4","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/totaltrip"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"2a195d80-de94-4e00-af0d-0730bb60f249","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/totaltrip"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"2cb5984a-ce59-446c-820e-336d8a585713","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/totaltrip"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"eadb82df-945d-4226-af51-58efb48d9ee1"},{"name":"get Total Trip","id":"53239d7b-129e-4bb8-b63d-f294fc30896c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/totaltrip/:jobId","description":"","urlObject":{"path":["count","totaltrip",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"39261632-8469-4daa-a6de-cd986873c6ca","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"d100610a-6090-408b-9182-7217f62c598a","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/totaltrip/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","totaltrip",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"time_bucket_size\": 30,\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"study_zones\": [\n    {\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"count\": 90\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"count\": 120\n        }\n      ],\n      \"input_geoid\": \"Kelowna\"\n    },\n    {\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"count\": 70\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"count\": 80\n        }\n      ],\n      \"input_geoid\": \"Calgary\"\n    }\n  ]\n}"},{"id":"633b3112-f2e6-4fd7-8685-c610ae3508c2","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/totaltrip/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","totaltrip",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"d31509db-60cf-442f-a699-c86fe509c8a6","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/totaltrip/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","totaltrip",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"fe0a57d0-89a1-4da4-803b-f0f9f09b5117","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/totaltrip/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","totaltrip",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"c1faebbb-133d-4493-8f42-66f56c01e4f6","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/totaltrip/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","totaltrip",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"53239d7b-129e-4bb8-b63d-f294fc30896c"}],"id":"ed4a9c44-9daa-4564-9cad-f92dce2a32cb","description":"<p>Get count of total trips across a zone</p>\n","_postman_id":"ed4a9c44-9daa-4564-9cad-f92dce2a32cb","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"TradeArea","item":[{"name":"post Trade Area","id":"2356aee8-9d29-485a-a9a6-bdfb7196d02a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"timezone\": \"UTC\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"primary_threshold\": 0.3,\n  \"secondary_threshold\": 0.4,\n  \"count_weight\": 0.4,\n  \"trip_weight\": 0.4,\n  \"distance_weight\": 0.4,\n  \"estimation_only\": true,\n  \"time_bucket_size\": 30,\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/tradearea","description":"<p>For each Study Zone in the Output GeoID, a list of its classification (Primary / Secondary / Tertiary) for the trade area of the input GeoID based on the parameters in the job for the corresponding Job ID</p>\n<p>Example: Return primary secondary and tertiary trade areas</p>\n","urlObject":{"path":["count","tradearea"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"4c53f610-178b-414b-895d-6ae0fd47e7dc","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"primary_threshold\": 0.3,\n  \"secondary_threshold\": 0.4,\n  \"count_weight\": 0.4,\n  \"trip_weight\": 0.4,\n  \"distance_weight\": 0.4,\n  \"estimation_only\": true,\n  \"time_bucket_size\": 30,\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/tradearea"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"6d52662a-f50f-4c04-9abc-cba38d4f8d15","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"primary_threshold\": 0.3,\n  \"secondary_threshold\": 0.4,\n  \"count_weight\": 0.4,\n  \"trip_weight\": 0.4,\n  \"distance_weight\": 0.4,\n  \"estimation_only\": true,\n  \"time_bucket_size\": 30,\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/tradearea"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"fe1f9b1d-3355-4c88-954f-ef46bfb098a9","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"primary_threshold\": 0.3,\n  \"secondary_threshold\": 0.4,\n  \"count_weight\": 0.4,\n  \"trip_weight\": 0.4,\n  \"distance_weight\": 0.4,\n  \"estimation_only\": true,\n  \"time_bucket_size\": 30,\n  \"min_dwell_time\": 15,\n  \"max_dwell_time\": 30\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/tradearea"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"2356aee8-9d29-485a-a9a6-bdfb7196d02a"},{"name":"get Trade Area","id":"a2484ea5-694b-4eb3-b8b9-9b89af84a275","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/tradearea/:jobId","description":"","urlObject":{"path":["count","tradearea",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"b93a4f4b-16ff-4b35-a3b5-e86afb36ba2f","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"ac2d7c8b-84d2-403d-84b1-3d5f4360d957","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/tradearea/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","tradearea",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"study_zones\": [\n    {\n      \"input_geoid\": \"Kelowna\",\n      \"outputs\": [\n        {\n          \"category\": \"Primary\",\n          \"output_geoid\": \"Calgary\",\n          \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n        },\n        {\n          \"category\": \"Secondary\",\n          \"output_geoid\": \"Niagara\",\n          \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n        }\n      ]\n    },\n    {\n      \"input_geoid\": \"Toronto\",\n      \"outputs\": [\n        {\n          \"category\": \"Primary\",\n          \"output_geoid\": \"Calgary\",\n          \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n        },\n        {\n          \"category\": \"Secondary\",\n          \"output_geoid\": \"Niagara\",\n          \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n        }\n      ]\n    }\n  ]\n}"},{"id":"e583d397-6124-4da1-85d7-de5d292628f1","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/tradearea/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","tradearea",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"9d98502a-034d-4b51-9a6b-5061e0baac47","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/tradearea/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","tradearea",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"2e8f5466-924a-4ada-bd32-9cc951ae1fc6","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/tradearea/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","tradearea",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"91b443c0-2489-43dd-a19f-ca19651cc3fd","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/tradearea/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","tradearea",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"a2484ea5-694b-4eb3-b8b9-9b89af84a275"}],"id":"1680bbb9-b19b-4725-8af9-87af59c0d9cc","description":"<p>Return the list of output areas, labeled with primary secondary and tertiary trade areas</p>\n","_postman_id":"1680bbb9-b19b-4725-8af9-87af59c0d9cc","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Unique","item":[{"name":"post Unique","id":"2a90821b-9a79-4afe-aec5-69be9f0d2761","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Calgary\"\n    ]\n  },\n  \"cross_zone_analysis\": false,\n  \"timezone\": \"UTC\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique","description":"<p>Provides the number of unique devices for the given parameters defined by the job, which corresponds to the job ID.</p>\n<p>Example: How many unique devices  visited downtown Squamish on Saturday 14th November 2020, broken down by hour of day. </p>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}},"urlObject":{"path":["count","unique"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"223836f2-1ce8-4120-9ad2-4a900bb641b6","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"8bee2650-4b69-4882-8a2c-2ede94e3257e","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"7baf27d1-49c2-4955-9df2-588aea43d0f6","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"9ca5c70b-9413-49b9-9960-7dfaec77be9a","name":"Resource not found","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"2a90821b-9a79-4afe-aec5-69be9f0d2761"},{"name":"get Unique","id":"cc2146fe-89af-4520-a980-1f8c2ae12bed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique/:jobId","description":"","urlObject":{"path":["count","unique",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"d2c31972-b41a-435d-a5b2-da1227114d43","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"3c0f5168-7075-48fc-8fbf-77cbe2c5174e","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","unique",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"time_bucket_size\": 30,\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"study_zones\": [\n    {\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"count\": 90\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"count\": 120\n        }\n      ],\n      \"input_geoid\": \"Kelowna\"\n    },\n    {\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"count\": 70\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"count\": 80\n        }\n      ],\n      \"input_geoid\": \"Calgary\"\n    }\n  ]\n}"},{"id":"cc78dcbf-aa57-410f-8d80-f02c8cb7712d","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","unique",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"2faddee6-3786-4d64-98da-964d7ff088fd","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","unique",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"bc6f8df4-47fa-4ea7-94fb-85556975c0e1","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","unique",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"44e27056-e417-45c2-bd10-3cf64f3873a7","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/unique/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","unique",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"cc2146fe-89af-4520-a980-1f8c2ae12bed"}],"id":"bd28fabe-ea2d-48aa-9e1d-14d8c4906763","description":"<p>Get count of Unique users in an area</p>\n","_postman_id":"bd28fabe-ea2d-48aa-9e1d-14d8c4906763","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Usage","item":[{"name":"get Usage","id":"682fa97d-51af-4afb-9f2c-bd518464f7c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/usage","description":"<p>Returns the number of calls submitted by the user's organization broken down by year, month and endpoint. It also returns the count of distinct study zones queried every month.</p>\n<p>The API usage is updated every hour.</p>\n","urlObject":{"path":["usage"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"fbe01cb1-bc26-4f4f-bd9c-f38470ec741d","name":"Success","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/usage"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"2021\": {\n    \"monthly_breakdown\": {\n      \"1\": {\n        \"studyzone\": {\n          \"total\": 15\n        },\n        \"api\": {\n          \"total\": 20,\n          \"breakdown\": [\n            [\n              {\n                \"api\": \"home\",\n                \"count\": 5\n              },\n              {\n                \"api\": \"dwelltime\",\n                \"count\": 15\n              }\n            ]\n          ]\n        }\n      }\n    }\n  }\n}"},{"id":"c8ceba34-e2c4-4c68-b207-45e9984fc60f","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/usage"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"b361941a-1fb6-45f3-8d40-c42419acf0ce","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/usage"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"682fa97d-51af-4afb-9f2c-bd518464f7c8"}],"id":"2fc68313-36f6-483a-b934-cd964446cd75","description":"<p>Provides the API usage of the organization.</p>\n","_postman_id":"2fc68313-36f6-483a-b934-cd964446cd75","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}},{"name":"Work","item":[{"name":"post Work","id":"afeeb26c-3b23-49bd-af88-d613e1bba9d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"timezone\": \"UTC\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"estimation_only\": true,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/work","description":"<p>The assumed work neighbourhoods of devices for the parameters given by the job corresponding to the Job ID. Each home neighbourhood is represented by the provided Output GeoID</p>\n<p>Example: How many devices work within the “Mississauga retail park” between Mississauga and Derry Road that travel from Burlington in the month of January. </p>\n","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}},"urlObject":{"path":["count","work"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[]}},"response":[{"id":"22cd738f-01d7-4ac1-be91-9b1b4a5f27df","name":"Job created for request","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/work"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"amet Excepteur enim\",\n  \"link\": {\n    \"rel\": \"aliquip est\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"token_usage\": 8599126.522849992\n}"},{"id":"c55bc3fd-5197-419b-b198-241c0f42fffb","name":"Invalid Input","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/work"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"5cf47f9b-a874-4388-a1b7-62a6b7f5576e","name":"Unauthorized","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"body":{"mode":"raw","raw":"{\n  \"input_geoid\": {\n    \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n    \"study_zone\": [\n      \"Kelowna\",\n      \"Toronto\"\n    ]\n  },\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"output_geoid\": {\n    \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\",\n    \"study_zone\": [\n      \"Calgary\",\n      \"Niagara\"\n    ]\n  },\n  \"estimation_only\": false,\n  \"time_bucket_size\": 30,\n  \"max_dwell_time\": 30,\n  \"min_dwell_time\": 15\n}","options":{"raw":{"language":"json"}}},"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/work"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"}],"_postman_id":"afeeb26c-3b23-49bd-af88-d613e1bba9d0"},{"name":"get Work","id":"44a4a61d-61ec-4e4c-b9c2-1ec075a044e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"oauth2","oauth2":{"scope":"{{AuthCodeScopeIds}}","clientSecret":"{{AuthCodeClientSecret}}","clientId":"{{AuthCodeClientId}}","accessTokenUrl":"{{AccessTokenURL}}","grant_type":"<grant_type>"},"isInherited":false},"method":"GET","header":[{"description":"<p>(Required) CustomerId is required</p>\n","key":"customerId","value":"velit tempor"},{"key":"Accept","value":"application/json"}],"url":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/work/:jobId","description":"","urlObject":{"path":["count","work",":jobId"],"host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"query":[],"variable":[{"id":"0ed225cc-16cd-419d-88b4-6a9e5ba70bbc","description":{"content":"<p>(Required) The request id returned from POST request</p>\n","type":"text/plain"},"type":"any","value":"velit tempor","key":"jobId"}]}},"response":[{"id":"16c71640-fa73-422a-9c6d-17e6d7666e5a","name":"response","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/work/:jobId","protocol":"https","host":["location-api","insights","telus","com"],"path":["product","insightsRequest","v1","count","work",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"time_bucket_size\": 30,\n  \"end_time\": \"2020-01-03T01:00:00\",\n  \"requestId\": \"c764703b-2043-48ff-8929-d18bc50f1a62\",\n  \"start_time\": \"2020-01-03T00:00:00\",\n  \"study_zones\": [\n    {\n      \"input_geoid\": \"Kelowna\",\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"outputs\": [\n            {\n              \"count\": 90,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 70,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"outputs\": [\n            {\n              \"count\": 120,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 80,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        }\n      ]\n    },\n    {\n      \"input_geoid\": \"Toronto\",\n      \"buckets\": [\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:00:00\",\n          \"outputs\": [\n            {\n              \"count\": 60,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 90,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        },\n        {\n          \"timeframe_bucket\": \"2020-01-03T00:30:00\",\n          \"outputs\": [\n            {\n              \"count\": 110,\n              \"output_geoid\": \"Calgary\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            },\n            {\n              \"count\": 60,\n              \"output_geoid\": \"Niagara\",\n              \"requestId\": \"bd8b10da-8318-4fc1-baed-5823e14b2c52\"\n            }\n          ]\n        }\n      ]\n    }\n  ]\n}"},{"id":"20281054-5bfc-44cd-b029-69dbc3cb498c","name":"Request was accepted and being processed on.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/work/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","work",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"jobId\": \"voluptate deserunt\",\n  \"link\": {\n    \"rel\": \"self\",\n    \"url\": \"/{self}/{jobId}\"\n  },\n  \"status\": \"Processing\"\n}"},{"id":"6122c706-85eb-4277-8c88-e8bb8455b9e1","name":"Invalid Input","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/work/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","work",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 400,\n  \"message\": \"Invalid input\"\n}"},{"id":"b1e43fa2-43db-4aca-9204-9c89c91afa1f","name":"Unauthorized","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/work/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","work",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 401,\n  \"message\": \"Unauthorized\"\n}"},{"id":"c6e6ea6a-9a95-47bf-8713-3aa321acdcbb","name":"Resource not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: oauth2","key":"Authorization","value":"<token>"},{"description":"(Required) CustomerId is required","key":"customerId","value":"velit tempor"}],"url":{"raw":"https://location-api.insights.telus.com/product/insightsRequest/v1/count/work/:jobId","host":["https://location-api.insights.telus.com/product/insightsRequest/v1"],"path":["count","work",":jobId"],"variable":[{"key":"jobId","value":"velit tempor","description":"(Required) The request id returned from POST request"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"code\": 404,\n  \"message\": \"Method does not exist.\"\n}"}],"_postman_id":"44a4a61d-61ec-4e4c-b9c2-1ec075a044e1"}],"id":"70bbf94e-8b4c-4963-ab11-14f0474461db","description":"<p>Get count of people in Current(Input) location who have Work area in provided(Output) location</p>\n","_postman_id":"70bbf94e-8b4c-4963-ab11-14f0474461db","auth":{"type":"oauth2","oauth2":{},"isInherited":true,"source":{"_postman_id":"d8e042de-3754-42b6-beb6-a174697eddf8","id":"d8e042de-3754-42b6-beb6-a174697eddf8","name":"Telus Insights Location API","type":"collection"}}}],"auth":{"type":"oauth2","oauth2":{}},"variable":[{"id":"6e19bde9-97bb-4b25-ba23-c69b1043d6c1","key":"baseUrl","value":"https://location-api.insights.telus.com/product/insightsRequest/v1","type":"string"}]}