public KalturaBulkUpload Add(int conversionProfileId, FileStream csvFileData, KalturaBulkUploadType bulkUploadType, string uploadedBy) { KalturaParams kparams = new KalturaParams(); kparams.AddIntIfNotNull("conversionProfileId", conversionProfileId); KalturaFiles kfiles = new KalturaFiles(); kfiles.Add("csvFileData", csvFileData); kparams.AddStringEnumIfNotNull("bulkUploadType", bulkUploadType); kparams.AddStringIfNotNull("uploadedBy", uploadedBy); _Client.QueueServiceCall("bulkupload", "add", kparams, kfiles); if (this._Client.IsMultiRequest) { return(null); } XmlElement result = _Client.DoQueue(); return((KalturaBulkUpload)KalturaObjectFactory.Create(result)); }
public KalturaBulkUpload Add(int conversionProfileId, FileStream csvFileData, KalturaBulkUploadType bulkUploadType) { return(this.Add(conversionProfileId, csvFileData, bulkUploadType, null)); }