/AWS1/CL_CNT=>GETATTACHEDFILE()
¶
About GetAttachedFile¶
Provides a pre-signed URL for download of an approved attached file. This API also returns
metadata about the attached file. It will only return a downloadURL if the status of the attached
file is APPROVED
.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_INSTANCEID
TYPE /AWS1/CNTINSTANCEID
/AWS1/CNTINSTANCEID
¶
The unique identifier of the Connect instance.
IV_FILEID
TYPE /AWS1/CNTFILEID
/AWS1/CNTFILEID
¶
The unique identifier of the attached file resource.
IV_ASSOCIATEDRESOURCEARN
TYPE /AWS1/CNTARN
/AWS1/CNTARN
¶
The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.
This value must be a valid ARN.
Optional arguments:¶
IV_URLEXPIRYINSECONDS
TYPE /AWS1/CNTURLEXPIRYINSECONDS
/AWS1/CNTURLEXPIRYINSECONDS
¶
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.