Kazpost™ Developers / API сервиса формирование электронной 103 формы

Сервис Формирование электронной 103 формы - Для интернет клиентов

WSDL тестового сервиса

http://rates.kazpost.kz/postratesws/postratesws.wsdl
Для получения электронной формы 103 необходимо отправить запрос на операцию getBarCodeNext указанный в WSDL модуля доставки.

Тело запроса операции getBarCodeNext:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pos="http://webservices.kazpost.kz/postratesws">
		       <soapenv:Header/>
    <soapenv:Body>
         <pos:GetBarCodeNextRequest>
            <pos:barCode></pos:barCode>
            <pos:product></pos:product>
            <pos:sendMethod></pos:sendMethod>
            <pos:mailCategory></pos:mailCategory>
         </pos:GetBarCodeNextRequest>
    </soapenv:Body>
</soapenv:Envelope>

Параметры запроса:
  • BarCode - Массив ШПИ в формате base64
  • Product - Продукт
  • SendMethod - Способ пересылки
  • MailCat - Категория отправления
  • Справочники параметров:

    Пример запроса:

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pos="http://webservices.kazpost.kz/postratesws">
    <soapenv:Header/>
      <soapenv:Body>
        <pos:GetBarCodeNextRequest>
            <pos:barCode>PE1BSUxTPg0KDQo8TUFJTD4NCjxCQVJDT0RFPkFQMDA5NjE5NTIwS1o8L0JBUkNPREU+DQo8L01BSUw+DQoNCjxNQUlMPg0KPEJBUkNPREU+QVAwMDk2MTk1MzNLWjwvQkFSQ09ERT4NCjwvTUFJTD4NCg0KPC9NQUlMUz4=</pos:barCode>
            <pos:product>P103</pos:product>
            <pos:sendMethod>1</pos:sendMethod>
            <pos:mailCategory>4</pos:mailCategory>
        </pos:GetBarCodeNextRequest>
      </soapenv:Body>
    </soapenv:Envelope>

    Ответ на запрос:

    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Header/>
      <SOAP-ENV:Body>
        <ns2:GetBarCodeNextResponse xmlns:ns2="http://webservices.kazpost.kz/postratesws">
          <ns2:Excell>0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAOwADAP7/CQAGAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAEAAAAgAAAAEAAAD+////AAAAAAEAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9SAG8AbwB0ACAARQBuAHQAcgB5AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFgAFAf//////////AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAABADQAAAAAAAFcAbwByAGsAYgBvAG8AawAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASAAIB////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP7////9/////v///wQAAAAFAAAABgAAAAcAAAAIAAAACQAAAP7/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAACAAAAAhAAAAIgAAACMAAAAkAAAAJQAAACYAAAAnAAAAKAAAACkAAAAqAAAAKwAAACwAAAAtAAAALgAAAC8AAAAwAAAAMQAAADIAAAAzAAAANAAAAP7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8JCBAAAAYFANMQzAdBAAAABgAAAOEAAgCwBMEAAgAAAOIAAABcAHAABAAAcm9vdCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEIAAgCwBGEBAgAAAD0BAgAAAJwAAgAOABkAAgAAABIAAgAAABMAAgAAAK8BAgAAALwBAgAAAD0AEgBoAQ4BXDq+IzgAAAAAAAEAWAJAAAIAAACNAAIAAAAiAAIAAAAOAAIAAQC3AQIAAADaAAIAAAAxABUAyAAAAP9/kAEAAAAAAAAFAEFyaWFsMQAVAMgAAAD/f5ABAAAAAAAABQBBcmlhbDEAFQDIAAAA/3+QAQAAAAAAAAUAQXJpYWwxABUAyAAAAP9/kAEAAAAAAAAFAEFyaWFsHgQaAAUAFQAAIiQiIywjIzBfKTsoIiQiIywjIzApHgQfAAYAGgAAIiQiIywjIzBfKTtbUmVkXSgiJCIjLCMjMCkeBCAABwAbAAAiJCIjLCMjMC4wMF8pOygiJCIjLCMjMC4wMCkeBCU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P0ACgAHAAQADwASAAAA/QAKAAcABQAPABMAAAD9AAoABwAGAA8AFAAAAP0ACgAHAAcADwAVAAAA/QAKAAcACAAPABYAAAD9AAoABwAJAA8AFwAAAP0ACgAHAAoADwAYAAAA/QAKAAcACwAPABkAAAD9AAoACAAAAA8AGgAAAP0ACgAIAAEADwAbAAAA/QAKAAgAAgAPABwAAAD9AAoACAADAA8AHQAAAP0ACgAIAAQADwAeAAAAAwIOAAgABQAPAAAAAAAAAAAAAwIOAAgABgAPAAAAAADgyCBBAwIOAAgABwAPAAAAAADgyCBBAQIGAAgACAAPAP0ACgAIAAkADwAfAAAAAQIGAAgACgAPAP0ACgAJAAAADwANAAAA/QAKAAkAAQAPABsAAAD9AAoACQACAA8AHAAAAP0ACgAJAAMADwAdAAAA/QAKAAkABAAPACAAAAADAg4ACQAFAA8AAAAAAAAAAAADAg4ACQAGAA8AAAAAAODIIEEDAg4ACQAHAA8AAAAAAODIIEEBAgYACQAIAA8A/QAKAAkACQAPAB8AAAABAgYACQAKAA8A1wAYAJQDAAC0ACAAHAA8ABwAHAAcABwAqACeAD4CEgC2BgAAAABAAAAAAAAAAAAAAAAdAA8AAwAAAAAAAAEAAAAAAAAACgAAAP///////////////////////////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==</ns2:Excell>
          <ns2:Id>81</ns2:Id>
          <ns2:ResponseInfo>
            <ns2:ResponseGenTime>2019-07-25T17:34:34.957+06:00</ns2:ResponseGenTime>
            <ns2:ResponseCode>0</ns2:ResponseCode>
            <ns2:ResponseText>success</ns2:ResponseText>
          </ns2:ResponseInfo>
        </ns2:GetBarCodeNextResponse>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Параметры ответа на запрос:
  • Excell - Excel файла в формате base64
  • Id - Id
  • ResponseGenTime - Время сформированного ответа
  • ResponseCode - Код ответа
  • ResponseText - Описание кода ответа

  • Примечание* - Данный материал находится на стадии разработки