Page 1 of 1

OKMPropertyGroup.addGroup not working

PostPosted:Tue Mar 04, 2014 5:35 am
by matt81
I am trying to add a group to a document using the method below with REST PHP, however the reponse received is Code: 500
http://localhost:8080/OpenKM/services/r ... okg:safety;

I am doing everything corect, it must be from the server side. Is this method enabled and does it work properly?

Ok I am using Version 6.2.26 of Pro Trial version.
An I have pretty much explained everything else above.
Just to recap: I am using REST as a Web service using PHP.

What other infor do you need?

Thanks

Re: OKMPropertyGroup.addGroup not working

PostPosted:Sat Mar 08, 2014 9:26 am
by jllort
First better if you use 6.2.27 trial version or demo online ( demo.openkm.com ).
OpenKM 6.4 works with uuid but 6.2.X still only works with full path /okm:root/path/file.pdf
About url in this case is not a get or a post is a put, here could be the problem in your testing.

I've tested in demo online and goes right:
Code: Select all
curl -u user1:pass1 -H "Accept: application/json" -X PUT -X PUT \
http://demo.openkm.com/OpenKM/services/rest/propertyGroup/addGroup?nodeId=/okm:root/temp.txt\&grpName=okg:consulting