Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Skip to contents in this page

AddDeliveryInfo Request examples

Adding Posti tracking code, but not the last one:

(pkg_allsent=N)

<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)

<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:

<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)

<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>
  • No labels