Получение идентификатора последней версии документа
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>