{"id":1417,"date":"2025-01-30T15:24:53","date_gmt":"2025-01-30T15:24:53","guid":{"rendered":"https:\/\/apihelp.ecd-demo.com\/?page_id=1417"},"modified":"2025-02-25T15:10:25","modified_gmt":"2025-02-25T15:10:25","slug":"requesting-updated-documents","status":"publish","type":"page","link":"https:\/\/apihelp.ecd-demo.com\/index.php\/documentation\/requests\/requesting-updated-documents\/","title":{"rendered":"Updated Documents"},"content":{"rendered":"\nThe following request will produce a list of up to 250 events modified since a specified date\/time:\n\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/&lt;ApiEndpoint&gt;\/stores-active\/contentinstance\/event\/filter?filter={\"term\":\"lastModifiedDate\",\"value\":\"&lt;ModifiedDateTime&gt;\",\"operator\":\"atLeast\"}&amp;numberOfResults=250&amp;api_key=&lt;ApiKey&gt;<\/pre>\n\n\n\n\n<br>In the above request, &lt;ModifiedDateTime> is the earliest modified date\/time for which event metadata should be returned, in ISO 8601 format, e.g. 2019-02-23T12:00:00.\n\n\n\n<br>Note that all documents include a &#8220;lastModified&#8221; property, but it can have a different name depending on the API endpoint. From some endpoints it&#8217;s called lastModifiedDate; from others it&#8217;s called lastModifiedDateTime. The value of the <strong>term <\/strong>property in the above request needs to match the name of the &#8220;lastModified&#8221; property in the documents returned by the API endpoint you&#8217;re querying.\n\n\n\n<br>The equivalent request can be made for other stores, e.g. the following request will produce a list of up to 250 contributors modified since a specified date\/time:\n\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/&lt;ApiEndpoint&gt;\/stores-active\/contributor\/filter?filter={\"term\":\"lastModifiedDate\",\"value\":\"&lt;ModifiedDateTime&gt;\",\"operator\":\"atLeast\"}&amp;numberOfResults=250&amp;api_key=&lt;ApiKey&gt;<\/pre>\n\n","protected":false},"excerpt":{"rendered":"<p>The following request will produce a list of up to 250 events modified since a specified date\/time: https:\/\/&lt;ApiEndpoint&gt;\/stores-active\/contentinstance\/event\/filter?filter={&#8220;term&#8221;:&#8221;lastModifiedDate&#8221;,&#8221;value&#8221;:&#8221;&lt;ModifiedDateTime&gt;&#8221;,&#8221;operator&#8221;:&#8221;atLeast&#8221;}&amp;numberOfResults=250&amp;api_key=&lt;ApiKey&gt; In the above request, &lt;ModifiedDateTime> is the earliest modified date\/time for which event metadata should be returned, in ISO 8601 format, e.g. 2019-02-23T12:00:00. Note that all documents include a &#8220;lastModified&#8221; property, but it can have a different [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":936,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1417","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/apihelp.ecd-demo.com\/index.php\/wp-json\/wp\/v2\/pages\/1417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apihelp.ecd-demo.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/apihelp.ecd-demo.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/apihelp.ecd-demo.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/apihelp.ecd-demo.com\/index.php\/wp-json\/wp\/v2\/comments?post=1417"}],"version-history":[{"count":16,"href":"https:\/\/apihelp.ecd-demo.com\/index.php\/wp-json\/wp\/v2\/pages\/1417\/revisions"}],"predecessor-version":[{"id":1459,"href":"https:\/\/apihelp.ecd-demo.com\/index.php\/wp-json\/wp\/v2\/pages\/1417\/revisions\/1459"}],"up":[{"embeddable":true,"href":"https:\/\/apihelp.ecd-demo.com\/index.php\/wp-json\/wp\/v2\/pages\/936"}],"wp:attachment":[{"href":"https:\/\/apihelp.ecd-demo.com\/index.php\/wp-json\/wp\/v2\/media?parent=1417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}