<?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: Bad Request 400 after query with date in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184701#M137831</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In our unit tests we use the following format:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2009-12-31T23:00:00Z&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So that should work. If you get a 400 message make sure you have a header like Content-Type: application/json&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jun 2014 19:05:42 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2014-06-19T19:05:42Z</dc:date>
    <item>
      <title>Bad Request 400 after query with date</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184697#M137827</link>
      <description>Hi,Whenever I query for an historic process instance using one of the rest api I get the following error:Request :http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2014-05-21T14:47:03.982+0000&amp;nbsp; ORhttp://localhost:8888/activiti-rest/service/history/historic-p</description>
      <pubDate>Tue, 10 Jun 2014 12:36:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184697#M137827</guid>
      <dc:creator>spille</dc:creator>
      <dc:date>2014-06-10T12:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Request 400 after query with date</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184698#M137828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you sure thios is a valid iso 8601 date? The +0000 seems odd to me?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 10:15:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184698#M137828</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-06-17T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Request 400 after query with date</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184699#M137829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah, I also tried different dates like: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2014-05-21T14:47:03.982+0000" rel="nofollow noopener noreferrer"&gt;http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2014-05-21T14:47:03.982+0000&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2014-05-21T14:47:03.982+00:00" rel="nofollow noopener noreferrer"&gt;http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2014-05-21T14:47:03.982+00:00&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2014-05-21T14:47:03" rel="nofollow noopener noreferrer"&gt;http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2014-05-21T14:47:03&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2014-05-21" rel="nofollow noopener noreferrer"&gt;http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2014-05-21&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 10:31:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184699#M137829</guid>
      <dc:creator>spille</dc:creator>
      <dc:date>2014-06-17T10:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Request 400 after query with date</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184700#M137830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the same issue when i do a post to rest-api /form/form-data&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the request body &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"taskId":"832370",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; "properties":[&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {"id":"Peildatum",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "value":"2013-12-31T23:00:00Z",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "type":"Date"}]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after execution of the request the response is: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{"errorMessage":"invalid date value 2013-12-31T23:00:00Z","statusCode":400}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried different formats, the response is always statusCode 400&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;kind reqards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;nico&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 15:11:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184700#M137830</guid>
      <dc:creator>nico_van_hooido</dc:creator>
      <dc:date>2014-06-18T15:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Request 400 after query with date</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184701#M137831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In our unit tests we use the following format:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2009-12-31T23:00:00Z&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So that should work. If you get a 400 message make sure you have a header like Content-Type: application/json&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 19:05:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184701#M137831</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-06-19T19:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Bad Request 400 after query with date</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184702#M137832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see the mistake now: I used the date format that I got back from the activiti-rest api..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So now i'll use "&lt;/SPAN&gt;&lt;A href="http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2009-12-31T23:00:00Z" rel="nofollow noopener noreferrer"&gt;http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2009-12-31T23:00:00Z&lt;/A&gt;&lt;SPAN&gt;" instead of&amp;nbsp; "&lt;/SPAN&gt;&lt;A href="http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2009-12-31T23:00:00.982+0000" rel="nofollow noopener noreferrer"&gt;http://localhost:8888/activiti-rest/service/history/historic-process-instances?startedAfter=2009-12-31T23:00:00.982+0000&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 08:10:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/bad-request-400-after-query-with-date/m-p/184702#M137832</guid>
      <dc:creator>spille</dc:creator>
      <dc:date>2014-06-20T08:10:25Z</dc:date>
    </item>
  </channel>
</rss>

