User Guide Data Administration File Upload and Download Utility Generating PAR URL for File Operations Generating PAR URL For File Download Calling the API to Generate PAR URL for File Download Using File ID 3.3.4.2.2 Calling the API to Generate PAR URL for File Download Using File ID To call the API, follow these steps: Open a relevant tool, such as via the cURL command. Prepare a cURL command with the authentication token and other details. For more information, refer to the following code. Syntax curl -k --location --request GET ' 'https://<hostname>/<TENANT-ID> /utils-service/v1/file/downloadfile/<file id>' \ --header 'ofs_remote_user: <userid>' \ --header 'locale: en-US' \ --header 'ofs_tenant_id: < TENANT-ID> ' \ --header 'ofs_workspace_id: WS001' \ --header "Authorization: Bearer <TOKEN>" Example curl -k --location --request GET 'https://<hostname>/<TENANT-ID>/utils-service/v1/file/downloadfile/9916' \ --header 'ofs_remote_user: cneadmin' \ --header 'locale: en-US' \ --header 'ofs_tenant_id: aaitestdev1001-prd' \ --header 'ofs_workspace_id: WS001' \ --header "Authorization: Bearer ${TOKEN}" Response{"payload":{"downloadURL":"https://objectstorage.us-phoenix-1.oraclecloud.com/p/gTxxzhqLEea4Or2TRkBqTqHxt_JogVFa9G_0wtN8NYy_op0Zk4lvKGDxxeXGhLq7/n/oraclegbudevcorp/b/fsgbu_pbsm_cndevcorp_aaitestdev1001-prd_default/o/default/2023-01-31/fae/2d63d2fe-2090-4fb7-a4c8-9940d22987db?httpResponseContentDisposition=ATTACHMENT%3B%20filename%3DIdcs_log3.txt"}}