2016-02-28 53 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

相关问题