<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Use URL parameters to retrieve historical data. in ArcGIS Velocity Questions</title>
    <link>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635714#M565</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/56766" target="_blank" rel="noopener"&gt;@PeterNasuti&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I attempt to do is retrieving all the historical data of a period of time. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The API only returns&lt;SPAN class=""&gt;&amp;nbsp; the location history recorded in the next hour from the provided log date.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;For example,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;A href="https://gpsfeed/api/v1/locations/2018-12-01T08:00:00Z" target="_blank" rel="noopener"&gt;https://gpsfeed/api/v1/locations/2024-12-01T08:00:00Z&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;returns the locations from 2024-12-01 08:00-09:00.&lt;/P&gt;&lt;P&gt;To retrieve data between 2024-12-01 to 2024-12-30, I would like to dynamically change the url by using URL parameters.&lt;/P&gt;&lt;P&gt;Send a request to&lt;/P&gt;&lt;P&gt;&lt;A href="https://gpsfeed/api/v1/locations/2018-12-01T08:00:00Z" target="_blank" rel="noopener"&gt;https://gpsfeed/api/v1/locations/2024-12-01T&lt;STRONG&gt;08&lt;/STRONG&gt;:00:00Z&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After 15 secs,Send a request to&lt;/P&gt;&lt;P&gt;&lt;A href="https://gpsfeed/api/v1/locations/2018-12-01T08:00:00Z" target="_blank" rel="noopener"&gt;https://gpsfeed/api/v1/locations/2024-12-01T&lt;STRONG&gt;09&lt;/STRONG&gt;:00:00Z&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;A href="https://yoursite.com/yourURL/$feed.FeedScheduledStartTime" target="_blank" rel="noopener nofollow noreferrer"&gt;$feed.FeedLastScheduledStartTime&lt;/A&gt;&amp;nbsp;seems doesn't work in my case...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2025 20:13:10 GMT</pubDate>
    <dc:creator>wchou_esrica</dc:creator>
    <dc:date>2025-07-23T20:13:10Z</dc:date>
    <item>
      <title>Use URL parameters to retrieve historical data.</title>
      <link>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635232#M561</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I'm attempting to ingest GPS data into ArcGIS Velocity using the HTTP Poller.&lt;/P&gt;&lt;P&gt;The GPS API endpoint supports retrieving historical data by specifying a timestamp in the URL:&lt;/P&gt;&lt;PRE&gt;https://gpsfeed/api/v1/locations/{logDateUTC}&lt;/PRE&gt;&lt;P&gt;For example, sending a request to:&lt;/P&gt;&lt;PRE&gt;https://gpsfeed/api/v1/locations/2018-12-01T08:00:00Z&lt;/PRE&gt;&lt;P&gt;returns the vehicle locations recorded at that specific time.&lt;/P&gt;&lt;P&gt;I tried using a dynamic URL by passing the timestamp as a URL parameter, but since Velocity's HTTP Poller only supports&lt;STRONG&gt; key-value pairs&lt;/STRONG&gt;, the request was sent as:&lt;/P&gt;&lt;PRE&gt;https://gpsfeed/api/v1/locations/&lt;FONT color="#FF0000"&gt;?=&lt;/FONT&gt;2018-12-01T08:00:00Z&lt;/PRE&gt;&lt;P&gt;which is invalid.&lt;/P&gt;&lt;P&gt;Is there a way to configure the HTTP Poller to send a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;dynamic URL path&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(not just parameters) so that I can query historical data by timestamp?&lt;/P&gt;&lt;P&gt;My ultimate goal is to ingest GPS data from the past 2 years.&lt;/P&gt;&lt;P&gt;Any input would be greatly appreciated!&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:40:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635232#M561</guid>
      <dc:creator>wchou_esrica</dc:creator>
      <dc:date>2025-07-23T14:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use URL parameters to retrieve historical data.</title>
      <link>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635388#M562</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/647442"&gt;@wchou_esrica&lt;/a&gt;&amp;nbsp;I just did some testing on this -&lt;/P&gt;&lt;P&gt;While not documented, Velocity HTTP Poller feed type &lt;EM&gt;&lt;STRONG&gt;does&lt;/STRONG&gt; &lt;/EM&gt;replace timestamp values in the URL when using the feed global variables. &lt;STRONG&gt;However&lt;/STRONG&gt;, for the URL feed global variables, the date formatting string is not honored and all dates will be sent as an epoch millisecond. I'll check with a developer to see if this is something we can enhance for. In the meantime, does your API support epoch MS time reference in the URL?&lt;/P&gt;&lt;P&gt;Related documentation, see section under feed global variables:&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/velocity/ingest/website-poll-feed.htm" target="_blank"&gt;https://doc.arcgis.com/en/velocity/ingest/website-poll-feed.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 12:52:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635388#M562</guid>
      <dc:creator>PeterNasuti</dc:creator>
      <dc:date>2025-07-23T12:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use URL parameters to retrieve historical data.</title>
      <link>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635451#M563</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/56766"&gt;@PeterNasuti&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, the API only supports "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'" format .&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did try setting the global variable, but the main issue is that the API's parameter&amp;nbsp;is not key-value pair, so I have to put " " in key field.&amp;nbsp; After url encoding, the request becomes "&amp;nbsp;/api/v1/locations/&lt;FONT color="#FF0000"&gt;?%20=&lt;/FONT&gt;2025-07-05T16%3A27%3A14Z and&amp;nbsp;&lt;FONT color="#FF0000"&gt;?%20= &lt;FONT color="#000000"&gt;is not acceptable.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wchou_esrica_1-1753280228345.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/137018i25678957629A46E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wchou_esrica_1-1753280228345.png" alt="wchou_esrica_1-1753280228345.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there a way to add parameters without using key-value format?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 14:23:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635451#M563</guid>
      <dc:creator>wchou_esrica</dc:creator>
      <dc:date>2025-07-23T14:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use URL parameters to retrieve historical data.</title>
      <link>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635570#M564</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/647442"&gt;@wchou_esrica&lt;/a&gt;&amp;nbsp;Yes - try this such as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://yourSite.com/yourURL/" target="_blank" rel="noopener"&gt;https://yourSite.com/yourURL/&lt;/A&gt;&lt;SPAN&gt;$feed.FeedScheduledStartTime OR&amp;nbsp;&lt;A href="https://yourSite.com/yourURL/$feed.FeedScheduledStartTime" target="_blank" rel="noopener"&gt;https://yourSite.com/yourURL/$feed.FeedLastScheduledStartTime&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And also specify the Global variables date formatting string:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PeterNasuti_1-1753288848766.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/137071i8A4F37D04CBCA1C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PeterNasuti_1-1753288848766.png" alt="PeterNasuti_1-1753288848766.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am seeing success with this in testing where the value ends up being substituted for the request.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 18:09:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635570#M564</guid>
      <dc:creator>PeterNasuti</dc:creator>
      <dc:date>2025-07-23T18:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Use URL parameters to retrieve historical data.</title>
      <link>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635714#M565</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/56766" target="_blank" rel="noopener"&gt;@PeterNasuti&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What I attempt to do is retrieving all the historical data of a period of time. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The API only returns&lt;SPAN class=""&gt;&amp;nbsp; the location history recorded in the next hour from the provided log date.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;For example,&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;A href="https://gpsfeed/api/v1/locations/2018-12-01T08:00:00Z" target="_blank" rel="noopener"&gt;https://gpsfeed/api/v1/locations/2024-12-01T08:00:00Z&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;returns the locations from 2024-12-01 08:00-09:00.&lt;/P&gt;&lt;P&gt;To retrieve data between 2024-12-01 to 2024-12-30, I would like to dynamically change the url by using URL parameters.&lt;/P&gt;&lt;P&gt;Send a request to&lt;/P&gt;&lt;P&gt;&lt;A href="https://gpsfeed/api/v1/locations/2018-12-01T08:00:00Z" target="_blank" rel="noopener"&gt;https://gpsfeed/api/v1/locations/2024-12-01T&lt;STRONG&gt;08&lt;/STRONG&gt;:00:00Z&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After 15 secs,Send a request to&lt;/P&gt;&lt;P&gt;&lt;A href="https://gpsfeed/api/v1/locations/2018-12-01T08:00:00Z" target="_blank" rel="noopener"&gt;https://gpsfeed/api/v1/locations/2024-12-01T&lt;STRONG&gt;09&lt;/STRONG&gt;:00:00Z&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and so on.&lt;/P&gt;&lt;P&gt;&lt;A href="https://yoursite.com/yourURL/$feed.FeedScheduledStartTime" target="_blank" rel="noopener nofollow noreferrer"&gt;$feed.FeedLastScheduledStartTime&lt;/A&gt;&amp;nbsp;seems doesn't work in my case...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 20:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-velocity-questions/use-url-parameters-to-retrieve-historical-data/m-p/1635714#M565</guid>
      <dc:creator>wchou_esrica</dc:creator>
      <dc:date>2025-07-23T20:13:10Z</dc:date>
    </item>
  </channel>
</rss>

