<?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 Alfresco Audit REST API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79548#M24718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use the REST API to retrieve audit data from Alfresco. In particular I want to return audit entries created after a specific date. The api-explorer gives some examples of returning audit data between dates using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where=(createdAt BETWEEN ('first date', 'second date'))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works, but what are the other operators?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried AFTER, BEFORE, GREATERTHAN, &amp;gt; etc, but nothing seems to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if there are any other operators and where they are documented?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2018 12:23:34 GMT</pubDate>
    <dc:creator>pedwards99</dc:creator>
    <dc:date>2018-11-21T12:23:34Z</dc:date>
    <item>
      <title>Alfresco Audit REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79548#M24718</link>
      <description>Hello,I'm trying to use the REST API to retrieve audit data from Alfresco. In particular I want to return audit entries created after a specific date. The api-explorer gives some examples of returning audit data between dates using:where=(createdAt BETWEEN ('first date', 'second date'))This works, b</description>
      <pubDate>Wed, 21 Nov 2018 12:23:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79548#M24718</guid>
      <dc:creator>pedwards99</dc:creator>
      <dc:date>2018-11-21T12:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Audit REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79549#M24719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer my own question...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I managed to track down the source code for the Audit API in GitHub. It seems that the only supported operators are =, AND and BETWEEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've changed my code to use BETWEEN('start date', 'now') to return me all audit entries created after 'start date'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 17:54:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79549#M24719</guid>
      <dc:creator>pedwards99</dc:creator>
      <dc:date>2018-11-21T17:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Audit REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79550#M24720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ran the REST API in the following way and succeeded.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;where=(createdAt BETWEEN('2019-01-28T00:00:00.000Z','2019-01-29T14:59:59.000Z'))&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps it is necessary to put it completely including time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2019 12:26:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79550#M24720</guid>
      <dc:creator>silversky</dc:creator>
      <dc:date>2019-01-29T12:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Audit REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79551#M24721</link>
      <description>&lt;P&gt;Will you please give step by step process of how to do site audit.&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 07:01:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79551#M24721</guid>
      <dc:creator>akash251998</dc:creator>
      <dc:date>2020-09-16T07:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco Audit REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79552#M24722</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/47975"&gt;@pedwards99&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Well done on finding a solution - &amp;amp; thanks for updating us, really helpful to other users.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 10:09:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-audit-rest-api/m-p/79552#M24722</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-09-16T10:09:16Z</dc:date>
    </item>
  </channel>
</rss>

