2016-02-28 58 views
-1

我是Exchange服務器的新手。我想通過EWS創建會議。我的目標是在一間會議室預定會議,然後爲特定會議室召開所有會議。只知道房間標識符。在EWS模擬室

是否有可能在會議創作中冒充空間,或者只是將會議室添加爲參與者而已。

回答

1

房間不應該是會議的組織者,所以不應該嘗試模擬它(默認房間帳戶被禁用,因此您不能模擬禁用的帳戶)。唯一應該模擬的人是約會的組織者,將房間添加爲創建的會議的資源,然後將請求發送到會議室郵箱,並讓自動接受處理其餘部分。

乾杯 格倫

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:m=" 
 
http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://sc 
 
hemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xml 
 
soap.org/soap/envelope/"> 
 
    <soap:Header> 
 
    <t:RequestServerVersion Version="Exchange2013_SP1" /> 
 
    <t:TimeZoneContext> 
 
     <t:TimeZoneDefinition Name="(UTC+10:00) Canberra, Melbourne, Sydney" Id="AUS Eastern Standard Time"> 
 
     <t:Periods> 
 
      <t:Period Bias="-P0DT11H0M0.0S" Name="Daylight" Id="Dlt/1" /> 
 
      <t:Period Bias="-P0DT10H0M0.0S" Name="Standard" Id="Std/1" /> 
 
      <t:Period Bias="-P0DT11H0M0.0S" Name="Daylight" Id="Dlt/2008" /> 
 
      <t:Period Bias="-P0DT10H0M0.0S" Name="Standard" Id="Std/2008" /> 
 
     </t:Periods> 
 
     <t:TransitionsGroups> 
 
      <t:TransitionsGroup Id="0"> 
 
      <t:RecurringDayTransition> 
 
       <t:To Kind="Period">Dlt/1</t:To> 
 
       <t:TimeOffset>P0DT2H0M0.0S</t:TimeOffset> 
 
       <t:Month>10</t:Month> 
 
       <t:DayOfWeek>Sunday</t:DayOfWeek> 
 
       <t:Occurrence>-1</t:Occurrence> 
 
      </t:RecurringDayTransition> 
 
      <t:RecurringDayTransition> 
 
       <t:To Kind="Period">Std/1</t:To> 
 
       <t:TimeOffset>P0DT3H0M0.0S</t:TimeOffset> 
 
       <t:Month>3</t:Month> 
 
       <t:DayOfWeek>Sunday</t:DayOfWeek> 
 
       <t:Occurrence>-1</t:Occurrence> 
 
      </t:RecurringDayTransition> 
 
      </t:TransitionsGroup> 
 
      <t:TransitionsGroup Id="1"> 
 
      <t:RecurringDayTransition> 
 
       <t:To Kind="Period">Dlt/2008</t:To> 
 
       <t:TimeOffset>P0DT2H0M0.0S</t:TimeOffset> 
 
       <t:Month>10</t:Month> 
 
       <t:DayOfWeek>Sunday</t:DayOfWeek> 
 
       <t:Occurrence>1</t:Occurrence> 
 
      </t:RecurringDayTransition> 
 
      <t:RecurringDayTransition> 
 
       <t:To Kind="Period">Std/2008</t:To> 
 
       <t:TimeOffset>P0DT3H0M0.0S</t:TimeOffset> 
 
       <t:Month>4</t:Month> 
 
       <t:DayOfWeek>Sunday</t:DayOfWeek> 
 
       <t:Occurrence>1</t:Occurrence> 
 
      </t:RecurringDayTransition> 
 
      </t:TransitionsGroup> 
 
     </t:TransitionsGroups> 
 
     <t:Transitions> 
 
      <t:Transition> 
 
      <t:To Kind="Group">0</t:To> 
 
      </t:Transition> 
 
      <t:AbsoluteDateTransition> 
 
      <t:To Kind="Group">1</t:To> 
 
      <t:DateTime>2007-12-31T13:00:00.000Z</t:DateTime> 
 
      </t:AbsoluteDateTransition> 
 
     </t:Transitions> 
 
     </t:TimeZoneDefinition> 
 
    </t:TimeZoneContext> 
 
    </soap:Header> 
 
    <soap:Body> 
 
    <m:CreateItem SendMeetingInvitations="SendToAllAndSaveCopy"> 
 
     <m:Items> 
 
     <t:CalendarItem> 
 
      <t:Subject>Meeting</t:Subject> 
 
      <t:Start>2016-03-01T12:33:17.185+11:00</t:Start> 
 
      <t:End>2016-03-01T13:33:17.185+11:00</t:End> 
 
      <t:RequiredAttendees> 
 
      <t:Attendee> 
 
       <t:Mailbox> 
 
       <t:EmailAddress>[email protected]</t:EmailAddress> 
 
       </t:Mailbox> 
 
      </t:Attendee> 
 
      </t:RequiredAttendees> 
 
      <t:Resources> 
 
      <t:Attendee> 
 
       <t:Mailbox> 
 
       <t:EmailAddress>[email protected]</t:EmailAddress> 
 
       </t:Mailbox> 
 
      </t:Attendee> 
 
      </t:Resources> 
 
     </t:CalendarItem> 
 
     </m:Items> 
 
    </m:CreateItem> 
 
    </soap:Body> 
 
</soap:Envelope>

+0

請你親我提供SOAP請求的例子有房間添加資源。謝謝。 – eomeroff

+0

新增示例... –

+0

非常感謝 – eomeroff

相關問題