<?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: How to Create Inbox Query with DateTime Question? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371015#M54040</link>
    <description>&lt;P&gt;My Inbox query expression is thie&lt;/P&gt;&lt;P&gt;CREATED_USER = ${username} AND LAST_EDITED_DATE &amp;gt; CURRENT_DATE - 180&lt;/P&gt;&lt;P&gt;The users can download only their data within 6 months&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2024 15:49:26 GMT</pubDate>
    <dc:creator>YukoYokozawa</dc:creator>
    <dc:date>2024-01-17T15:49:26Z</dc:date>
    <item>
      <title>How to Create Inbox Query with DateTime Question?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371004#M54038</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using Survey123 Connect Version 3.19.104 and the survey is used in the mobile app only.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create an Inbox Query expression using a DateTime question. I tried different date-time formats in the SQL expression with no luck and I haven't found any documentation on how to this. I'm getting "&lt;STRONG&gt;Code 400 Cannot perform query.&amp;nbsp; Invalid query parameters."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What is the query syntax for this type of questions?&lt;/P&gt;&lt;P&gt;Regards.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 15:39:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371004#M54038</guid>
      <dc:creator>Billy</dc:creator>
      <dc:date>2024-01-17T15:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Inbox Query with DateTime Question?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371015#M54040</link>
      <description>&lt;P&gt;My Inbox query expression is thie&lt;/P&gt;&lt;P&gt;CREATED_USER = ${username} AND LAST_EDITED_DATE &amp;gt; CURRENT_DATE - 180&lt;/P&gt;&lt;P&gt;The users can download only their data within 6 months&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 15:49:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371015#M54040</guid>
      <dc:creator>YukoYokozawa</dc:creator>
      <dc:date>2024-01-17T15:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Inbox Query with DateTime Question?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371057#M54042</link>
      <description>&lt;P&gt;Hi YukoYokozawa,&lt;/P&gt;&lt;P&gt;Thanks for the reply. That works but what if I need something more specific like the example in the Survey123 documentation (&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/prepareforediting.htm" target="_blank"&gt;Prepare to edit existing survey data—ArcGIS Survey123 | Documentation&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I tried this syntax and got the 400 error. The second image shows the properties of the dateTime field and the syntax that I used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Billy_1-1705509044770.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91828i49C3369AEC37EB02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Billy_1-1705509044770.png" alt="Billy_1-1705509044770.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Billy_2-1705509391512.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91829iBACC90BF060B51F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Billy_2-1705509391512.png" alt="Billy_2-1705509391512.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Billy_3-1705509540773.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91830iC04F19DA6C0447A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Billy_3-1705509540773.png" alt="Billy_3-1705509540773.png" /&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;</description>
      <pubDate>Wed, 17 Jan 2024 16:39:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371057#M54042</guid>
      <dc:creator>Billy</dc:creator>
      <dc:date>2024-01-17T16:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Inbox Query with DateTime Question?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371148#M54049</link>
      <description>&lt;P&gt;Does your data show year-month-day? Check your data for the date, my data shows like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YukoYokozawa_0-1705515654100.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91855iB45300F730D7F7C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YukoYokozawa_0-1705515654100.png" alt="YukoYokozawa_0-1705515654100.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would try 10/1/2023, if not work, then 10/1/2023 12:00 PM. So try different ways to express your date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 18:23:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371148#M54049</guid>
      <dc:creator>YukoYokozawa</dc:creator>
      <dc:date>2024-01-17T18:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Create Inbox Query with DateTime Question?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371590#M54082</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried those but didn't work either. But search on the developer's documentation I found the syntax:&amp;nbsp;&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-.htm" target="_blank"&gt;Query (Feature Service)—ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Billy_0-1705587164928.png" style="width: 576px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91987iB490A739811D6C4A/image-dimensions/576x402?v=v2" width="576" height="402" role="button" title="Billy_0-1705587164928.png" alt="Billy_0-1705587164928.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 14:13:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-create-inbox-query-with-datetime-question/m-p/1371590#M54082</guid>
      <dc:creator>Billy</dc:creator>
      <dc:date>2024-01-18T14:13:34Z</dc:date>
    </item>
  </channel>
</rss>

