ODS.VirtuosoOdsControllersBriefcaseEx9
Example Usage of ODS Briefcase Controller for Lock Resource
Note: The Consumer key for a given ODS Briefcase instance can be obtained following these steps.
- At http://demo.openlinksw.com/ods/oauth_test.vsp enter:
- Server: http://demo.openlinksw.com/ods/api/
- Consumer Key: f3da6bd04ad341f9d79fddc7ea224f50576e74a2
- API method: briefcase.resource.vc.lock
- API parameters: path=/DAV/home/demo/kidehen.vcf
- Query options: Generate URI and Submit
- Log in when prompted as user demo and authorize
- As result the Response Body should be:
<result><code>1</code><message>Success</message></result>
- Now change API parameters: path=/DAV/home/demo/kidehen.vcf&state=off
- As result the Response Body should be:
<result><code>1</code><message>Success</message></result>