<?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 Actions execution with Alfresco API Explorer in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/actions-execution-with-alfresco-api-explorer/m-p/118170#M32610</link>
    <description>&lt;P&gt;Hello to Everyone&lt;/P&gt;&lt;P&gt;I work on Alfresco 5.2 community edition,&lt;/P&gt;&lt;P&gt;I would like to use this api service &lt;A href="https://api-explorer.alfresco.com/api-explorer/#!/actions/actionExec" target="_self" rel="nofollow noopener noreferrer"&gt;https://api-explorer.alfresco.com/api-explorer/#!/actions/actionExec&lt;/A&gt;, but i can't reach it from my local environment.&amp;nbsp; If I call it from Postman I get 404 error, and I can't find it in my deployed Alfresco Api Explorer.war&lt;/P&gt;&lt;P&gt;In the link before it has been written "&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;this endpoint is available in Alfresco 5.2 and newer versions." and I'm using Alfresco 5.2, what am I missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any suggests?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2021 13:45:19 GMT</pubDate>
    <dc:creator>Fjordo</dc:creator>
    <dc:date>2021-02-12T13:45:19Z</dc:date>
    <item>
      <title>Actions execution with Alfresco API Explorer</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/actions-execution-with-alfresco-api-explorer/m-p/118170#M32610</link>
      <description>&lt;P&gt;Hello to Everyone&lt;/P&gt;&lt;P&gt;I work on Alfresco 5.2 community edition,&lt;/P&gt;&lt;P&gt;I would like to use this api service &lt;A href="https://api-explorer.alfresco.com/api-explorer/#!/actions/actionExec" target="_self" rel="nofollow noopener noreferrer"&gt;https://api-explorer.alfresco.com/api-explorer/#!/actions/actionExec&lt;/A&gt;, but i can't reach it from my local environment.&amp;nbsp; If I call it from Postman I get 404 error, and I can't find it in my deployed Alfresco Api Explorer.war&lt;/P&gt;&lt;P&gt;In the link before it has been written "&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;this endpoint is available in Alfresco 5.2 and newer versions." and I'm using Alfresco 5.2, what am I missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Any suggests?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 13:45:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/actions-execution-with-alfresco-api-explorer/m-p/118170#M32610</guid>
      <dc:creator>Fjordo</dc:creator>
      <dc:date>2021-02-12T13:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Actions execution with Alfresco API Explorer</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/actions-execution-with-alfresco-api-explorer/m-p/118171#M32611</link>
      <description>&lt;P&gt;Its expected, you have to deploy api-explorer.war to your alfresco instance that can connect to repository.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take a look at this documentation for more info:&amp;nbsp;&lt;A href="https://docs.alfresco.com/5.2/concepts/dev-api-by-language-alf-rest-install-api-explorer.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.2/concepts/dev-api-by-language-alf-rest-install-api-explorer.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.alfresco.com/5.2/concepts/dev-api-by-language-alf-rest.html" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/5.2/concepts/dev-api-by-language-alf-rest.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;The request you would be making from client would be like (e.g.):&lt;/U&gt;&lt;/P&gt;
&lt;PRE&gt;POST http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/alfresco/api/-default-/public/alfresco/versions/1/action-executions

Request Body:
{
  "actionDefinitionId": "copy",
  "targetId": "4c4b3c43-f18b-43ff-af84-751f16f1ddfd",
  "params": {"destination-folder": "34219f79-66fa-4ebf-b371-118598af898c"}
}&lt;/PRE&gt;
&lt;PRE&gt;curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Basic YWRtaW46YWRtaW4=' -d '{
  "actionDefinitionId": "copy",
  "targetId": "4c4b3c43-f18b-43ff-af84-751f16f1ddfd",
  "params": {"destination-folder": "34219f79-66fa-4ebf-b371-118598af898c"}
}' 'http://&amp;lt;HOST&amp;gt;:&amp;lt;PORT&amp;gt;/alfresco/api/-default-/public/alfresco/versions/1/action-executions'&lt;/PRE&gt;
&lt;P&gt;These apis should be working from client even without installing the api explorer as it is just an interface to play with available ReST APIs.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 17:35:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/actions-execution-with-alfresco-api-explorer/m-p/118171#M32611</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-02-12T17:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Actions execution with Alfresco API Explorer</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/actions-execution-with-alfresco-api-explorer/m-p/118172#M32612</link>
      <description>&lt;P&gt;Thanks for responding me,&lt;/P&gt;&lt;P&gt;Maybe it was a bit confusing but, as said in my question, I called the api from Postman to my local environment, I've not used the "public" api-explorer URL.&lt;/P&gt;&lt;P&gt;The point of the question was I get 404 status when I call your url in my local env with Alfresco 5.2 community. Like action-executions API endpoint is not available.&lt;/P&gt;&lt;P&gt;Here is the call&lt;/P&gt;&lt;PRE&gt;localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/action-executions?alf_ticket={{alf_ticket}}

body:
{
    "actionDefinitionId": "copy",
    "targetId": "4c4b3c43-f18b-43ff-af84-751f16f1ddfd",
    "params": {
        "destination-folder": "34219f79-66fa-4ebf-b371-118598af898c"
    }
}&lt;/PRE&gt;&lt;P&gt;And here is the server response&lt;/P&gt;&lt;PRE&gt; 2021-05-19 12:26:42,692  ERROR [extensions.webscripts.AbstractRuntime] [http-bio-8080-exec-6] Exception from executeScript: 04190014 Unable to locate resource resource for :action-executions 
 org.alfresco.rest.framework.core.exceptions.NotFoundException: 04190014 Unable to locate resource resource for :action-executions 
	at org.alfresco.rest.framework.core.ResourceLookupDictionary.locateRelationResource(ResourceLookupDictionary.java:113)
	at org.alfresco.rest.framework.core.ResourceLookupDictionary.locateEntityResource(ResourceLookupDictionary.java:57)
	at org.alfresco.rest.framework.core.ResourceLookupDictionary.locateResource(ResourceLookupDictionary.java:152)
	at org.alfresco.rest.api.PublicApiDeclarativeRegistry.getResourceWithMetadataOrNull(PublicApiDeclarativeRegistry.java:263)
	at org.alfresco.rest.api.PublicApiDeclarativeRegistry.findWebScript(PublicApiDeclarativeRegistry.java:197)
	at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:165)
	at org.alfresco.repo.web.scripts.TenantWebScriptServlet.service(TenantWebScriptServlet.java:82)
	at org.alfresco.rest.api.PublicApiWebScriptServlet.service(PublicApiWebScriptServlet.java:62)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:75)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:132)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
	at com.sun.proxy.$Proxy226.doFilter(Unknown Source)
	at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:89)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)&lt;/PRE&gt;&lt;P&gt;Do you know why?&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 10:30:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/actions-execution-with-alfresco-api-explorer/m-p/118172#M32612</guid>
      <dc:creator>Fjordo</dc:creator>
      <dc:date>2021-05-19T10:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Actions execution with Alfresco API Explorer</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/actions-execution-with-alfresco-api-explorer/m-p/488308#M39989</link>
      <description>&lt;PRE&gt;Try with noderef instead of nodeId in the destination-folder parameter, it worked for me:
{
    "actionDefinitionId": "copy",
    "targetId": "4c4b3c43-f18b-43ff-af84-751f16f1ddfd",
    "params": {
        "destination-folder": "workspace://SpacesStore/34219f79-66fa-4ebf-b371-118598af898c"
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 08:27:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/actions-execution-with-alfresco-api-explorer/m-p/488308#M39989</guid>
      <dc:creator>yassinmakrai</dc:creator>
      <dc:date>2025-03-25T08:27:23Z</dc:date>
    </item>
  </channel>
</rss>

