NumGetNumbersStatus

Возвращает статусы номеров в диапазоне номеров нумератора.

Запрос

POST /DocsVision/StorageServer/StorageServerService.asmx HTTP/1.1
Host: DOCSVISION_SERVER.COM
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schemas.docsvision.com/Platform/2009-02-03/StorageServer/NumGetNumbersStatus"

<?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>
    <NumGetNumbersStatus xmlns="http://schemas.docsvision.com/Platform/2009-02-03/StorageServer/">
      <sessionId>guid</sessionId>
      <numeratorId>guid</numeratorId>
      <zoneName>string</zoneName>
      <firstNumber>int</firstNumber>
      <lastNumber>int</lastNumber>
    </NumGetNumbersStatus>
  </soap:Body>
</soap:Envelope>
Параметры
sessionId

Идентификатор пользовательской сессии

numeratorId

Идентификатор нумератора

zoneName

Название зоны нумератора

firstNumber

Начальный номер проверяемого диапазона

lastNumber

Конечный номер диапазона

Ответ

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>
    <NumGetNumbersStatusResponse xmlns="http://schemas.docsvision.com/Platform/2009-02-03/StorageServer/">
      <cursorInfo>
        <ID>guid</ID>
        <PageCount>unsignedInt</PageCount>
        <RowCount>unsignedInt</RowCount>
        <FirstPage>string</FirstPage>
        <UsingCompression>boolean</UsingCompression>
      </cursorInfo>
    </NumGetNumbersStatusResponse>
  </soap:Body>
</soap:Envelope>
Ответ содержит номер нумератора и статус номера, который может иметь значение:
  • 0 — не занят.

  • 1 — занят.

  • 2 — зарезервирован.

  • 3 — не существует (выходит за пределы диапазона номеров зоны нумератора).