GetItem 操作GetItem operation

查找有关GetItem EWS 操作的信息。Find information about the GetItem EWS operation.

GetItem操作从 Exchange 存储中获取项目。The GetItem operation gets items from the Exchange store.

使用 GetItem 操作Using the GetItem operation

GetItem操作返回许多项目属性。The GetItem operation returns many item properties. GetItem响应中返回的属性根据所请求的形状、请求的其他属性和返回的项目类型而有所不同。The properties that are returned in a GetItem response vary based on the requested shape, requested additional properties, and the type of item returned.

Message元素表示的电子邮件和所有其他不是由 Exchange Web 服务(EWS)架构强类型化的项目。Message elements represent email messages and all other items that are not strongly typed by the Exchange Web Services (EWS) schema. 项目,如 IPM。共享和 IPM. InfoPath 以邮件元素的形式返回。Items such as IPM.Sharing and IPM.InfoPath are returned as Message elements. Exchange 不会在响应中返回基本项目元素。Exchange does not return the base Item element in responses.

GetItem操作不会返回附件。The GetItem operation does not return attachments. 它会返回有关附加项或文件的元数据。It does return metadata about an attached item or file. 若要返回附件,请使用GetAttachment 操作To return an attachment, use the GetAttachment operation.

GetItem 操作 SOAP 标头GetItem operation SOAP headers

GetItem操作可以使用下表中列出的 SOAP 标头。The GetItem operation can use the SOAP headers that are listed in the following table.

标头 * * * *****Header**** ****Element********Element**** ****说明********Description****
DateTimePrecisionDateTimePrecision
DateTimePrecisionDateTimePrecision
指定对来自服务器的响应中的数据/时间值的解析(以秒或毫秒为单位)。Specifies the resolution of data/time values in responses from the server, either in seconds or in milliseconds.
模拟Impersonation
ExchangeImpersonationExchangeImpersonation
标识客户端应用程序模拟的用户。Identifies the user whom the client application is impersonating.
MailboxCultureMailboxCulture
MailboxCultureMailboxCulture
确定用于访问邮箱的区域性(如 RFC 3066 中定义的用于标识语言的标记)。Identifies the culture, as defined in RFC 3066, "Tags for the Identification of Languages", to be used to access the mailbox.
RequestVersionRequestVersion
RequestServerVersionRequestServerVersion
标识操作请求的架构版本。Identifies the schema version for the operation request.
ServerVersionServerVersion
ServerVersionInfoServerVersionInfo
标识响应请求的服务器版本。Identifies the version of the server that responded to the request.
TimeZoneContextTimeZoneContext
TimeZoneContextTimeZoneContext
标识要用于来自服务器的所有响应的时区。Identifies the time zone to be used for all responses from the server.

本部分内容In This Section

GetItem 操作(电子邮件)GetItem operation (email message)

GetItem 操作(日历项目)GetItem operation (calendar item)

GetItem 操作(任务)GetItem operation (task)

GetItem 操作(联系人)GetItem operation (contact)

另请参阅See also

Exchange 的 EWS 引用EWS reference for Exchange