VOS.VirtuosoOdsControllersBriefcaseEx25

Example Usage of ODS Briefcase Controller for Get Instance Options Details

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.get
    4. API parameters: inst_id=6
    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:

    <settings> <chars>60</chars> <rows>5</rows> <tbLabels>1</tbLabels> <hiddens>.</hiddens> <atomVersion>1.0</atomVersion> </settings>