4.1.2.2 Response JSON Parameters

This section provides the list of parameters in the JSON Response.

Table 4-2 POST JSON Response

Name Type Description
code STRING

The Status Code.

The following is the list with details:

  • DS0000 - Success
  • DS0002- Service Not Found
  • DS0003 - Invalid JSON
  • DS0004 - Request Body is empty
  • DS0005 - File Name cannot be empty
  • DS0006 - File name [{0}] length cannot be greater than 255 characters
  • DS0007 - MIME type cannot be empty for {0}
  • DS0008 - Invalid MIME type specified for {0}. Supported MIME types : {1}
  • DS0009 - File size not specified for {0}
  • DS0010 - File size should be greater than 1B and less than 7GB for {0}
  • DS0012 - File {0} must start with an alphanumeric character and allowed characters in file name are alphanumeric characters, hyphen(-), dot(.), underscore(_)")
fileName STRING The name of the file to be uploaded.
uploadURL STRING The generated pre-authenticated URL to upload a file.
fileId INTEGER The unique File Identifier.

Response JSON Sample

{
"code": "DS0000",
"body": {
"success": [{
"filename": "File.csv",
"uploadURL":
        "https://objectstorage.us-phoenix-1.oraclecloud.com/p/t7iU0y7009NXbFpXozqB5EJKvUv25VfzoK1j8e3yK_GgfHHeW9sCcWMdMI_IVRg4/n/oraclegbudevcorp/b/fsgbu_fsafnd_cndevcorp_h3ofin-prd_default/o/default/ett/wti/335fbbef-e160-4825-8974-3bf957c6dc00",
"fileId": 34034
}, {
"filename": "File1.csv",
"uploadURL":
        "https://objectstorage.us-phoenix-1.oraclecloud.com/p/e0xuvdJw6zSFF00hO-I1kwgko624ouF5CNevjTpWMSYpK3180CYJ4Xhkpx4P33cp/n/oraclegbudevcorp/b/fsgbu_fsafnd_cndevcorp_h3ofin-prd_default/o/default/asg/seo/f4ed02e4-581d-46a7-8ebc-c101261eeaf9",
"fileId": 34033
}],"failed": []
}
}