E
E
EXEtrimALL2015-01-26 23:23:56
API
EXEtrimALL, 2015-01-26 23:23:56

How to get information about cash on delivery postal order via API?

The WSDL Parcel Tracking API has a new method "PostalOrderEventsForMail":

<operation name="PostalOrderEventsForMail">
  <documentation>Метод получения данных о наложенном платеже. </documentation>
  <input name="Request" message="tns:PostalOrderEventsForMailInput"/>
  <output name="Response" message="tns:PostalOrderEventsForMaiOutput"/>
  <fault name="Fault" message="tns:PostalOrderEventsForMailFault"/>
</operation>

Judging by the description, it should give out information similar to the "Information on the postal order of cash on delivery" sign on the tracking page (track example: 12757669033751), but it's not at all clear which variables and in what form to pass to this method.
Maybe someone is aware of this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
cane, 2015-03-29
@cane

in theory so

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:data="http://russianpost.org/operationhistory/data" xmlns:data1="http://www.russianpost.org/RTM/DataExchangeESPP/Data">
   <soapenv:Header>
      <data:AuthorizationHeader soapenv:mustUnderstand="1">
         <data:login>?</data:login>
         <data:password>?</data:password>
      </data:AuthorizationHeader>
   </soapenv:Header>
   <soapenv:Body>
      <data1:PostalOrderEventsForMailInput Barcode="?" Language="RUS"/>
   </soapenv:Body>
</soapenv:Envelope>

but the server keeps responding Error getting ESPP data

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question