The method is used for collecting information on a parcel from the Meest Polska system After correctly creating a parcel, it has a set of data of the recipient, collection point, value and items. It also has a link to print customs documents
Method name:
public ParcelApiBean findParcelById(Long idParcel, String apiKey) throws MeestException;
Example of use:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:log="http://logic.meestgroup.com/"> <soapenv:Header/> <soapenv:Body> <log:findParcelById> <!--Optional:--> <arg0>parcelId</arg0> <!--Optional:--> <arg1>parterApiKey</arg1> </log:findParcelById> </soapenv:Body> </soapenv:Envelope> Response: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:findParcelByIdResponse xmlns:ns2="http://logic.meestgroup.com/"> <return> <barCode>CVxxxxxxxxPL</barCode> <deliveryDate>2017-04-18T08:37:45.453+02:00</deliveryDate> <deliveryNumber/> <idParcel>xxxxxx</idParcel> <parcelNumber>CVxxxxxxxxPL</parcelNumber> <parcelNumberInternal>parcel</parcelNumberInternal> <parcelPositionApiBeans> <count>10.0</count> <countryCode>CN</countryCode> <customCode>84713000</customCode> <name>Планшетный ПК ASUS Fonepad 7 (FE170CG-1A017A) 3G Black</name> <nameUk>Tablet ASUS FE170CG Z2520/7"/1GB/8GB/3G/GPS/BT/Android 4.3</nameUk> <productEan>000342273448794</productEan> <productSize>XXL</productSize> <value>10.0</value> <valueUah>120.0</valueUah> <weight>10.0</weight> </parcelPositionApiBeans> <parcelPositionApiBeans> <count>10.0</count> <countryCode>CN</countryCode> <customCode>84713000</customCode> <name>Планшетный ПК ASUS Fonepad 7 (FE170CG-1A017A) 3G Black</name> <nameUk>Tablet ASUS FE170CG Z2520/7"/1GB/8GB/3G/GPS/BT/Android 4.3</nameUk> <productEan>000342273448794</productEan> <productSize>XXL</productSize> <value>100.0</value> <valueUah>120.0</valueUah> <weight>2.0</weight> </parcelPositionApiBeans> <receiverEmail>ma1il.mil@gmail.com</receiverEmail> <receiverName>reciver</receiverName> <recipentAddress> <apartment/> <city>city</city> <cityIdRef>0xb11200215aee3ebe11df749b62c3d54a</cityIdRef> <country>Украина</country> <district>city</district> <house>147</house> <name>odbiorca</name> <phone>12321312</phone> <postCode/> <postOffice>Львов</postOffice> <street>Зелена</street> <streetIdRef>0x9b3700215aee3ebe11dfe0d3da9108ea</streetIdRef> </recipentAddress> <summaCodEur>140.0</summaCodEur> <summaCodUah>120.0</summaCodUah> <value>120.93</value> <weight>13.0</weight> <zaUa>00193668</zaUa> </return> </ns2:findParcelByIdResponse> </soap:Body> </soap:Envelope>