Logout

Alt-N Discussion Groups > MDaemon Discussion Groups > MDaemon API > Programmatic Access To Calendar Data From .NET

 [F] Alt-N Discussion Groups  / MDaemon Discussion Groups  / MDaemon API  /

Programmatic Access To Calendar Data From .NET

Hi, I'd like to create/read/update/delete a MDaemon users calendar events (appointments) in an automated way from a C#.NET application running on a computer that is not the same computer that MDaemon is running on.

I contacted tech support from the vendor that sold MDaemon to my client but they told me to post in the community forums because the dev(s) monitors the forums and that would be the best hope to get an answer to my query.

The use case is that a business that I've written custom management software for is using MDaemon and they want me to automatically create appointments in each users MDaemon calendar to sync up with the appointments stored in my custom software, which is also pushing those appointments to a google calendar successfully.

In looking through posts here and the documentation i first thought i could write a C# wrapper around the MDCalendar.dll C++ (COM?) library, however the documentation in the MDaemon\API\MDCalendar.html folder is incomplete and i couldn't find an online reference.
I also see here that there is an XML API but in looking at the .htm files in the XML API folder i don't see any reference to calendar events.
I did notice that the events appear to be stored in MDaemon\User\Domain\User\Calendar.imap, in the Calendar.mrk file and can be parsed, however i'm not sure it's safe to edit that file directly to create/edit events.

My question is what is the best method, if any, to interact with the MDaemon calendar programmatically?

  (older msg: 5)All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items

Keith Personett (apparently) - Jan 17, 2020 9:33 am (#6 Total: 11)  

via email  

Photo of Author
Keith Personett
Newbie
Newbie
Posts: 80

https://{Server}:{Port}/MdMgmtWS?HelpTopic=FolderOperation

https://{Server}:{Port}/MdMgmtWS?HelpTopic=ItemOperation

 

https://{Server}:{Port}/MdMgmtWS?GetSample=FO_get__PRIVATE_Calendar_RES.xml

https://{Server}:{Port}/MdMgmtWS?GetSample=IO_put__PRIVATE_Calendar_RES.xml

https://{Server}:{Port}/MdMgmtWS?GetSample=IO_get__PRIVATE_Calendar_RES.xml

https://{Server}:{Port}/MdMgmtWS?GetSample=IO_change__PRIVATE_Calendar_RES.xml

 

If you are creating a service to modify data in various mailboxes, you will be making FO and IO calls with the path attribute beginning with MAILBOX\ (as opposed to PRIVATE\) and the account attribute must be specified. The Account making the API request has to have permission to access the folders and items. This can be done one of two ways.

 




  (newer msg:5)All MessagesOldest ItemsOlder ItemsNewer ItemsNewest Items



 Content:

Read New | Search

 Guest:

Email to Admin



You are visiting as a Guest user.