Содержание

Получение идентификатора последней версии документа


URL: components/Services/APIDocuments.asmx

Метод: GetDocumentVersions

Передаваемые параметры

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
documentIdИдентификатор документа
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:str="http://streamline/">
   <soapenv:Header/>
   <soapenv:Body>
      <str:GetDocumentVersions>
         <str:ASPNETSessionId>string</str:ASPNETSessionId>
         <str:documentId>string</str:documentId>
      </str:GetDocumentVersions>
   </soapenv:Body>
</soapenv:Envelope>

Возвращаемые параметры

ПараметрОписание
VersionIdИдентификатор версии документа
VersionNumberВерсия документа
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GetDocumentVersionsResponse xmlns="http://streamline/">
         <GetDocumentVersionsResult>
            <DocumentVersionWrapper>
               <VersionId>string</VersionId>
               <VersionNumber>int</VersionNumber>
            </DocumentVersionWrapper>
         </GetDocumentVersionsResult>
      </GetDocumentVersionsResponse>
   </s:Body>
</s:Envelope>