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:
http://localhost:8080/alfresco/service/api/rma/actions/ExecutionQueue?alf_ticket=TICKET_b019446cf11f69ac9a94686996114b3b…
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.
Thanks!
Hi ,
Were you able to solve it ? Please share what ever you found on this ?
Thanks
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.