Path: / API / queryRuntimeAPI / getAttachmentValue

Gets the content of an attachment instance as a byte array. This method is the only way to retrieve an attachment content from an attachment instance.


Method Summary
ResourceDescription
POST /API/queryRuntimeAPI/getAttachmentValueGets the content of an attachment instance as a byte array.

Method Detail
HTTP Example:
POST /API/queryRuntimeAPI/getAttachmentValue

attachmentInstance=&options=
API Example:

AbstractRemoteQueryRuntimeAPI.getAttachmentValue({'attachmentInstance': /* attachmentInstance the attachment instance */,
  'options': /* options the options map (domain, queyList, user) */});

Gets the content of an attachment instance as a byte array. This method is the only way to retrieve an attachment content from an attachment instance.

Output:
byte[] - the content of an attachment instance
Form parameters:
attachmentInstance - the attachment instance
options - the options map (domain, queyList, user)
Produces:
text/*
application/xml
Consumes:
application/x-www-form-urlencoded
text/*
application/xml