Метод: DownloadDocumentFile
| Параметр | Описание |
|---|---|
| ASPNETSessionId | Идентификатор сессии |
| documentId* | Идентификатор документа(карточки документа) |
| versionId | Идентификатор версии документа (указывается, если нужно скачать указанную версию документа) |
<?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> <DownloadDocumentFile xmlns="http://streamline/"> <ASPNETSessionId>string</ASPNETSessionId> <documentId>guid</documentId> <versionId>guid</versionId> </DownloadDocumentFile> </soap:Body> </soap:Envelope>
| Параметр | Описание |
|---|---|
| DownloadDocumentFileResult | Результат выполнения метода (успешно, либо нет с указанием причины) |
| DocumentId | Идентификатор документа (карточки документа) |
| DocumentName | Название карточки документа |
| version | |
| ID | Идентификатор версии документа |
| Number | Номер версии документа (цифра 1,2,3 и т.д.) |
| FileName | Название файла, который был загружен в качестве версии документа, с его расширением |
| ContentType* | Тип загружаемого файла |
| Body | Версия файла документа в кодировке base64 |
<?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> <DownloadDocumentFileResponse xmlns="http://streamline/"> <DownloadDocumentFileResult> <DocumentId>guid</DocumentId> <DocumentName>string</DocumentName> <Version> <Id>guid</Id> <Number>int</Number> <FileName>string</FileName> <ContentType>string</ContentType> <Body>base64Binary</Body> </Version> </DownloadDocumentFileResult> </DownloadDocumentFileResponse> </soap:Body> </soap:Envelope>