content
| - ---++Addressbook Controllers
|*Controller*|*Demo Links*|*Description*|
|<verbatim><br/>addressbook.get (<br/> contact_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx1][cURL Example]]|Get contact details|
|<verbatim><br/>addressbook.new (<br/> inst_id integer,<br/> name varchar,<br/> category_id integer := null,<br/> kind integer := 0,<br/> title varchar := null,<br/> fName varchar := null,<br/> mName varchar := null,<br/> lName varchar := null,<br/> fullName varchar := null,<br/> gender varchar := null,<br/> birthday datetime := null,<br/> iri varchar := null,<br/> foaf varchar := null,<br/> mail varchar := null,<br/> web varchar := null,<br/> icq varchar := null,<br/> skype varchar := null,<br/> aim varchar := null,<br/> yahoo varchar := null,<br/> msn varchar := null,<br/> hCountry varchar := null,<br/> hState varchar := null,<br/> hCity varchar := null,<br/> hCode varchar := null,<br/> hAddress1 varchar := null,<br/> hAddress2 varchar := null,<br/> hTzone varchar := null,<br/> hLat real := null,<br/> hLng real := null,<br/> hPhone varchar := null,<br/> hMobile varchar := null,<br/> hFax varchar := null,<br/> hMail varchar := null,<br/> hWeb varchar := null,<br/> bCountry varchar := null,<br/> bState varchar := null,<br/> bCity varchar := null,<br/> bCode varchar := null,<br/> bAddress1 varchar := null,<br/> bAddress2 varchar := null,<br/> bTzone varchar := null,<br/> bLat real := null,<br/> bLng real := null,<br/> bPhone varchar := null,<br/> bMobile varchar := null,<br/> bFax varchar := null,<br/> bIndustry varchar := null,<br/> bOrganization varchar := null,<br/> bDepartment varchar := null,<br/> bJob varchar := null,<br/> bMail varchar := null,<br/> bWeb varchar := null,<br/> tags varchar := null )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx2][cURL Example]]|Create new contact|
|<verbatim><br/>addressbook.edit (<br/> contact_id integer,<br/> name varchar,<br/> category_id integer := null,<br/> kind integer := 0,<br/> title varchar := null,<br/> fName varchar := null,<br/> mName varchar := null,<br/> lName varchar := null,<br/> fullName varchar := null,<br/> gender varchar := null,<br/> birthday datetime := null,<br/> iri varchar := null,<br/> foaf varchar := null,<br/> mail varchar := null,<br/> web varchar := null,<br/> icq varchar := null,<br/> skype varchar := null,<br/> aim varchar := null,<br/> yahoo varchar := null,<br/> msn varchar := null,<br/> hCountry varchar := null,<br/> hState varchar := null,<br/> hCity varchar := null,<br/> hCode varchar := null,<br/> hAddress1 varchar := null,<br/> hAddress2 varchar := null,<br/> hTzone varchar := null,<br/> hLat real := null,<br/> hLng real := null,<br/> hPhone varchar := null,<br/> hMobile varchar := null,<br/> hFax varchar := null,<br/> hMail varchar := null,<br/> hWeb varchar := null,<br/> bCountry varchar := null,<br/> bState varchar := null,<br/> bCity varchar := null,<br/> bCode varchar := null,<br/> bAddress1 varchar := null,<br/> bAddress2 varchar := null,<br/> bTzone varchar := null,<br/> bLat real := null,<br/> bLng real := null,<br/> bPhone varchar := null,<br/> bMobile varchar := null,<br/> bFax varchar := null,<br/> bIndustry varchar := null,<br/> bOrganization varchar := null,<br/> bDepartment varchar := null,<br/> bJob varchar := null,<br/> bMail varchar := null,<br/> bWeb varchar := null,<br/> tags varchar := null )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx3][cURL Example]]| Edit contact details|
|<verbatim><br/>addressbook.delete (<br/> contact_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx4][cURL Example]]|Delete contact|
|<verbatim><br/>addressbook.import (<br/> inst_id integer,<br/> source varchar,<br/> sourceType varchar,<br/> contentType varchar := 'vcard',<br/> tags varchar := '' )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx5][cURL Example]]|Import contact(s)|
|<verbatim><br/>addressbook.export (<br/> inst_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx6][cURL Example]]|Export contact(s)|
|<verbatim><br/>addressbook.annotation.get (<br/> annotation_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx7][cURL Example]]|Get annotation details|
|<verbatim><br/>addressbook.annotation.new (<br/> contact_id integer,<br/> author varchar,<br/> body varchar )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx8][cURL Example]]|Create annotation|
|<verbatim><br/>addressbook.annotation.claim (<br/> annotation_id integer,<br/> claimRelation varchar,<br/> claimValue varchar )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx9][cURL Example]]|Make annotation claim|
|<verbatim><br/>addressbook.annotation.delete (<br/> annotation_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx10][cURL Example]]|Delete annotation|
|<verbatim><br/>addressbook.comment.get (<br/> comment_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx11][cURL Example]]|Get comment details|
|<verbatim><br/>addressbook.comment.new (<br/> contact_id integer,<br/> parent_id integer := null,<br/> title varchar,<br/> text varchar,<br/> name varchar,<br/> email varchar,<br/> url varchar )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx12][cURL Example]]|Create comment|
|<verbatim><br/>addressbook.comment.delete (<br/> comment_id integer, )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx13][cURL Example]]|Delete comment|
|<verbatim><br/>addressbook.publication.new (<br/> inst_id integer,<br/> name varchar,<br/> updateType varchar := 1,<br/> updatePeriod varchar := 'hourly',<br/> updateFreq integr := 1,<br/> destinationType varchar := null,<br/> destination varchar,<br/> userName varchar := null,<br/> userPassword varchar := null,<br/> tagsInclude varchar := '',<br/> tagsExclude varchar := '' )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx14][cURL Example]]|Create new publication|
|<verbatim><br/>addressbook.publication.get (<br/> publication_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx15][cURL Example]]|Get publication details|
|<verbatim><br/>addressbook.publication.edit (<br/> publication_id integer,<br/> name varchar,<br/> updateType varchar := 1,<br/> updatePeriod varchar := 'hourly',<br/> updateFreq integr := 1,<br/> destinationType varchar := null,<br/> destination varchar,<br/> userName varchar := null,<br/> userPassword varchar := null,<br/> tagsInclude varchar := '',<br/> tagsExclude varchar := '' )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx16][cURL Example]]|Edit publication details|
|<verbatim><br/>addressbook.publication.sync (<br/> publication_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx17][cURL Example]]|Perform publication synchronization|
|<verbatim><br/>addressbook.publication.delete (<br/> publication_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx18][cURL Example]]|Delete publication|
|<verbatim><br/>addressbook.subscription.new (<br/> inst_id integer,<br/> name varchar,<br/> updateType varchar := 1,<br/> updatePeriod varchar := 'hourly',<br/> updateFreq integr := 1,<br/> sourceType varchar := null,<br/> source varchar,<br/> userName varchar := null,<br/> userPassword varchar := null,<br/> tagsInclude varchar := '',<br/> tagsExclude varchar := '' )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx19][cURL Example]]|Create new subscription|
|<verbatim><br/>addressbook.subscription.get (<br/> subscription_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx20][cURL Example]]|Get subscription details|
|<verbatim><br/>addressbook.subscription.edit (<br/> subscription_id integer,<br/> name varchar,<br/> updateType varchar := 1,<br/> updatePeriod varchar := 'hourly',<br/> updateFreq integr := 1,<br/> sourceType varchar := null,<br/> source varchar,<br/> userName varchar := null,<br/> userPassword varchar := null,<br/> tagsInclude varchar := '',<br/> tagsExclude varchar := '' )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx21][cURL Example]]|Edit subscription details|
|<verbatim><br/>addressbook.subscription.sync (<br/> subscription_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx22][cURL Example]]|Perform subscription synchronization|
|<verbatim><br/>addressbook.subscription.delete (<br/> subscription_id integer )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx23][cURL Example]]|Delete subscription|
|<verbatim><br/>addressbook.options.set (<br/> inst_id integer,<br/> options any )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx24][cURL Example]]|Set Addressbook Instance options<br/>Options parameters names can be:<br/> - chars<br/> - rows<br/> - tbLabels<br/> - hiddens<br/> - atomVersion|
|<verbatim><br/>addressbook.options.get (<br/> inst_id integer, )<br/></verbatim>| * [[VirtuosoOdsControllersAddressbookEx25][cURL Example]]|Get Addressbook Instance options details|
---+++Examples
* [[VirtOAuthTestToolExampleAddressbook][ODS Addressbook OAuth REST API Example performed with the Virtuoso OAuth Testing Tool]]
---+++References
* [[VirtuosoOdsControllers][ODS Controllers]]
|