Skip to main content
Get Unsanitized Preview Attachment From Doc Id

Headers

Accept-Language
string

Convert string references and multi-language values into a specified language (iso2) code.

SO-Language
string

Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.

SO-Culture
string

Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.

SO-TimeZone
string

Specify the timezone code that you would like date/time responses converted to.

SO-AppToken
string

The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Query Parameters

$select
string

Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.

Body

DocId, AttachmentId

GetUnsanitizedPreviewAttachmentFromDocId: Retrieve an attachment from an e-mail stored in the document archive. The returned data is intended to be use for a preview. The returned data is not sanitized.

DocId
integer<int32>
AttachmentId
string

Response

OK

Information about an attachment Carrier object for EMailAttachment. Services for the EMailAttachment Carrier is available from the EMail Agent.

Description
string

Name/description

Filename
string

Filename

Size
integer<int32>

Size of attachment

Type
string

Attachment Content-Type

Encoding
string

Content-Transfer-Encoding

Id
string

Content-ID

Disposition
string

Content-Disposition

IsSafeFileExtension
boolean

If the user should be allowed to download and perform other actions on the attachment.

Stream
string<byte>

Binary stream for outgoing attachments. This property will not be populated for existing e-mail items.

TableRight
object

Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.

FieldProperties
object

Field property dictionary mapping field names to field access rights.