To get MS Exchange resource data, execute request using the "exchange" API method (determine user token before executing the request).
curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer <user token>' '<IP address or DNS server name>/api/v1/exchange/<resource name>/'
The example of response on successful resource request:
[
{
"subject": "Meeting of the German-American Federation",
"start": "2017-07-07T09:00:00+00:00",
"end": "2017-07-07T10:00:00+00:00",
"organizer": {
"email": "walt@disney.com",
"name": "Walt Disney"
},
"attendees": [
{
"name": "Donald Duck",
"email": "donald@disney.com",
"required": true
},
{
"name": "Pluto",
"email": "pluto@disney.com",
"required": true
},
...
],
"location": "on their places",
"html_body": "<html>\r\n<head>\r\n<meta
http-equiv=\"Content-Type\" content=\"text/html;
charset=utf-8\">\r\n<meta name=\"Generator\" content=\"Microsoft
Exchange Server\">\r\n<!-- converted from rtf
-->\r\n<style><!-- .EmailQuote { margin-left:
1pt;
padding-left: 4pt; border-left: #800000 2px solid; }
--></style>\r\n</head>\r\n<body>\r\n<font
face=\"Calibri\" size=\"2\"><span
style=\"font-size:11pt;\">\r\n<div> </div>\r\n<div> </div>\r\n</span></font>\r\n</body>\r\n</html>\r\n",
"text_body": null,
"is_all_day": false
},
...
]
See also: