Jump to: navigation, search

GetAttachment

Purpose

This method is intended for delivering the binary content of a document. It is identical to GetDocument but with a different name. This is needed for PSDK because PSDK cannot have two messages with the same name, even in different services.

URL

  • GET /OMInteractions/GetAttachment/

Request

Parameters

Key ValueType Value Description Mandatory Unique Default
DocumentId String Unique document Id

Max. length: 16 characters

true true
IncludeBinaryContent String true or false If set to true, Content is returned. Otherwise, Content is not returned to save IO and memory consumption. false true true

Success

Parameters

Key ValueType Value Description Mandatory Unique Default
MimeType String true true
TheName String true true
Description String false true
TheSize Integer true true
Content Binary false true


Error

FaultCode FaultString Description
510 {0} not found in database Document with Id=(DocumentId) is not found in database

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on May 18, 2018, at 07:05.