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-20-2007, 07:38 AM
Junior Member
 
Posts: 7
Default Zimbra SOAP Question

So I've been searching the forum for quite some time now and I'm not finding the answer I need. I've also taken a quick look over the Zimbra Docs like soap.txt, soap-admin.txt etc and I can't seem to find this so maybe someone can help me.

Basically I want to make a SOAP call so that I can set the mailbox quota per user. I know how to get the quota but does the SOAP api provide a way to SET the quota?

Furthermore, is there a definitive list somewhere that has all of the possible calls I can make to the SOAP api? I know the Zimbra docs has a lot of them listed but it would be nice if there was a concise list as opposed to having to sift through all of those "sample" SOAP calls...

Any help would be greatly appreciated!
__________________
Jon
Reply With Quote
  #2 (permalink)  
Old 07-20-2007, 09:10 AM
Zimbra Employee
 
Posts: 1,434
Default

Quote:
Originally Posted by jonnybravo View Post
I want to make a SOAP call so that I can set the mailbox quota per user. I know how to get the quota but does the SOAP api provide a way to SET the quota?
Use ModifyAccount to set zimbraMailQuota to the desired size in bytes.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #3 (permalink)  
Old 07-20-2007, 09:13 AM
Junior Member
 
Posts: 7
Default Thanks!

Thank you very much dkarp. Now does anyone have an answer to my second question?

Quote:
Furthermore, is there a definitive list somewhere that has all of the possible calls I can make to the SOAP api? I know the Zimbra docs has a lot of them listed but it would be nice if there was a concise list as opposed to having to sift through all of those "sample" SOAP calls...
Thanks in advance!
__________________
Jon
Reply With Quote
  #4 (permalink)  
Old 07-24-2007, 04:29 PM
Intermediate Member
 
Posts: 22
Default

Seconded!

I'm also quite interested in SOAP queries. I'd like to pull Zimbra user data into some intranet apps.

A definitive list of calls, some example code, and some basic info on how they work would be nice.

-matthew
Reply With Quote
  #5 (permalink)  
Old 07-25-2007, 12:33 PM
Senior Member
 
Posts: 58
Default

as far as definitive list... I personally dont know of one, however you can place the admin and mail interfaces into debug mode (which will show a debugging window) and you can do ANYTHING that you can do in either interface, and it will show you what its sending to zimbra server.

So theoretically anything you can do with zimbra you can do though the soap interfaces.
Reply With Quote
  #6 (permalink)  
Old 07-26-2007, 08:24 AM
Senior Member
 
Posts: 58
Default

btw

https://yourdomain:7071/zimbraAdmin/...alse&mode=mjsf

Last edited by ronnyek; 07-26-2007 at 08:24 AM.. Reason: bad url
Reply With Quote
  #7 (permalink)  
Old 07-26-2007, 10:03 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by ronnyek View Post
If you are working with 5.0, you might want to add a &packages=dev to that as well.
Reply With Quote
  #8 (permalink)  
Old 07-26-2007, 10:04 AM
Senior Member
 
Posts: 58
Default

yep, btw what was the mode to see responses in xml rather than json? I do recall being able to do that, but xml in place of mjsf doesnt seem to be the trick.
Reply With Quote
  #9 (permalink)  
Old 07-26-2007, 04:09 PM
Zimbra Employee
 
Posts: 1,434
Default

Can't force the client to do that -- it's hardcoded to JSON at present.

If you don't want JSON responses to your XML SOAP requests, don't include a <format/> element in the SOAP header of the request.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
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.