Skip to content

/AWS1/CL_QQC=>STARTCONTENTUPLOAD()

About StartContentUpload

Get a URL to upload content to a knowledge base. To upload content, first make a PUT request to the returned URL with your file, making sure to include the required headers. Then use CreateContent to finalize the content creation process or UpdateContent to modify an existing resource. You can only upload content to a knowledge base of type CUSTOM.

Method Signature

IMPORTING

Required arguments:

IV_KNOWLEDGEBASEID TYPE /AWS1/QQCUUIDORARN /AWS1/QQCUUIDORARN

The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.

IV_CONTENTTYPE TYPE /AWS1/QQCCONTENTTYPE /AWS1/QQCCONTENTTYPE

The type of content to upload.

Optional arguments:

IV_PRESIGNEDURLTIMETOLIVE TYPE /AWS1/QQCTIMETOLIVE /AWS1/QQCTIMETOLIVE

The expected expiration time of the generated presigned URL, specified in minutes.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_QQCSTARTCONTUPLOADRSP /AWS1/CL_QQCSTARTCONTUPLOADRSP