webdavexchange-server-2003appointment

Exchange Server Webdav: How to retrieve the unique id of new items created


I am creating the appointments using WebDav in Exchange server 2003 and it is working perfectly fine. I however want to get an handle for the newly created items for future user like setting custom property/deleting etc.

How to get back a unique ID or something for the newly create the appointment? Does the PROPPATCH return any value??

Thanks Shreedhar


Solution

  • When you create new item server returns MultiStatus. Inside MultiStatus response is item's url. Keep this url for later use (to delete/update item).

    http://msdn.microsoft.com/en-us/library/aa142976(v=exchg.65).aspx

    There is also a library with clean design from Independentsoft which implements WebDAV protocol for Exchange. It also returns item's url when you create new item.