Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-23-2007, 04:26 AM
Intermediate Member
 
Posts: 17
Default Howto update contacts using REST interface?

Hi all,

I've imported my contacts using the rest interface described in the wiki.

Example:
Code:
 curl -u schemers:password --data-binary @/tmp/new.vcf http://server/service/home/schemers/contacts?fmt=vcf
This works very well! My question is: How can I update the contacts using the rest interface?

When I re-run the rest script, it just adds a seconds contact. I'd like it to update the existing contact.

Is there a primary key I could supply so Zimbra knows I'm updating? Or do I need another url?

We have a shared LDAP GAL which works great in the webinterface. But, with mobile devices we need an addressbook with some shared contacts (from an external system). I'd like to update the contacts in the addressbook so the mobile user has the updated contact info.

Could anyone please assist with this issue?

Thanks!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.