And
App
Day
End
ID
Ids
Not
Or
SID
To
TTL
UID
Url
Expand Minimize

GetAttachment

Last modified: October 13, 2012

Applies to: Exchange Online | Exchange Server 2007 | Exchange Server 2010 | Exchange Server 2013 | Office 365

The GetAttachment element is the root element in a request to get an attachment from the Exchange store.


<GetAttachment>
   <AttachmentShape/>
   <AttachmentIds/>
</GetAttachment>

GetAttachmentType

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child elements

Element

Description

AttachmentShape

Identifies additional extended item properties to return in a response to a GetAttachment request. This element is optional.

AttachmentIds

Contains an array of attachment identifiers.

Parent elements

None.

The AttachmentShape element is not required to identify the properties returned in the response. The GetAttachment operation returns the Name, ContentType, ContentId, ContentLocation, and the Content properties for file attachments. For item attachments, the returned properties are the Name, ContentType, ContentId, ContentLocation, and all the attached item’s properties. This is equivalent to using the AllProperties base shape in a GetItem request.

The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.

Namespace

http://schemas.microsoft.com/exchange/services/2006/messages

Schema Name

Messages schema

Validation File

Messages.xsd

Can be Empty

False

Show:
© 2014 Microsoft