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 Name 3.3.4.2.1 Calling the API to Generate PAR URL for File Download Using File Name To call the API: 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/download?fileName=<file name>&stripeName=default&prefix=' \ --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/download?fileName=test3GB.xml&stripeName=default&prefix=' \ --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/8R68eVcQAxQjNjK__S04MZjS-v4BqEbWSILvu0w40kJNrzfKeCB8vWBwugW5XvsK/n/oraclegbudevcorp/b/fsgbu_pbsm_cndevcorp_aaitestdev1001-prd_default/o/default/2023-01-20/rnz/6c023e75-09e2-4265-815e-32cedcd2415e?httpResponseContentDisposition=ATTACHMENT%3B%20filename%3Dtest3GB.xml"}}