4.1 Creating a New Calendar Object
In the following example, the client connects to the server using WebDAV and uses the PROPPATCH method, as described in [RFC2518] section 8.2, to create a new Calendar object.
-
PROPPATCH /exchange/administrator/calendar/meeting.eml HTTP/1.1 Content-type: text/xml Translate: f <?xml version="1.0"?> <a:propertyupdate xmlns:a="DAV:" xmlns:c="urn:schemas:calendar:" xmlns:dt="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" xmlns:e="urn:schemas:httpmail:" xmlns:f="http://schemas.microsoft.com/exchange/" xmlns:j="urn:schemas:mailheader:" > <a:set> <a:prop> <e:textdescription>The body text</e:textdescription> <a:contentclass>urn:content-classes:appointment</a:contentclass> <f:outlookmessageclass>IPM.Appointment</f:outlookmessageclass> <c:busystatus>BUSY</c:busystatus> <c:dtstart dt:dt="dateTime.tz">2009-08-24T15:00:00.000Z</c:dtstart> <c:location>here</c:location> <j:subject>Simple meeting</j:subject> <c:duration dt:dt="int">1800</c:duration> <c:dtend dt:dt="dateTime.tz">2009-08-24T15:30:00.000Z</c:dtend> </> </> </>