<?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: C# API FileRequest Deadline in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/416198#M22441</link>
    <description>&lt;P&gt;Thanks, Greg! That would be fantastic!&lt;/P&gt;</description>
    <pubDate>Fri, 01 May 2020 20:27:39 GMT</pubDate>
    <dc:creator>illcom94</dc:creator>
    <dc:date>2020-05-01T20:27:39Z</dc:date>
    <item>
      <title>C# API FileRequest Deadline</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/415836#M22425</link>
      <description>&lt;P&gt;I'm attempting to create a File Request link with a deadline. I am using a business account. When I get the return, it lists the deadline as I sent it, but it doesn't appear to be active when I use the link. Here is some code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;var dbTeamClient = new DropboxTeamClient("authcode");
var dbClient = dbTeamClient.AsMember(memberId);
var listFoldersTask = dbClient.Files.ListFolderAsync("path to parent folder");
listFoldersTask.Wait();
var folders = listFoldersTask.Result;
foreach (var folder in folders.Entries)
{
    var requestDeadline = new Dropbox.Api.FileRequests.FileRequestDeadline(new DateTime(2020, 6, 1));
    var requestArgs = new Dropbox.Api.FileRequests.CreateFileRequestArgs(
        folder.Name,
        folder.PathLower,
        requestDeadline
        );
        var fileRequestTask = dbClient.FileRequests.CreateAsync(requestArgs);
        fileRequestTask.Wait();
        Console.WriteLine("{0} {1}", folder.Name, fileRequestTask.Result.Url);&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;The links get created, and they have a deadline date on the fileRequestTask.Result, but it doesn't seem to take effect.&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 05:47:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/415836#M22425</guid>
      <dc:creator>illcom94</dc:creator>
      <dc:date>2020-05-01T05:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: C# API FileRequest Deadline</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/416059#M22430</link>
      <description>&lt;P&gt;Thanks for the report! I just gave this a try though and it appears to be working properly for me. I also tried making one with this code, slightly modified to make the deadline a few seconds in the future, and the file request properly expired for me.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you elaborate on what you mean when you say "it doesn't seem to take effect"? For instance, you should be able to see the deadline on the file request by clicking the "..." then "Edit" for the file request on&amp;nbsp;&lt;A href="https://www.dropbox.com/requests" target="_blank"&gt;https://www.dropbox.com/requests&lt;/A&gt;&amp;nbsp;. What is it showing for you there?&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 14:46:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/416059#M22430</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-05-01T14:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: C# API FileRequest Deadline</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/416181#M22435</link>
      <description>&lt;P&gt;Hi Greg! Thanks for the reply. It does look the links do expire correctly. It through me for a loop that when you create the links manually, the user gets a message on the upload page that they are limited on time to submit files. However when you follow a link that you create with the API, no such message appears on the upload page.&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 19:58:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/416181#M22435</guid>
      <dc:creator>illcom94</dc:creator>
      <dc:date>2020-05-01T19:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: C# API FileRequest Deadline</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/416190#M22439</link>
      <description>&lt;P&gt;I see, thanks! I'll ask the team to see if we can get that fixed up to show there for file requests created via the API as well.&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 20:15:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/416190#M22439</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-05-01T20:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: C# API FileRequest Deadline</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/416198#M22441</link>
      <description>&lt;P&gt;Thanks, Greg! That would be fantastic!&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2020 20:27:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/416198#M22441</guid>
      <dc:creator>illcom94</dc:creator>
      <dc:date>2020-05-01T20:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: C# API FileRequest Deadline</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/435766#M23003</link>
      <description>&lt;P&gt;This should be fixed now. Please let me know if you're still seeing this issue.&amp;nbsp;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jul 2020 15:58:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/C-API-FileRequest-Deadline/m-p/435766#M23003</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-07-08T15:58:35Z</dc:date>
    </item>
  </channel>
</rss>

