Solution
The Web Storage System of the Exchange system allows one to access the various properties of any item (e.g. a mail or appointment) via WebDAV.
To retrieve a list of all available properties, the WebDAV Propfind method is used, as displayed below:
1 PROPFIND /public/container/ HTTP/1.1
2 Host: www.contoso.com
3 Depth: 0
4 Content-type: text/xml;
5 Content-Length: XXXXX
6
7 <?xmlversion="1.0" ?>
8 <D:propfindxmlns:D="DAV:">
9 <D:allprop />
10 </D:propfind>
However, this request will only return the named properties, such as the displayname, etc. The MAPI-Properties are not included in the list. Instead, the following request should be used, which uses the undocumented http://schemas.microsoft.com/exchange/allprop tag:
1 PROPFIND /public/container/ HTTP/1.1
2 Host: www.contoso.com
3 Depth: 0
4 Content-type: text/xml;
5 Content-Length: XXXXX
6
7 <?xmlversion="1.0" ?>
8 <D:propfindxmlns:D="DAV:"xmlns:E="http://schemas.microsoft.com/exchange/">
9 <D:allprop>
10 <E:allprop />
11 </D:allprop>
12 </D:propfind>