New API endpoint for Application files management

A new endpoint has been added specifically for managing application files. Instead of uploading files within the Application body, a new endpoint for file uploads should be used. Here is the endpoint for uploading files:

Upon successful upload, the API will return the ID of the uploaded file, which can be utilized for creating or updating an application further.

Please note that for POST/PUT application instead of using the “fileName” and “fileBody” parameters, you should now specify the “fileId” parameter from the response of the new file upload method.

Before:

POST/PUT Application

				
					"businessDetailsDocuments": {
   "registrationCertificate": {
      "fileName": "string",
      "fileBody": "string"
   },
   ...
}
				
			

Now:

POST/PUT Application

				
					"businessDetailsDocuments": {
   "registrationCertificate": {
      "fileId": "{fileId}"
   },
   ...
}
				
			

The response of the Get application method has also been modified:

Before:

GET Application

				
					"businessDetailsDocuments": {
   "registrationCertificate": {
      "fileName": "string",
      "fileBody": "string"
   },
   ...
}
				
			

Now:

GET Application

				
					"businessDetailsDocuments": {
   "registrationCertificate": {
      "fileName": "string",
      "fileUrl": "string",
      "fileId": "{fileId}"
   },
   ...
}
				
			

Please refer to our developer portal for more information about the new file management endpoint and the changes in the existing GET/POST/PUT application endpoints