<?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 Unable to Declare Record Through REST API in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-declare-record-through-rest-api/m-p/24475#M10631</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to declare a record from a file that exists through POSTing to the ExecutionQueue in the RM Rest API. The URL I'm trying to POST&amp;nbsp;to is:&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;http://localhost:8080/alfresco/service/api/rma/actions/ExecutionQueue?alf_ticket=TICKET_b019446cf11f69ac9a94686996114b3b…&amp;nbsp;‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JSON Data I'm POSTing to this URL is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;{&lt;BR /&gt; "name": "declareRecord",&lt;BR /&gt; "nodeRef": "workspace://SpacesStore/d6b246e1-854a-49be-b15f-5c02834c889d"&lt;BR /&gt;}‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've read the Script details from &lt;A class="link-titled" href="http://localhost:8080/alfresco/service/index/uri/api/rma/actions/ExecutionQueue" title="http://localhost:8080/alfresco/service/index/uri/api/rma/actions/ExecutionQueue" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/service/index/uri/api/rma/actions/ExecutionQueue&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and as far as I know, this should be working. However, the data I receive back when I try to make this action is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;{&lt;BR /&gt; "status": {&lt;BR /&gt; "code": 500,&lt;BR /&gt; "name": "Internal Error",&lt;BR /&gt; "description": "An error inside the HTTP server which prevented it from fulfilling the request."&lt;BR /&gt; },&lt;BR /&gt; "message": "01230042 Wrapped Exception (with status template): 01230111 Access Denied. You do not have the appropriate permissions to perform this operation.",&lt;BR /&gt; "exception": "",&lt;BR /&gt; "callstack": [],&lt;BR /&gt; "server": "Community v5.1.0 (r127059-b7) schema 10,001",&lt;BR /&gt; "time": "23-Feb-2017 14:25:11"&lt;BR /&gt;}‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Is there something I'm doing wrong with this API Call? The alf_ticket I'm using in my URL is generated from the administrator account on my server. Yet I'm getting this access denied error?&lt;BR /&gt;&lt;BR /&gt;Any answers, advice, references would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2017 19:09:35 GMT</pubDate>
    <dc:creator>draperaj</dc:creator>
    <dc:date>2017-02-23T19:09:35Z</dc:date>
    <item>
      <title>Unable to Declare Record Through REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-declare-record-through-rest-api/m-p/24475#M10631</link>
      <description>Hey Guys,I'm trying to declare a record from a file that exists through POSTing to the ExecutionQueue in the RM Rest API. The URL I'm trying to POST&amp;nbsp;to is:http://localhost:8080/alfresco/service/api/rma/actions/ExecutionQueue?alf_ticket=TICKET_b019446cf11f69ac9a94686996114b3b…&amp;nbsp;‍‍‍‍The JSON Data I'm P</description>
      <pubDate>Thu, 23 Feb 2017 19:09:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-declare-record-through-rest-api/m-p/24475#M10631</guid>
      <dc:creator>draperaj</dc:creator>
      <dc:date>2017-02-23T19:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to Declare Record Through REST API</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/unable-to-declare-record-through-rest-api/m-p/24476#M10632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Were you able to solve it ? Please share what ever you found on this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 18:27:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/unable-to-declare-record-through-rest-api/m-p/24476#M10632</guid>
      <dc:creator>pari_alf</dc:creator>
      <dc:date>2017-04-12T18:27:41Z</dc:date>
    </item>
  </channel>
</rss>

