AnsweredAssumed Answered

Unable to Declare Record Through REST API

Question asked by draperaj on Feb 23, 2017
Latest reply on Apr 12, 2017 by pari_alf

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 to is:



The JSON Data I'm POSTing to this URL is:


"name": "declareRecord",
"nodeRef": "workspace://SpacesStore/d6b246e1-854a-49be-b15f-5c02834c889d"


I've read the Script details from http://localhost:8080/alfresco/service/index/uri/api/rma/actions/ExecutionQueue

and as far as I know, this should be working. However, the data I receive back when I try to make this action is:


"status": {
"code": 500,
"name": "Internal Error",
"description": "An error inside the HTTP server which prevented it from fulfilling the request."
"message": "01230042 Wrapped Exception (with status template): 01230111 Access Denied. You do not have the appropriate permissions to perform this operation.",
"exception": "",
"callstack": [],
"server": "Community v5.1.0 (r127059-b7) schema 10,001",
"time": "23-Feb-2017 14:25:11"

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?

Any answers, advice, references would be appreciated.