Hello, I need to change the document type via api rest. I can send and change its properties, but I can't set the document to the custom type I created, just manually. I'm using http://localhost:8080/alfresco/service/api/upload for upload and http://localhost:8080/alfresco/service/api/metadata/node/ to insert properties.
Alfresco 5.0
have you looked at this? https://docs.alfresco.com/community/references/API-JS-specializeType.html
Hello, thanks for the feedback. I managed to reach my goal through the endpoint http://localhost/alfresco/service/slingshot/doclib/type/node/{store_type}/{store_id}/{id}
Att.
Hi @rafaelguzzo,
Thanks for posting your solution - really helpful to other people.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
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.