FileService
Click here for a complete list of operations.
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
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/GetFileInfo"
<?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>
<GetFileInfo xmlns="https://files.rambase.net">
<authKey>string</authKey>
<fullDocid>string</fullDocid>
</GetFileInfo>
</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>
<GetFileInfoResponse xmlns="https://files.rambase.net">
<GetFileInfoResult>
<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>
</GetFileInfoResult>
</GetFileInfoResponse>
</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>
<GetFileInfo xmlns="https://files.rambase.net">
<authKey>string</authKey>
<fullDocid>string</fullDocid>
</GetFileInfo>
</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>
<GetFileInfoResponse xmlns="https://files.rambase.net">
<GetFileInfoResult>
<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>
</GetFileInfoResult>
</GetFileInfoResponse>
</soap12:Body>
</soap12:Envelope>