GetAttachment
Retrieves the indicated attachments.
Input
Name | Type | Required | Accepts Output Streams | Description |
AttachmentIds | String | True | False | A semicolon-separated list of the Ids of the attachments to retrieve. |
IncludeMimeContent | String | False | False | Specifies whether the Multipurpose Internet Mail Extensions (MIME) content of an item or attachment is returned in the response. This element is optional. |
BodyType | String | False | False | Identifies how the body text is formatted in the response. This element is optional. Valid values are: Best, HTML, Text. |
AttachmentFolder | String | False | False | Folder to download attachments to. |
Overwrite | String | False | False | If true, conflicting files will be overwritten, otherwise they will be indexed.
デフォルト値はtrueです。 |
FileStream | String | False | True | An instance of an output stream where file data is written to. Only used if DownloadPath is not provided. |
Result Set Columns
Name | Type | Description |
AttachmentId | String | Identifies the file attachment. |
Name | String | Represents the name of the attachment. |
ContentType | String | Describes the Multipurpose Internet Mail Extensions (MIME) type of the attachment content. |
ContentId | String | Represents an identifier for the contents of an attachment. ContentId can be set to any string value. Applications can use ContentId to implement their own identification mechanisms. |
ContentLocation | String | Contains the Uniform Resource Identifier (URI) that corresponds to the location of the content of the attachment. |
Size | String | Represents the size in bytes of the file attachment. |
LastModifiedTime | String | Represents when the file attachment was last modified. |
IsInline | String | Represents whether the attachment appears in-line within an item. |
IsContactPhoto | String | Indicates whether the file attachment is a contact picture. |
Content | String | Contains the Base64-encoded contents of the file attachment. |