Results 1 to 7 of 7

Thread: REST message formats documentation.

  1. #1
    tullio0106 is offline Intermediate Member
    Join Date
    May 2009
    Posts
    17
    Rep Power
    6

    Default REST message formats documentation.

    I'm trying to use the REST zimbra interface and all works well but message I receive are hard to understand.
    Is there any documentation about such messages ?
    Tks
    Tullio

  2. #2
    yutaka is offline Project Contributor
    Join Date
    Oct 2009
    Location
    Tokyo
    Posts
    113
    Rep Power
    5

    Default

    There is a documentation for REST in source code repository, ZimbraServer/docs/rest.txt.

    But I am not sure if it could help you.
    So how about showing the messages you've got to us here.

  3. #3
    tullio0106 is offline Intermediate Member
    Join Date
    May 2009
    Posts
    17
    Rep Power
    6

    Default

    This is a "typical" message I get
    <m id="83742" rev="208744" d="1318234892000" s="2396" l="2" cid="83743">
    <e d="Marco" t="f" p="MXYZ" a="xyz@qqqqq.it"/>
    <su>Re: script cache pin</su>
    <fr>Scusate, ho sbagliato destinatari. -- Messaggio originale --</fr>
    </m>

    Quite cryptic.
    Is there any explanation ?
    Last edited by tullio0106; 10-18-2011 at 08:54 AM.

  4. #4
    yutaka is offline Project Contributor
    Join Date
    Oct 2009
    Location
    Tokyo
    Posts
    113
    Rep Power
    5

    Default

    I guess you have already got it.
    But the response format looks xml(SOAP).
    So ZimbraServer/docs/soap.txt can help you.
    You shold check "GetMsgRequest" or "AddMsgRequest".

    Or you can change the format.
    You better check this out for that:
    ZCS 6.0:Zimbra REST API Reference - Zimbra :: Wiki

  5. #5
    tullio0106 is offline Intermediate Member
    Join Date
    May 2009
    Posts
    17
    Rep Power
    6

    Default

    My question is very easy I see tags named <m>, <a>, <f> etc... and I shoud immagine what they mean.
    Where can I find the meaning ?
    XML format is god for me.
    Another question You told me about a directory in the server I can't access : where can I find such docs in the net ?
    Tks

  6. #6
    tdesorbaix is offline Zimlet Guru & Moderator
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    On your server the docs are in /opt/zimbra/docs

    And indeed, the result you get is from SOAP API, not REST API.

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

    Default

    Quote Originally Posted by tullio0106 View Post
    My question is very easy I see tags named <m>, <a>, <f> etc... and I shoud immagine what they mean.
    Where can I find the meaning ?
    XML format is god for me.
    Another question You told me about a directory in the server I can't access : where can I find such docs in the net ?
    Tks
    Part of the reason for this is simply try and minimize amount of xml transmitting. e generally is envelope, m is message, etc. As mentioned by others, look at the SOAP description to figure it out.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Lot of mails deferred
    By pigui in forum Administrators
    Replies: 17
    Last Post: 04-10-2012, 05:15 AM
  2. message cache problem
    By mikiso in forum Administrators
    Replies: 0
    Last Post: 10-20-2010, 09:48 AM
  3. Location of REST API Documentation?
    By ryan_at_evri.com in forum Developers
    Replies: 17
    Last Post: 04-10-2010, 05:04 AM
  4. REST and SOAP Documentation
    By omniplex in forum Developers
    Replies: 2
    Last Post: 10-19-2009, 03:23 AM
  5. Emails bouncing with "Error Text: 401,'null'"
    By sholden in forum Zimbra Connector for Outlook
    Replies: 27
    Last Post: 08-20-2008, 04:59 PM

Tags for this Thread

Posting Permissions

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