GetUserAvailabilityRequestGetUserAvailabilityRequest

GetUserAvailabilityRequest元素包含用于获取用户可用性信息的参数。The GetUserAvailabilityRequest element contains the arguments used to obtain user availability information. 这是一个根元素。This is a root element.

<GetUserAvailabilityRequest>
   <TimeZone>...</TimeZone>
   <MailboxDataArray>...</MailboxDataArray>
   <FreeBusyViewOptions>...</FreeBusyViewOptions>
   <SuggestionsViewOptions>...</SuggestionsViewOptions>
</GetUserAvailabilityRequest>

GetUserAvailabilityRequestTypeGetUserAvailabilityRequestType

属性和元素Attributes and elements

下面各部分介绍了属性、子元素和父元素。The following sections describe attributes, child elements, and parent elements.

AttributesAttributes

无。None.

子元素Child elements

元素Element 说明Description
时区(可用性)TimeZone (Availability)
包含标识时区信息的元素。Contains elements that identify time zone information. 此元素还包含有关标准时间和夏时制之间转换的信息。This element also contains information about the transition between standard time and daylight saving time.
MailboxDataArrayMailboxDataArray
包含要查询可用性信息的邮箱的列表。Contains a list of mailboxes to query for availability information.
FreeBusyViewOptionsFreeBusyViewOptions
指定响应中返回的忙/闲信息的类型。Specifies the type of free/busy information returned in the response.
SuggestionsViewOptionsSuggestionsViewOptions
包含用于获取会议建议信息的选项。Contains the options for obtaining meeting suggestion information.

父元素Parent elements

无。None.

说明Remarks

描述此元素的架构位于运行 Microsoft Exchange Server 2007 且安装了客户端访问服务器角色的计算机的/EWS/目录中。The schema that describes this element is located in the /EWS/ directory of the computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed.

示例Example

以下示例显示忙/闲信息的请求。The following example shows a request for free/busy information.

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
               xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
               xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetUserAvailabilityRequest xmlns="https://schemas.microsoft.com/exchange/services/2006/messages">
      <TimeZone xmlns="https://schemas.microsoft.com/exchange/services/2006/types">
        <Bias>480</Bias>
        <StandardTime>
          <Bias>0</Bias>
          <Time>02:00:00</Time>
          <DayOrder>5</DayOrder>
          <Month>10</Month>
          <DayOfWeek>Sunday</DayOfWeek>
        </StandardTime>
        <DaylightTime>
          <Bias>-60</Bias>
          <Time>02:00:00</Time>
          <DayOrder>1</DayOrder>
          <Month>4</Month>
          <DayOfWeek>Sunday</DayOfWeek>
        </DaylightTime>
      </TimeZone>
      <MailboxDataArray>
        <MailboxData xmlns="https://schemas.microsoft.com/exchange/services/2006/types">
          <Email>
            <Name></Name>
            <Address>someone@exchangeserver.example.com</Address>
            <RoutingType>SMTP</RoutingType>
          </Email>
          <AttendeeType>Organizer</AttendeeType>
          <ExcludeConflicts>false</ExcludeConflicts>
          <ExcludeNonWorkingHours>false</ExcludeNonWorkingHours>
        </MailboxData>
      </MailboxDataArray>
      <FreeBusyViewOptions xmlns="https://schemas.microsoft.com/exchange/services/2006/types">
        <TimeWindow>
          <StartTime>2006-02-06T00:00:00</StartTime>
          <EndTime>2006-02-30T23:59:59</EndTime>
        </TimeWindow>
        <MergedFreeBusyIntervalInMinutes>60</MergedFreeBusyIntervalInMinutes>
        <RequestedView>FreeBusyMerged</RequestedView>
      </FreeBusyViewOptions>
    </GetUserAvailabilityRequest>
  </soap:Body>
</soap:Envelope>

元素信息Element information

命名空间Namespace
https://schemas.microsoft.com/exchange/services/2006/messages
架构名称Schema Name
消息架构Messages schema
验证文件Validation File
Messages.xsdMessages.xsd
可以为空Can be Empty
FalseFalse

另请参阅See also

GetUserAvailability 操作GetUserAvailability operation

GetUserAvailabilityResponseGetUserAvailabilityResponse

Getting User AvailabilityGetting User Availability