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

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 07-28-2008, 02:34 AM
Member
 
Posts: 11
Default Fetching Address Book Contacts using Zimbra API

Hello I am new to development and customization in zimbra. I want to get all my contacts of address book. What api should I call. Please help me
Reply With Quote
  #2 (permalink)  
Old 07-28-2008, 04:17 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

You should look in the source code documentation, please search the forums and wiki for 'perforce' and details of how to download it.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 07-28-2008, 07:10 AM
Zimbra Employee
 
Posts: 1,434
Default

In particular, look at ZimbraServer/docs/soap.txt. If you want to do it via Java, look at com.zimbra.cs.zclient.ZMailbox.java.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #4 (permalink)  
Old 07-28-2008, 08:18 AM
Intermediate Member
 
Posts: 17
Default GetContactsRequest

We use the GetContactsRequest SOAP call.
The soap.txt document doesn't have a ton of details, but it should get you started.
I get more info from running the zmprov or zmmailbox commands on the server with the debug flag set. That is:
zmmailbox -z -d -m username@domain.com gact

This will not only get you a list of contacts for the given user, but more specifics on what the SOAP request should look like.

Also, you can get SOAP details for just about any command running the Zimbra Collaboration Suite client and admin tools in debug mode. Just add ?dev=1 or ?debug=1 to your URL on the login screen, depending on which application you are running.
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.