1
votes

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?

1

1 Answers

2
votes

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.