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 09-26-2007, 07:02 AM
Special Member
 
Posts: 151
Default Calendar Insert SOAP Question

I sent this SOAP object in:

It added the appointment to the calendar, but if you open the calendar in Zimbra to edit it, it says the start and end time is 10:00 am. But it shows the correct duration on the actual block in the calendar day view, is something wrong with this SOAP?

Also, I put in a message plain and html, and nothing is showing in the body of the calendar when I open it to edit it.

Any ideas?

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<authToken>my valid token</authToken>
</context>
</soap:Header>
<soap:Body>
<CreateAppointmentRequest xmlns="urn:zimbraMail">
<m d="1190814921">
<inv method="REQUEST" type="event" fb="B" transp="O" status="CONF" allDay="0" name="Confirmed Home Inspection - 4545 Chestnut St - # 20071331" loc="4545 Chestnut St">
<s tz="America/New_York" d="20071031T100000"/>
<dur m="75"/>
<or a="myemail"/>
</inv>
<mp ct="multipart/alternative">
<mp ct="text/plain">
<content>
The following is a new appointment request: Subject: Confirmed Home Inspection - 4545 Chestnut St - # 20071331 Organizer: myemail Location: 4545 Chestnut St Time: 10-31-2007, 10:00 AM *~*~*~*~*~*~*~*~*~*
</content>
</mp>
<mp ct="text/html">
<content>
<html>
<body>
<h3>
The following is a new meeting request:</h3>
<p></p>
<table border='0'>
<tr>
<th align='left'>
Subject:</th>
<td>
Confirmed Home Inspection - 4545 Chestnut St - # 20071331 </td>
</tr>
<tr>
<th align='left'>
Organizer:</th>
<td>
myemail </td>
</tr>
</table>
<p></p>
<table border='0'>
<tr>
<th align='left'>
Location:</th>
<td>
4545 Chestnut St </td>
</tr>
<tr>
<th align='left'>
Date:</th>
<td>
10-31-2007, 10:00 AM</td>
</tr>
</table>
<div>
*~*~*~*~*~*~*~*~*~*</div>
</body>
</html>
</content>
</mp>
</mp>
<su>test</su>
</m>
</CreateAppointmentRequest>
</soap:Body>
</soap:Envelope>
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.