FileService
The following operations are supported. For a formal definition, please review the Service Description.
-
DeleteFile
Delete file from Rambase
Use this method to delete a file from RamBase. Only files is status New, Edit, Test or Error can be deleted.
- authKey = authentification key obtained from Login.Rambase.Net
- fullDocid = RamBase FIL DOCID with database
-
DownloadFile
Download file from RamBase
- authKey = authentification key obtained from Login.Rambase.Net
- fullDocid = RamBase FIL DOCID with database
- hashCode = hashcode to the fileAutomatically stamps Office documents.
-
DownloadFiles
Download files from RamBase
- authKey = authentification key obtained from Login.Rambase.Net
- fullDocids = Comma separated list of RamBase FIL DOCID with database
- hashCodes = Comma separated list of hashcodes -
DownloadFolder
Download all files from a folder from RamBase
- authKey = authentification key obtained from Login.Rambase.Net
- folderDocid = Docid from a FMS folder, eg: JHC-NO:FMS/123456-1
-
GetFileInfo
Obtain single file information from Rambase
Use this method to get information on a certain file from RamBase.
- authKey = authentification key obtained from Login.Rambase.Net
- fullDocid = RamBase FIL DOCID with database
-
GetFilesInfo
Obtain files information from Rambase
Use this method to get a list of files from RamBase, by searching on various filters.
- authKey = authentification key obtained from Login.Rambase.Net
- db = database to search in
- tableFilter = table filter
- table5Filter = table 5 filter
- main filter = main filter
- handle = handle
-
MakeEditVersion
Make an Edit version of a file in Rambase
- authKey = authentification key obtained from Login.Rambase.Net
- fullDocid = RamBase FIL DOCID with database
- newVerDescr = version description for the file
-
MakeMainVersion
Make an Main version of a file in Rambase
Main version of a file can be created from Test version only.
- authKey = authentification key obtained from Login.Rambase.Net
- fullDocid = RamBase FIL DOCID with database
- newVerDescr = version description for the file
-
MakeNewVersion
Create new fil structure in Rambase
- authKey = authentification key obtained from Login.Rambase.Net
- db = database where the new fil structure should be created
- verDescr = RamBase FIL VerDescr
- subject = RamBase FIL Subject
- docRef = RamBase FIL DocRef
- docRefTable = RamBase FIL DocRefTable
- module = RamBase FIL Module
- revision = RamBase FIL Revision
- sortPrio = RamBase FIL SortPrio
- additional = RamBase FIL Additional
- readAdmit = RamBase FIL ReadAdmit
- writeAdmit = RamBase FIL WriteAdmit
- readPerAdmit = RamBase FIL ReadPerAdmit
- writePerAdmit = RamBase FIL WritePerASdmit
-
MakeObsoleteVersion
Make an obsolete version of a file in Rambase
Obsolete version of a file can be created from Main version only.
- authKey = authentification key obtained from Login.Rambase.Net
- fullDocid = RamBase FIL DOCID with database
- newVerDescr = version description for the file
-
MakeTestVersion
Make a Test version of a file in Rambase
Test version of a file can be created from Edit version only.
- authKey = authentification key obtained from Login.Rambase.Net
- fullDocid = RamBase FIL DOCID with database
- newVerDescr = version description for the file
-
UploadFile
Upload file to RamBase
- authKey = authentification key obtained from Login.Rambase.Net
- fileStream = file data as array of bytes
- fileName = file name
- fullDocid = RamBase FIL DOCID with database
- status = RamBase FIL Status
- subject = RamBase FIL Subject
- docRef = RamBase FIL DocRef
- docRefTable = RamBase FIL DocRefTable
- module = RamBase FIL Module
- verDescr = RamBase FIL VerDescr
- revision = RamBase FIL Revision
- sortPrio = RamBase FIL SortPrio
- additional = RamBase FIL Additional
- readAdmit = RamBase FIL ReadAdmit
- writeAdmit = RamBase FIL WriteAdmit
- readPerAdmit = RamBase FIL ReadPerAdmit
- writePerAdmit = RamBase FIL WritePerASdmit
(note: when uploading to an already existing FIL, use the '<blank>' value to set a parameter to empty)