Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Skip to contents in this page
Table of Contents |
---|
AddDeliveryInfo Request examples
Adding Posti tracking code, but not the last one:
(pkg_allsent=N)
Code Block | ||
---|---|---|
| ||
<form action="https://test1.maksuturva.fi/addDeliveryInfo.pmt"> <input type="hidden" name="pkg_version" value="0002"> <input type="hidden" name="pkg_sellerid" value="ABC123DE"> <input type="hidden" name="pkg_id" value="1998524_1"> <input type="hidden" name="pkg_deliverymethodid" value="ITELL"> <input type="hidden" name="pkg_adddeliveryinfo" value="JJFI12345612345123456"> <input type="hidden" name="pkg_allsent" value="N"> <input type="hidden" name="pkg_forceupdate" value="N"> <input type="hidden" name="pkg_resptype" value="XML"> <input type="hidden" name="pkg_keygeneration" value="1"> </form> |
Adding the final Posti tracking code:
(pkg_allsent=Y)
Code Block | ||
---|---|---|
| ||
<form action="https://test1.maksuturva.fi/addDeliveryInfo.pmt"> <input type="hidden" name="pkg_version" value="0002"> <input type="hidden" name="pkg_sellerid" value="ABC123DE"> <input type="hidden" name="pkg_id" value="1998524_1"> <input type="hidden" name="pkg_deliverymethodid" value="ITELL"> <input type="hidden" name="pkg_adddeliveryinfo" value="JJFI12345612345123456"> <input type="hidden" name="pkg_allsent" value="Y"> <input type="hidden" name="pkg_forceupdate" value="N"> <input type="hidden" name="pkg_resptype" value="XML"> <input type="hidden" name="pkg_keygeneration" value="1"> </form> |
AddDeliveryInfo Response examples:
OK Response:
Code Block | ||
---|---|---|
| ||
<pmtq> <pkg_resultcode>00</pkg_resultcode> <pkg_version>0002</pkg_version> <pkg_resulttext>OK</pkg_resulttext> <pkg_sellerid>ABC123DE</pkg_sellerid> <pkg_id>1998524_1</pkg_id> </pmtq> |
Error Response:
(pkg_id missing from the request)
Code Block | ||
---|---|---|
| ||
<pmtq> <pkg_resultcode>99</pkg_resultcode> <pkg_version>0002</pkg_version> <pkg_resulttext>pkg_id is a mandatory field</pkg_resulttext> <pkg_sellerid>ABC123DE</pkg_sellerid> <pkg_id/> </pmtq> |