hi,
We have a requirement where we need to upload file to API using CPI.
First i need to convert incoming json message to CSV then the CSV file should be uploaded in API.
Here in API file and subfolder should be created based on date and time stamp
for eg - this is the url : https://xxx.com/json/root/Misc
now i have to dynamically create folder of todays date and subfolder on timestamp and CSV file on mailid.
so i assume that the resulting url should be like - url : https://xxx.com/json/root/Misc/20201806/16162510/filename.csv as we have to upload the file in folder. Also i need to check if the date folder exist or not. If not then create else dont create .
So can we create folder and file name based on this logic - i mean will the file and folder will be created when uploading thru URL.
if so then how and also is there any other way by which i can achieve this.
Thanks