Results 1 to 9 of 9

Thread: Zimbra SOAP Question

  1. #1
    jonnybravo's Avatar
    jonnybravo is offline Junior Member
    Join Date
    Jul 2007
    Location
    Buffalo, NY
    Posts
    7
    Rep Power
    8

    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

  2. #2
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    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!

  3. #3
    jonnybravo's Avatar
    jonnybravo is offline Junior Member
    Join Date
    Jul 2007
    Location
    Buffalo, NY
    Posts
    7
    Rep Power
    8

    Default Thanks!

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

    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

  4. #4
    misleb is offline Intermediate Member
    Join Date
    Jul 2007
    Posts
    22
    Rep Power
    8

    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

  5. #5
    ronnyek is offline Senior Member
    Join Date
    Dec 2006
    Posts
    58
    Rep Power
    8

    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.

  6. #6
    ronnyek is offline Senior Member
    Join Date
    Dec 2006
    Posts
    58
    Rep Power
    8

    Default

    Last edited by ronnyek; 07-26-2007 at 08:24 AM. Reason: bad url

  7. #7
    JoshuaPrismon is offline Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    If you are working with 5.0, you might want to add a &packages=dev to that as well.

  8. #8
    ronnyek is offline Senior Member
    Join Date
    Dec 2006
    Posts
    58
    Rep Power
    8

    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.

  9. #9
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  2. Can't start Zimbra!
    By zibra in forum Administrators
    Replies: 5
    Last Post: 03-22-2007, 11:34 AM
  3. Replies: 8
    Last Post: 02-27-2007, 04:10 AM
  4. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 04:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •