Example Usage of ODS Addressbook Controller for Create new publication


$ curl -i "http://demo.openlinksw.com/ods/api/addressbook.publication.new?inst_id=15&name=test_publication2&destination=http:
//demo.openlinksw.com/DAV/home/demo/mycontacts2.txt&user_name=demo&password_hash=921q783d9e4cbdf5cvs343dafdfvrf6a4fh"
HTTP/1.1 200 OK
Server: Virtuoso/06.02.3129 (Solaris) x86_64-pc-solaris2.10-64  VDB
Connection: Keep-Alive
Date: Wed, 18 May 2011 14:41:55 GMT
Accept-Ranges: bytes
Content-Type: text/xml; charset="UTF-8"
Content-Length: 57

<result>
  <code>3</code>
  <message>Success</message>
</result>

Related