cancel
Showing results for 
Search instead for 
Did you mean: 

CheckOut - CheckIn Webscript

sanket
Champ on-the-rise
Champ on-the-rise
Hi,
I want to checkout & checkin a file in alfresco using built-in webscripts ?
I am not able to do it.
My Webscript wid parameters:
store_type -> content
store_id -> spacesstore
id -> a9c2cd44-dfb1-4642-bc90-47a94438dbe5
http://localhost:8082/alfresco/service/slingshot/doclib/action/checkout/node/content/SpacesStore/a9c...

This wont work as it's not GET, it is POST.
So how do I run it ?

If the above doesn't work,
Has any one made java class (using contentService, nodeService, fileFolderService, etc) for checkout/checkin a document ?

Please help.
Thanks in advance.
3 REPLIES 3

lista
Star Contributor
Star Contributor
Hi,

have you checked the JavaScript Check In/Out API?
It has everything you need.

Cheers,
Lista.

sanket
Champ on-the-rise
Champ on-the-rise
I did that using my java class. I used the checkOutCheckInService for it.

But i dont have the javascript API.
Can u provide me d link ?

unknown-user
Champ on-the-rise
Champ on-the-rise