AnsweredAssumed Answered

org.apache.http.client.methods.HttpPost - creating a customized type

Question asked by dmralfing on Jan 22, 2014
Latest reply on Jul 17, 2015 by syncovery
I´m trying to create a customized document instance of my model type "prs:mydocument"
using the Alfresco Java API. I´m trying it with the library:
     org.apache.http.client.methods.HttpPost
Somebody knows what´s exactly the script I need?. I was trying with the script
"/share/proxy/alfresco/slingshot/doclib/activity", but it cannot offers you any way to
indicate in a parameter your content type "prs:mydocument", so you can only indicate in
a parameter "type" the value "file-added", that I think it means the type is "cm:content".
  Somebody know anyway to create a customized document using the Java API with POST?
Thanks

Outcomes