"NEILON__Bucket_Name__c":"testdemos3link",
"NEILON__Amazon_File_Key__c":"Accounts/Greenwich Media/4.jpg",
"NEILON__Size__c":563425,
"NEILON__Account__c":"0012v00002BaKVjAAN"
}
]
● Limitations
○ File name and folder names you are passing in the NEILON__Amazon_File_Key__c
cannot contain special characters ? and /
○ File name and folder names you are passing in the NEILON__Amazon_File_Key__c must
not exceed 80 characters.
● Response Elements
If the action is successful, the service sends back an HTTP 200 response. In the response, you will
get a JSON of the list of NEILON__File__c records created in Salesforce.
● Sample CURL
Here is a sample CURL for this action.
curl
"https://s3linktestorg-dev-ed.my.salesforce.com/services/apexrest/NEILON/S3Link/v1/creates3fi
les/" -H "Authorization: Bearer
00D28000001F3JL!ARUAQD9_gSnqoLyMhpEhihfW0ajibDXDjUO6MFYFAMF0zBsX7uku5KT8UP11t
4J.I5Y9Zp2zYFMSUi8_BSVTLFptfW14gNLP" -H "X-PrettyPrint: 1" -H "Content-type:
application/json" -d @C://FilesData.txt
● Sample CURL Response
Here is a sample CURL response for this action.
{"status":"OK","message":null,"data":"[{\"attributes\":{\"type\":\"NEILON__File__c\",\"url\":\"/s
ervices/data/v48.0/sobjects/NEILON__File__c/a090I00001NKSkEQAX\"},\"NEILON__Amazon_Fil
e_Key__c\":\"Accounts/Greenwich
Media/4.jpg\",\"NEILON__Bucket_Name__c\":\"testdemos3link\",\"NEILON__Size__c\":2045.0,
\"NEILON__Access_Type__c\":\"Public Download
Only\",\"NEILON__Category__c\":\"Whitepapers\",\"NEILON__Presigned_URL_Frequency__c\":
\"Every
Week\",\"Name\":\"4.jpg\",\"NEILON__Bucket_Region__c\":\"us-west-2\",\"NEILON__Extensio
n__c\":\".jpg\",\"NEILON__Folder__c\":\"a0P0I00001KJccBUAT\",\"Id\":\"a090I00001NKSkEQAX
\"}]","code":"200"}
© Neilon Technologies LLP. All rights reserved.