none
EWS GetUserAvailabilityRequest RRS feed

  • Question

  • Hello,

    I am using soap GetUserAvailabilityRequest to get user appointments. It seems to work just fine. However, it only returns appointment times, subjects and locations. I also want to get message body of appointment. Is there any thing I can add to soap GetUserAvailabilityRequest to return message body too? I also tried soap operation GetItem passing the ID return from GetUserAvailabilityResponse in ItemId but I get Invalid Id. Can anyone help me figure this one out? Either add something to soap message of GetUserAvailabilityRequest or do a call using ID returned in GetUserAvailabilityResponse.


    Thanks for your help.


    Thursday, July 25, 2013 5:59 PM

All replies

  • No you can't get the body with GetUserAvailabilityRequest so you will need to use a GetItem request to retrieve the appointment. The first thing you will need is access to the calendar folder where the appointments are located (eg Reviewer or higher). With the Id that is returned in the GetUserAvailabilityRequest  request this Id isn't in a format you can use directly in EWS. You first need to convert that ID from HexEntryID format to an EWSid using the ConvertID operation is EWS see http://msdn.microsoft.com/en-us/library/exchange/bb799665(v=exchg.140).aspx

    Cheers
    Glen

    Friday, July 26, 2013 10:32 AM