...
Field name | Field type | Required | Description |
---|---|---|---|
idReturn | Long | N | Identyfikator zwrotu |
idParcel | Long | Y | Identyfikator paczki w systemie Meest Polska |
dispatchNumber | String | Y/N | Opis błędu lub komunikat o poprawnie wykonanej operacji |
receiverAddress | AddressesEvidenceApiBean | N | Link do pobrania dokumentów celnych. |
receiverName | String | Y | Nazwa odbiorcy |
parcelBarCode | String | Y | BarCode przesyłki |
parcelNumber | String | Y | Numer przesyłki w systemie partnera |
returnsNumber | String | Y | Numer zwrotu |
createDate | Date | Y | Data utworzenia |
parcelWeight | Double | Y | Waga przesyłki |
parcelPrice | Double | Y | Cena przesyłki |
parcelValue | Double | Y | Cena przesyłki EUR |
returnsStatus | ReturnsStatusEnum | Y | Possible values: ACCEPTED, REJECTED |
returnsType | ReturnsTypeEnum | Y | Possible values: FULL, PARTIAL |
returnsReason | ReturnsReasonEnum | Y | Possible values: NOT_DELIVERED, COMPLAINT, OTHER |
returnsDetails | String | N | Detail for othertype return |
moneyTransferType | MoneyTransferTypeEnum | Y | CARD_ADMISSION POSTAL_MONEY_TRANSFER BANK_MONEY_TRANSFER |
parcelInternalNumber | String | Y | Wewnętrzny numer paczki |
passportPlaceDate | String | N |
|
passportSeries | String | N | Seria paszportu |
passportNumber | String | N | Numer paszportu |
clientCode | String | N | Kod klienta |
processDataAcceptation | String | Y | Zgoda na przetwarzanie danych osobowych |
returnsDate | Date | Y | Data zwrotu |
weight | Double | Y | Waga |
valueEur | Double | Y | Wartość zwrotu w EUR |
valueUah | Double | Y | Wartość zwrotu w UAH |
valueWords | String | N | Wartość zwrotu słownie |
notes | String | N | Notatki |
phoneNumber | String | Y | Numer telefonu |
bankCard | String | N | Numer konta bankowego |
taxNumber | String | N | Kwota podatku |
returnPositions | ArrayList<ReturnsPositionApiBean> | Y | Lista pozycji zwrotu |
checkDeliveryCosts | Boolean | N | Uwzględnienie kosztów dostaw |
- Service Response ReturnResultApiBean
Field name | Field type | Required | Description |
---|---|---|---|
idReturn | Long | N | Unique return identifier |
apiStatusEnum | ApiStatusEnum | Y | Result of method call. Possible values: OK, ERROR, VALIDATION_ERROR |
errorDescription | String | Y/N | Description of error for status of error or validation |
returnNumber | String | N | Unique return number |
Code Block | ||||
---|---|---|---|---|
| ||||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:log="http://logic.meestgroup.com/">
<soapenv:Header/>
<soapenv:Body>
<log:createReturn>
<arg0>
<bankCard>20394092834</bankCard>
<clientCode>1000</clientCode>
<dispatchNumber>?</dispatchNumber>
<createDate>2020-06-11</createDate>
<idParcel>451435</idParcel>
<moneyTransferType>CARD_ADMISSION</moneyTransferType>
<notes>Notes text</notes>
<parcelBarCode>PL343885933UA</parcelBarCode>
<parcelNumber>PL343885933UA</parcelNumber>
<parcelInternalNumber>GLS_TEST_NUMBER_22998</parcelInternalNumber>
<passportNumber>ABC230498</passportNumber>
<phoneNumber>(48)000223333</phoneNumber>
<processDataAcceptation>2020-06-11</processDataAcceptation>
<!--receiverName>Ян Сміт</receiverName-->
<returnsDate>2020-06-11</returnsDate>
<passportNumber>2837492837</passportNumber>
<passportPlaceDate>2018-01-01</passportPlaceDate>
<passportSeries>AAA</passportSeries>
<phoneNumber>038928739487</phoneNumber>
<processDataAcceptation>Y</processDataAcceptation>
<receiverAddress>
<apartment/>
<city>Lviv</city>
<house>1</house>
<name>Ян Сміт</name>
<phone>731800688</phone>
<postCode>21349</postCode>
<postOffice/>
<street>Zelena</street>
<streetWithHouseNumberSeparator>,</streetWithHouseNumberSeparator>
</receiverAddress>
<receiverName>Ян Сміт</receiverName>
<!--Zero or more repetitions:-->
<returnPositions>
<comment/>
<count>1.0</count>
<countryCode>PL</countryCode>
<createDate>2020-06-13T10:57:29.417+02:00</createDate>
<customsCode>00000000</customsCode>
<idReturn>2160</idReturn>
<idReturnPosition>2740</idReturnPosition>
<name>ubrania</name>
<nameUk>ubrania</nameUk>
<productEan>000000000</productEan>
<productSize>S</productSize>
<returnsNumber>RET 1/2020</returnsNumber>
<returnsPositionReason>INCORRECT_PRODUCT</returnsPositionReason>
<valueEur>5.0</valueEur>
<valueUah>72.75</valueUah>
<weight>1.0</weight>
</returnPositions>
<returnsDate>2020-06-11</returnsDate>
<returnsDetails></returnsDetails>
<returnsReason>NOT_DELIVERED</returnsReason>
<returnsStatus>ACCEPTED</returnsStatus>
<returnsType>PARTIAL</returnsType>
<valueEur>5.0</valueEur>
<valueUah>72.75</valueUah>
<valueWords>сімдесят два грн сімдесят п'ять коп</valueWords>
<weight>1.0</weight>
</arg0>
<arg1>45d91722-xxxx-xxxx-xxxx-8e28a5db5fd3</arg1>
</log:createReturn>
</soapenv:Body>
</soapenv:Envelope> |