Sorry but how do you expect any one of us to help you?
You gave no information what openHAB Version you use, no information about what binding you are writing, no information what documentation you are looking for.
I am so confused about this topic, is this about owncloud? If so, you just posted in the wrong community, I will show you the way owncloud community
If you need/want help, please provide the information needed to help you