Virtuoso Open-Source Wiki
Virtuoso Open-Source, OpenLink Data Spaces, and OpenLink Ajax Toolkit
Advanced Search
Help?
Location: / Dashboard / Main / VirtuosoOdsControllersBriefcaseEx24

Example Usage of ODS Briefcase Controller for Set Instance Options

Note: The Consumer key for a given ODS Briefcase instance can be obtained following these steps.

  1. In order to get the instance id of user demo briefcase instance with name " Demo account's Briefcase" execute:

    $ curl -i "http://demo.openlinksw.com/ods/api/instance.get.id?instanceName=Demo%20account%27s%20Briefcase&sid=c198c56e675abd 9967b2b264d1119ae2&realm=wa" HTTP/1.1 200 OK Server: Virtuoso/05.12.3041 (Solaris) x86_64-sun-solaris2.10-64 VDB Connection: Keep-Alive Date: Tue, 01 Dec 2009 12:39:19 GMT Accept-Ranges: bytes Content-Type: text/xml; charset="ISO-8859-1" Content-Length: 57 <result><code>6</code><message>Success</message></result>

  2. At http://demo.openlinksw.com/ods/oauth_test.vsp enter:
    1. Server: http://demo.openlinksw.com/ods/api/
    2. Consumer Key: f3da6bd04ad341f9d79fddc7ea224f50576e74a2
    3. API method: briefcase.options.set
    4. API parameters:inst_id=6&options=rows%3D5
    5. Query options: Generate URI and Submit
    6. Log in when prompted as user demo and authorize
  3. As result the Response Body should be:

    <result> <code>1</code> <message>Success</message> </result>

Powered By Virtuoso