Partager via


3.1.4.2 GetRooms Operation

The GetRooms operation retrieves a collection of all rooms in the specified room list in the organization.

The following is the WSDL port type specification for the GetRooms operation.

 <wsdl:operation name="GetRooms">
     <wsdl:input message="tns:GetRoomsSoapIn"/>
     <wsdl:output message="tns:GetRoomsSoapOut"/>
 </wsdl:operation>

The following is the WSDL binding specification for the GetRooms operation.

 <wsdl:operation name="GetRooms">
     <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/GetRooms"/>
     <wsdl:input>
         <soap:body parts="GetRoomsRequest" use="literal"/>
         <soap:header message="tns:GetRoomsSoapIn" part="Impersonation" use="literal"/>
         <soap:header message="tns:GetRoomsSoapIn" part="MailboxCulture" use="literal"/>
         <soap:header message="tns:GetRoomsSoapIn" part="RequestVersion" use="literal"/>
     </wsdl:input>
     <wsdl:output>
         <soap:body parts="GetRoomsResult" use="literal"/>
         <soap:header message="tns:GetRoomsSoapOut" part="ServerVersion" use="literal"/>
     </wsdl:output>
 </wsdl:operation>