Содержание

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


URL: components/Services/APIService.asmx

Метод: GetDocumentVersions

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

ПараметрОписание
ASPNETSessionIdИдентификатор сессии
documentIdИдентификатор документа
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetDocumentVersions>
         <tem:ASPNETSessionId>string</tem:ASPNETSessionId>
         <tem:documentId>string</tem:documentId>
      </tem: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://tempuri.org/">
         <GetDocumentVersionsResult>
            <DocumentVersionWrapper>
               <VersionId>string</VersionId>
               <VersionNumber>int</VersionNumber>
            </DocumentVersionWrapper>
         </GetDocumentVersionsResult>
      </GetDocumentVersionsResponse>
   </s:Body>
</s:Envelope>