Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Filter inputs

NameTypeDescriptionMandatoryAvailable from version
OwnerGuidThe owner of the file in the system  
FileNamestringThe name of the file in the BFS  
ContentTypestringThe content type of the uploaded fil (eg "application/pdf")  
PermissionEnumFilePermission.All / FilePermission.AdminOnly / FilePermission.AdminPartner  
fileBytesbyte[]Array of bytes containing the file  

 

Code examples

C# example
FileInfoUpload oFileInfo = new FileInfoUpload
            {
                ContentType = "application/pd",
                fileBytes = data, //array of bytes
                FileName = "test.pdf",
                Owner = new Guid("5b32b92-a7c4-4ce9-f5cb-451ab37faa12"),
                Permission = FilePermission.All
            };

 

Blog Posts

  • No labels