<?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 TeamEvent Sorting Order (GetEventsAsync) in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/456753#M1514</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me understand the Team Events sorting order returned by Dropbox API?&lt;/P&gt;&lt;P&gt;I found only this info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/18050i43244E55FAD85903/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&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;&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;&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;&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;&lt;P&gt;I developed an .NET application, which reads Team Events using Dropbox .NET SDK methods&amp;nbsp;GetEventsAsync and&amp;nbsp;GetEventsContinueAsync. The application uses TimeRange parameter to pass date range for events to read. For eaxample, StartDate: 10-Sep-2020 and EndDate: 28-Sep-2020, on each method call I get the events list and start process them one by one until the HasMore flag is false. If something goes wrong during processing the current event, the application saves the last succesfully processed event and exit. On the application next run the saved last event is used to continue with remaining events. To make sure nothing will be missed, I need your help to find the best solution. Perhaps having knowledge how the events are sorted might help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise me what is the best way to&amp;nbsp;achive this goal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gevorg&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 07:28:39 GMT</pubDate>
    <dc:creator>GevorgMel</dc:creator>
    <dc:date>2020-09-28T07:28:39Z</dc:date>
    <item>
      <title>TeamEvent Sorting Order (GetEventsAsync)</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/456753#M1514</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me understand the Team Events sorting order returned by Dropbox API?&lt;/P&gt;&lt;P&gt;I found only this info:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/18050i43244E55FAD85903/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&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;&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;&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;&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;&lt;P&gt;I developed an .NET application, which reads Team Events using Dropbox .NET SDK methods&amp;nbsp;GetEventsAsync and&amp;nbsp;GetEventsContinueAsync. The application uses TimeRange parameter to pass date range for events to read. For eaxample, StartDate: 10-Sep-2020 and EndDate: 28-Sep-2020, on each method call I get the events list and start process them one by one until the HasMore flag is false. If something goes wrong during processing the current event, the application saves the last succesfully processed event and exit. On the application next run the saved last event is used to continue with remaining events. To make sure nothing will be missed, I need your help to find the best solution. Perhaps having knowledge how the events are sorted might help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please advise me what is the best way to&amp;nbsp;achive this goal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gevorg&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 07:28:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/456753#M1514</guid>
      <dc:creator>GevorgMel</dc:creator>
      <dc:date>2020-09-28T07:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: TeamEvent Sorting Order (GetEventsAsync)</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/456983#M1516</link>
      <description>&lt;P&gt;There isn't any other guidance or guarantee on the sort order that I can offer beyond what's in the documentation. Rather than relying on timestamps though, we&amp;nbsp;recommend using the latest returned 'cursor' value for a successfully processed batch of events when calling back to&amp;nbsp;&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events-continue" target="_self"&gt;/2/team_log/get_events/continue&lt;/A&gt; as shown in the &lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events" target="_self"&gt;/2/team_log/get_events&lt;/A&gt;[&lt;A href="https://www.dropbox.com/developers/documentation/http/teams#team_log-get_events-continue" target="_self"&gt;/continue&lt;/A&gt;] GetTeamEventsResult documentation.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:47:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/456983#M1516</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-09-28T17:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: TeamEvent Sorting Order (GetEventsAsync)</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/457558#M1524</link>
      <description>&lt;P&gt;Thank you Greg for your quick reply,&lt;BR /&gt;&lt;BR /&gt;One more question please, can you confirm that the events sorting is not changed regardless of Dropbox API calls and time range paramter? In which order the events were created in Dropbox data storage, they remained as it is.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gevorg&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 06:00:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/457558#M1524</guid>
      <dc:creator>GevorgMel</dc:creator>
      <dc:date>2020-09-30T06:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: TeamEvent Sorting Order (GetEventsAsync)</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/457786#M1525</link>
      <description>&lt;P&gt;Since there isn't documentation on that behavior of the events list specifically, I can't offer a guarantee. (I wouldn't want to make a promise and lead you astray if it might change in the future!) I&amp;nbsp;recommend using the cursor as documented to make sure you don't miss events.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:05:14 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/457786#M1525</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-09-30T15:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: TeamEvent Sorting Order (GetEventsAsync)</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/457796#M1526</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not always a cursor could be used for the app second run, we have configurable time range parameter. So the time range can be changed before the next run, which means we need to call&amp;nbsp;&lt;SPAN&gt;GetEventsAsync first with new paramters then continue&amp;nbsp;GetEventsContinueAsync with cursor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That is why I'm trying to get more details and know how for this task.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Gevorg&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 15:18:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/TeamEvent-Sorting-Order-GetEventsAsync/m-p/457796#M1526</guid>
      <dc:creator>GevorgMel</dc:creator>
      <dc:date>2020-09-30T15:18:49Z</dc:date>
    </item>
  </channel>
</rss>

