Vin
Vin

Reputation: 6145

EWS GetRoomsList doesn't work in Exchange Server 2007 SP1

I am trying to programmatically get rooms list (Resource Scheduler) from Exchange Server 2007 SP1.

When I run the code from the following link, http://msdn.microsoft.com/en-us/library/exchange/hh532566(v=exchg.80).aspx

get an exception like so:

The service request GetRoomLists is only valid for Exchange version Exchange2010 or later.

Any idea how to get the RoomsList in Exchange Server 2007 SP1?

Upvotes: 1

Views: 1159

Answers (1)

cdugga
cdugga

Reputation: 3859

In Exchange 2007 rooms are classified as resources. If you want to get a rooms schedule then you can use the EWS API call GetUserAvailability.

http://msdn.microsoft.com/en-us/library/aa564001.aspx

When you make this call you need to have the correct alias name for the room/resource your interested in. I have built an application on Ex 2007 which does what your talking about using the availability call.

Upvotes: 2

Related Questions