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
REST message formats documentation.
-
- Advanced member
- Posts: 114
- Joined: Sat Sep 13, 2014 12:45 am
- Location: Tokyo
- Contact:
REST message formats documentation.
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.
But I am not sure if it could help you.
So how about showing the messages you've got to us here.
-
- Posts: 17
- Joined: Sat Sep 13, 2014 12:27 am
REST message formats documentation.
This is a "typical" message I get
Re: script cache pin
Scusate, ho sbagliato destinatari. -- Messaggio originale --
Quite cryptic.
Is there any explanation ?
Re: script cache pin
Scusate, ho sbagliato destinatari. -- Messaggio originale --
Quite cryptic.
Is there any explanation ?
-
- Advanced member
- Posts: 114
- Joined: Sat Sep 13, 2014 12:45 am
- Location: Tokyo
- Contact:
REST message formats documentation.
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
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
-
- Posts: 17
- Joined: Sat Sep 13, 2014 12:27 am
REST message formats documentation.
My question is very easy I see tags named , , 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
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
-
- Outstanding Member
- Posts: 366
- Joined: Fri Sep 12, 2014 10:31 pm
REST message formats documentation.
On your server the docs are in /opt/zimbra/docs
And indeed, the result you get is from SOAP API, not REST API.
And indeed, the result you get is from SOAP API, not REST API.
-
- Outstanding Member
- Posts: 458
- Joined: Fri Sep 12, 2014 9:59 pm
REST message formats documentation.
[quote user="tullio0106"]My question is very easy I see tags named , , 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[/QUOTE]
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.
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[/QUOTE]
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.