EWS GetUserAvailabilityRequest

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.


July 25th, 2013 2:01pm

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

Free Windows Admin Tool Kit Click here and download it now
July 26th, 2013 6:34am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics