<docbook><section><title>VirtuosoOdsControllersBriefcaseEx3</title><bridgehead class="http://www.w3.org/1999/xhtml:h3">Example Usage of ODS Briefcase Controller for Create New Resource</bridgehead>
<para>Note: The Consumer key for a given ODS Briefcase instance can be obtained following <ulink url="VirtOAuthControllers">these steps</ulink>.</para>
<orderedlist spacing="compact"><listitem>At <ulink url="http://demo.openlinksw.com/ods/oauth_test.vsp">http://demo.openlinksw.com/ods/oauth_test.vsp</ulink> enter: <orderedlist spacing="compact"><listitem>Server: <ulink url="http://demo.openlinksw.com/ods/api/">http://demo.openlinksw.com/ods/api/</ulink> </listitem>
<listitem>Consumer Key: f3da6bd04ad341f9d79fddc7ea224f50576e74a2 </listitem>
<listitem>API method: briefcase.resource.store </listitem>
<listitem>API parameters: path=/DAV/home/demo/mysimpletext.xml&amp;content=<span style="color: red">
      UNKNOWN tag:
      http://www.w3.org/1999/xhtml:xmltest</span>&amp;type=xml </listitem>
<listitem>Query options: Generate URI and Submit </listitem>
<listitem>Log in when prompted as user demo and authorize </listitem>
</orderedlist></listitem>
<listitem>As result the Response Body should be: <programlisting>&lt;result&gt;&lt;code&gt;16256&lt;/code&gt;&lt;message&gt;Success&lt;/message&gt;&lt;/result&gt;
</programlisting></listitem>
</orderedlist></section></docbook>