. "

Get the id of an ODS app instance.

" . "EntryPoint - instance_get_id" . . . "

Each ODS app has a unique numeric id which is required for almost all operations. This method allows to determine that id from the app instance's name (App instance names are oftern something like \"foobar's Calendar\").

  • \n\ninstanceName\n\n\n

    The name of the app instance.

    \n
  • \n\n

    An error code as defined in ODS Error Result Codes which in this case matches the instance id.

    \n

    ODS App Instance Ids

    \nAuthentication

    This function requries authentication via one of the supported authentication methods as described in ODS Authentication.

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

    " . . "GET" . "text/xml" . .