FileService
Click here for a complete list of operations.
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
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /FileService.asmx HTTP/1.1
Host: files.rambase.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://files.rambase.net/DownloadFolder"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<DownloadFolder xmlns="https://files.rambase.net">
<authKey>string</authKey>
<folderDocid>string</folderDocid>
</DownloadFolder>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<DownloadFolderResponse xmlns="https://files.rambase.net">
<DownloadFolderResult>
<ContentType>string</ContentType>
<FileName>string</FileName>
<FileStreamData>base64Binary</FileStreamData>
<FileInfo>
<Author>string</Author>
<City>string</City>
<ContentType>string</ContentType>
<Country>string</Country>
<Created>string</Created>
<Date>dateTime</Date>
<DocRef>string</DocRef>
<DocType>string</DocType>
<Docid>string</Docid>
<Extension>string</Extension>
<FilFullDocid>string</FilFullDocid>
<FileName>string</FileName>
<FileSizeBytes>string</FileSizeBytes>
<FtpStorage>boolean</FtpStorage>
<HashCode>string</HashCode>
<Keywords>string</Keywords>
<LastRevisionDate>dateTime</LastRevisionDate>
<Name>string</Name>
<ReadAdmit>string</ReadAdmit>
<Status>string</Status>
<Subject>string</Subject>
<Version>string</Version>
<VersionDate>dateTime</VersionDate>
<VersionDescription>string</VersionDescription>
<VersionRef>string</VersionRef>
<VersionStatus>string</VersionStatus>
<VersionAuthor>string</VersionAuthor>
<VersionTime>string</VersionTime>
<WriteAdmit>string</WriteAdmit>
</FileInfo>
</DownloadFolderResult>
</DownloadFolderResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /FileService.asmx HTTP/1.1
Host: files.rambase.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<DownloadFolder xmlns="https://files.rambase.net">
<authKey>string</authKey>
<folderDocid>string</folderDocid>
</DownloadFolder>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<DownloadFolderResponse xmlns="https://files.rambase.net">
<DownloadFolderResult>
<ContentType>string</ContentType>
<FileName>string</FileName>
<FileStreamData>base64Binary</FileStreamData>
<FileInfo>
<Author>string</Author>
<City>string</City>
<ContentType>string</ContentType>
<Country>string</Country>
<Created>string</Created>
<Date>dateTime</Date>
<DocRef>string</DocRef>
<DocType>string</DocType>
<Docid>string</Docid>
<Extension>string</Extension>
<FilFullDocid>string</FilFullDocid>
<FileName>string</FileName>
<FileSizeBytes>string</FileSizeBytes>
<FtpStorage>boolean</FtpStorage>
<HashCode>string</HashCode>
<Keywords>string</Keywords>
<LastRevisionDate>dateTime</LastRevisionDate>
<Name>string</Name>
<ReadAdmit>string</ReadAdmit>
<Status>string</Status>
<Subject>string</Subject>
<Version>string</Version>
<VersionDate>dateTime</VersionDate>
<VersionDescription>string</VersionDescription>
<VersionRef>string</VersionRef>
<VersionStatus>string</VersionStatus>
<VersionAuthor>string</VersionAuthor>
<VersionTime>string</VersionTime>
<WriteAdmit>string</WriteAdmit>
</FileInfo>
</DownloadFolderResult>
</DownloadFolderResponse>
</soap12:Body>
</soap12:Envelope>