Hi There,
I need some help on finding API for uploading a CSV file to IDM from External system, currently I'm using api/items API to upload the file, However, it's only creating an Icon of the file in IDM but not the whole file. Below is the JSON data which I'm providing to API and I'm testing it from Postman. Also, In JSON I can only give the details of the file but, where do provide the actual file payload? I see that there is an option for BINARY where I can upload the file but with POST request I can only use either RAW or BINARY.
{
"item": {
"attrs": {
"attr": [
{
"name": "Upload_Id",
"value": "TLLU52381532_OV.csv"
}
]
},
"resrs": {
"res": [
{
"filename": "TLLU52381532_OV.csv",
"base64": "Y29udGVudCBoZXJlLg=="
}
]
},
"acl": {
"name": "Public"
},
"entityName": "ASN_Upload"
}
}
Thank you in advance for your help.