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
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
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.
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.
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
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
On your server the docs are in /opt/zimbra/docs
And indeed, the result you get is from SOAP API, not REST API.
There are currently 1 users browsing this thread. (0 members and 1 guests)