【问题标题】:Impersonate room in EWSEWS 中的模拟房间
【发布时间】:2016-02-28 15:47:39
【问题描述】:

我是 Exchange 服务器的新手。我想通过 EWS 创建会议。我的目标是在一个房间预订会议,然后将所有会议拉到一个特定的房间。只知道房间标识符。

是否可以在会议创建中模拟房间,或者将房间添加为参与者就足够了。

【问题讨论】:

    标签: exchange-server exchangewebservices


    【解决方案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>attendee@mailbox.com</t:EmailAddress>
                  </t:Mailbox>
                </t:Attendee>
              </t:RequiredAttendees>
              <t:Resources>
                <t:Attendee>
                  <t:Mailbox>
                    <t:EmailAddress>room@mailbox.com</t:EmailAddress>
                  </t:Mailbox>
                </t:Attendee>
              </t:Resources>
            </t:CalendarItem>
          </m:Items>
        </m:CreateItem>
      </soap:Body>
    </soap:Envelope>

    【讨论】:

    • 能否请您为我提供一个将房间添加为资源的 SOAP 请求示例。谢谢。
    猜你喜欢
    • 2023-03-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-07-17
    • 2014-03-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多