Skip to content

/AWS1/CL_BDZGETDOCCONTENTRSP

GetDocumentContentResponse

CONSTRUCTOR

IMPORTING

Required arguments:

iv_mimetype TYPE /AWS1/BDZSTRING /AWS1/BDZSTRING

The MIME type of the document content. For RAW format, this is the original file type (for example, application/pdf). For EXTRACTED format, this is always application/json.

iv_presignedurl TYPE /AWS1/BDZPRESIGNEDURL /AWS1/BDZPRESIGNEDURL

A pre-signed URL for downloading the document content. The URL expires after 5 minutes.

Optional arguments:

iv_documentcontentlength TYPE /AWS1/BDZLONG /AWS1/BDZLONG

The size of the document content in bytes available at the pre-signed URL.


Queryable Attributes

mimeType

The MIME type of the document content. For RAW format, this is the original file type (for example, application/pdf). For EXTRACTED format, this is always application/json.

Accessible with the following methods

Method Description
GET_MIMETYPE() Getter for MIMETYPE, with configurable default
ASK_MIMETYPE() Getter for MIMETYPE w/ exceptions if field has no value
HAS_MIMETYPE() Determine if MIMETYPE has a value

presignedUrl

A pre-signed URL for downloading the document content. The URL expires after 5 minutes.

Accessible with the following methods

Method Description
GET_PRESIGNEDURL() Getter for PRESIGNEDURL, with configurable default
ASK_PRESIGNEDURL() Getter for PRESIGNEDURL w/ exceptions if field has no value
HAS_PRESIGNEDURL() Determine if PRESIGNEDURL has a value

documentContentLength

The size of the document content in bytes available at the pre-signed URL.

Accessible with the following methods

Method Description
GET_DOCUMENTCONTENTLENGTH() Getter for DOCUMENTCONTENTLENGTH, with configurable default
ASK_DOCUMENTCONTENTLENGTH() Getter for DOCUMENTCONTENTLENGTH w/ exceptions if field has
HAS_DOCUMENTCONTENTLENGTH() Determine if DOCUMENTCONTENTLENGTH has a value