OfficeDev / ews-java-api

A java client library to access Exchange web services. The API works against Office 365 Exchange Online as well as on premises Exchange.
MIT License
869 stars 560 forks source link

TimeFrame limitation for getUserAvailability api #509

Open aparajita24 opened 8 years ago

aparajita24 commented 8 years ago

Hi, I want to use getUSerAvailabilty api for a timeframe of 2 hours but I am restricted by 24 hours duration. Is there any workaround available for that?

serious6 commented 8 years ago

Would you please provide some code that you already tried?

aparajita24 commented 8 years ago

Hi Andre,

I have a use case where I am using the function getUserAvailability :

service.getUserAvailability(attendees, new TimeWindow(start, end), AvailabilityData.FreeBusy)

So, the timeFrame constraint of 24 hours leads me to fetch the whole day data which is not required for my use case.

Moreover, I am using my company network to access it, which returns me with SocketException. Do you have any idea how can it be fixed?

Thanks and Regards, Aparajita

On Thu, Apr 7, 2016 at 8:32 PM, André Behrens notifications@github.com wrote:

Would you please provide some code that you already tried?

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/OfficeDev/ews-java-api/issues/509#issuecomment-206943144