SdoWebServices


Для получения полного списка операций щелкните здесь.

SendAll

Масове відправлення.
Идентификатор пользователя: підписаний/непідписаний ЕДРПОУ+код філії, масив[ім'я файлу,блок данних].
Відповідь: результат обробки(успішно або виконано з помилками або критична помилка), масив з не успішними відповідями[ім'я файлу, код з TZPMonRes, текст помилки].
signedId - EDRPOU + @ + DEPT
messageOut - Масив отправляемых сообщений
result - Масив результата обработки сообщений

Тест

Форма для тестирования доступна только для запросов от локальных компьютеров.

SOAP 1.1

В следующем примере показаны запрос и ответ SOAP 1.1. Вместо элементов-заполнителей следует подставить фактические значения.

POST /zvitpost3/sdoweb.asmx HTTP/1.1
Host: docflow.ezvit.com.ua
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://localhost/SendAll"

<?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>
    <SendAll xmlns="http://localhost">
      <signedId>base64Binary</signedId>
      <messagesOut>
        <Message>
          <FileName>string</FileName>
          <Body>base64Binary</Body>
        </Message>
        <Message>
          <FileName>string</FileName>
          <Body>base64Binary</Body>
        </Message>
      </messagesOut>
    </SendAll>
  </soap:Body>
</soap:Envelope>
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>
    <SendAllResponse xmlns="http://localhost">
      <SendAllResult>int</SendAllResult>
      <result>
        <SendResult>
          <fileName>string</fileName>
          <Result>ResOk or ResNoInfo or ResInvData or ResDifTrCert or ResNoSign or ResParseSignFailed or ResIdTrCrtp or ResAbsMXML or ResEmptyMessage or ResNoMsg or ResSndNoReg or ResRcpNoReg or ResPresent or ResSign or ResInternal or ResSelf or ResDocNoKvt or ResDocKvcnf or ResInvClient or ResInvClVer or ResErrSdoEdrpou or ResInvSignUsId or ResDifIdCert or ResDifIdTr or ResOtherRcp or ResOtherSnd or ResNoSignId or ResErrCreatUser or ResNoSndRcp or ResMsgSzLim or ResNoNeedParam or ResExpNotif or ResTmplLimit or ResTmplBusy or ResTmplExist or ResTmplAccess or ResTmplCCodeEmpt or ResNoCrypt or ResTmplCharCodeSym or ResTmplDocNameLen or ResTmplGuidEmpt or ResDocFreeLimEnd or ResDocFreeEnds or ResDocFreeLast or ResDocFreeFirst or ResDifTrXml or ResVerOld or ResBillSendEnd or ResBillSendLim or ResBillSendLast or ResBillSendOne or ResBadRequest or ResNoAccessIp</Result>
          <textError>string</textError>
          <VerData>long</VerData>
        </SendResult>
        <SendResult>
          <fileName>string</fileName>
          <Result>ResOk or ResNoInfo or ResInvData or ResDifTrCert or ResNoSign or ResParseSignFailed or ResIdTrCrtp or ResAbsMXML or ResEmptyMessage or ResNoMsg or ResSndNoReg or ResRcpNoReg or ResPresent or ResSign or ResInternal or ResSelf or ResDocNoKvt or ResDocKvcnf or ResInvClient or ResInvClVer or ResErrSdoEdrpou or ResInvSignUsId or ResDifIdCert or ResDifIdTr or ResOtherRcp or ResOtherSnd or ResNoSignId or ResErrCreatUser or ResNoSndRcp or ResMsgSzLim or ResNoNeedParam or ResExpNotif or ResTmplLimit or ResTmplBusy or ResTmplExist or ResTmplAccess or ResTmplCCodeEmpt or ResNoCrypt or ResTmplCharCodeSym or ResTmplDocNameLen or ResTmplGuidEmpt or ResDocFreeLimEnd or ResDocFreeEnds or ResDocFreeLast or ResDocFreeFirst or ResDifTrXml or ResVerOld or ResBillSendEnd or ResBillSendLim or ResBillSendLast or ResBillSendOne or ResBadRequest or ResNoAccessIp</Result>
          <textError>string</textError>
          <VerData>long</VerData>
        </SendResult>
      </result>
    </SendAllResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

В следующем примере показаны запрос и ответ SOAP 1,2. Вместо элементов-заполнителей следует подставить фактические значения.

POST /zvitpost3/sdoweb.asmx HTTP/1.1
Host: docflow.ezvit.com.ua
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendAll xmlns="http://localhost">
      <signedId>base64Binary</signedId>
      <messagesOut>
        <Message>
          <FileName>string</FileName>
          <Body>base64Binary</Body>
        </Message>
        <Message>
          <FileName>string</FileName>
          <Body>base64Binary</Body>
        </Message>
      </messagesOut>
    </SendAll>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SendAllResponse xmlns="http://localhost">
      <SendAllResult>int</SendAllResult>
      <result>
        <SendResult>
          <fileName>string</fileName>
          <Result>ResOk or ResNoInfo or ResInvData or ResDifTrCert or ResNoSign or ResParseSignFailed or ResIdTrCrtp or ResAbsMXML or ResEmptyMessage or ResNoMsg or ResSndNoReg or ResRcpNoReg or ResPresent or ResSign or ResInternal or ResSelf or ResDocNoKvt or ResDocKvcnf or ResInvClient or ResInvClVer or ResErrSdoEdrpou or ResInvSignUsId or ResDifIdCert or ResDifIdTr or ResOtherRcp or ResOtherSnd or ResNoSignId or ResErrCreatUser or ResNoSndRcp or ResMsgSzLim or ResNoNeedParam or ResExpNotif or ResTmplLimit or ResTmplBusy or ResTmplExist or ResTmplAccess or ResTmplCCodeEmpt or ResNoCrypt or ResTmplCharCodeSym or ResTmplDocNameLen or ResTmplGuidEmpt or ResDocFreeLimEnd or ResDocFreeEnds or ResDocFreeLast or ResDocFreeFirst or ResDifTrXml or ResVerOld or ResBillSendEnd or ResBillSendLim or ResBillSendLast or ResBillSendOne or ResBadRequest or ResNoAccessIp</Result>
          <textError>string</textError>
          <VerData>long</VerData>
        </SendResult>
        <SendResult>
          <fileName>string</fileName>
          <Result>ResOk or ResNoInfo or ResInvData or ResDifTrCert or ResNoSign or ResParseSignFailed or ResIdTrCrtp or ResAbsMXML or ResEmptyMessage or ResNoMsg or ResSndNoReg or ResRcpNoReg or ResPresent or ResSign or ResInternal or ResSelf or ResDocNoKvt or ResDocKvcnf or ResInvClient or ResInvClVer or ResErrSdoEdrpou or ResInvSignUsId or ResDifIdCert or ResDifIdTr or ResOtherRcp or ResOtherSnd or ResNoSignId or ResErrCreatUser or ResNoSndRcp or ResMsgSzLim or ResNoNeedParam or ResExpNotif or ResTmplLimit or ResTmplBusy or ResTmplExist or ResTmplAccess or ResTmplCCodeEmpt or ResNoCrypt or ResTmplCharCodeSym or ResTmplDocNameLen or ResTmplGuidEmpt or ResDocFreeLimEnd or ResDocFreeEnds or ResDocFreeLast or ResDocFreeFirst or ResDifTrXml or ResVerOld or ResBillSendEnd or ResBillSendLim or ResBillSendLast or ResBillSendOne or ResBadRequest or ResNoAccessIp</Result>
          <textError>string</textError>
          <VerData>long</VerData>
        </SendResult>
      </result>
    </SendAllResponse>
  </soap12:Body>
</soap12:Envelope>