08-24-2017 07:21 AM
Hi, I’m running into an issue with RM Rest API where it needs id attribute to GET/PUT/POST requests
For example to get info of the Record category, we need to provide RecordCategoryId
When I provide name of the Record Category test (which is a record category I created in Record Management site rm) or its id that I see in Record Management site is 2017-1503513893897 and I try with alfresco api explorer, I get the following error that it does not exist.
{
"error": {
"errorKey": "framework.exception.ApiDefault",
"statusCode": 404,
"briefSummary": "Node does not exist: workspace://SpacesStore/2017-1503513893897 (status:null)",
"stackTrace": "For security reasons the stack trace is no longer displayed, but the property is kept for previous versions",
"descriptionURL": "https://api-explorer.alfresco.com"
}
}
Something isn’t right, May be I’m not providing the right attribute for this id. Where do i get correct RecordCategory Id?
08-24-2017 11:12 AM
I found it. The id it expects is noderef. and you can find the noderef of of the object by going to the view details of that object in alfresco share.
Explore our Alfresco products with the links below. Use labels to filter content by product module.