none
Get the Outlook calendar RRS feed

  • Question

  • Hi,

    How can I get calendar with booked metting rooms through API(Visual Studio)?

    Thanks

    Wednesday, January 25, 2012 4:14 AM

Answers

  • Which API are you talking about?
     
    If it's Outlook, a "room" for meetings in Outlook is a resource mailbox that gets added to the invitation for the meeting as a Bcc recipient.
     
    A recipient of a meeting won't see any Bcc recipients unless they're the organizer of the meeting (To recipients are "required", Cc recipients are "optional attendees", Bcc recipients are room resources). The organizer of the meeting can get the meeting item from the calendar, but other attendee's calendars won't show the room (Bcc).
     
    Do you have a list of all the resource mailboxes? If you do you can iterate the list and create a Recipient object for each resource mailbox using NameSpace.CreateRecipient() using the name or email address of the resource mailbox. You can then get Recipient.FreeBusy() to get the FreeBusy status of that resource. You'd supply the parameters to the call such as when to start the FreeBusy information and then parse the data string you get back.
     
    See http://msdn.microsoft.com/en-us/library/bb219898(office.12).aspx for information on that FreeBusy() call to see how to set up the call and how to interpret the return value.

    --
    Ken Slovak
    MVP - Outlook
    http://www.slovaktech.com
    Author: Professional Programming Outlook 2007
     
     
    "Maxat Utepbergenov" <=?utf-8?B?TWF4YXQgVXRlcGJlcmdlbm92?=> wrote in message news:cf569357-fd5e-4066-bd37-1faacb1ef85a...

    Hi,

    How can I get calendar with booked metting rooms through API(Visual Studio)?

    Thanks


    Ken Slovak MVP - Outlook
    Wednesday, January 25, 2012 3:28 PM
    Moderator

All replies

  • use EWS , there is exchange.asmx::GetRooms method
    Wednesday, January 25, 2012 10:54 AM
  • Which API are you talking about?
     
    If it's Outlook, a "room" for meetings in Outlook is a resource mailbox that gets added to the invitation for the meeting as a Bcc recipient.
     
    A recipient of a meeting won't see any Bcc recipients unless they're the organizer of the meeting (To recipients are "required", Cc recipients are "optional attendees", Bcc recipients are room resources). The organizer of the meeting can get the meeting item from the calendar, but other attendee's calendars won't show the room (Bcc).
     
    Do you have a list of all the resource mailboxes? If you do you can iterate the list and create a Recipient object for each resource mailbox using NameSpace.CreateRecipient() using the name or email address of the resource mailbox. You can then get Recipient.FreeBusy() to get the FreeBusy status of that resource. You'd supply the parameters to the call such as when to start the FreeBusy information and then parse the data string you get back.
     
    See http://msdn.microsoft.com/en-us/library/bb219898(office.12).aspx for information on that FreeBusy() call to see how to set up the call and how to interpret the return value.

    --
    Ken Slovak
    MVP - Outlook
    http://www.slovaktech.com
    Author: Professional Programming Outlook 2007
     
     
    "Maxat Utepbergenov" <=?utf-8?B?TWF4YXQgVXRlcGJlcmdlbm92?=> wrote in message news:cf569357-fd5e-4066-bd37-1faacb1ef85a...

    Hi,

    How can I get calendar with booked metting rooms through API(Visual Studio)?

    Thanks


    Ken Slovak MVP - Outlook
    Wednesday, January 25, 2012 3:28 PM
    Moderator