Schenker Privpak AB Interface documentation for Parcel Search 2011-10-18 Version: 1 Doc. no.: I04306
Sida 2 av 5 Revision history Datum Version Sign. Kommentar 2011-10-18 1.0.0 PD First public version.
Sida 3 av 5 Index Revision history... 2 1. General information... 4 1.1. Getting started... 4 1.2. Example... 4 2. Method: SearchParcel... 5 2.1. Information... 5 2.2. Request... 5 2.3. Response... 5 2.4. Error handling... 5 2.5. Misc... 5
Sida 4 av 5 1. General information 1.1. Getting started Through Schenker Privpak website (http://www.schenkerprivpak.se), it is possible to search for packages. Select Package Search from the menu. The search can be done by entering the parcel number (8 digits), parcel number (13 digits) Searches can also be based on 10 digits allowing shipments booked via the web interface or originally booked as Schenker Parcel / Hämtpaket. The web service is located at the URL below: http://privpakportal.schenker.nu/trackandtrace/packagexml.aspx 1.2. Here is a example call to te service: http://privpakportal.schenker.nu/trackandtrace/packagexml.aspx?packageid=0011111122223&referrer= MyCompany
Sida 5 av 5 2. Method: SearchParcel 2.1. Information Returns information about a parcel including event history. 2.2. Request Name Type Required Description packageid Int Yes parcel number (8 digits), parcel number (13 digits) referrer String Yes a reference to you (so we can see in our logs where possible faulty calls come from) 2.3. Response Name noofparcelentries Noofuniqeparcels Parcel id Customerref Customerno Customername Receiverzipcode Receivercity Actualweight Ppc_id Ppc_name Ppc_adr1 Ppc_adr2 Ppc_zip Ppc_city Ppc_openhours Ppc_lopnr Event date Time id type location code description Event Description Number of parcels with parcel id Number of uniqe parcels with parcel id ID of parcel in our system Reference from sender to customer Id of the sender in our system Name of the sender Zipcode of receiver City of receiver The weight of parcel Id of the collection point in our system Name of collection point Adress to the collection point Additional directions to the collection point Zipcode to collection point City of collection point Opening hours of collection point Ordernr on parcel Beginning of a event for parcel Date that the event occured Time when the event occured Id of event Type of event Event location Event code in our system Information about the event End of the event 2.4. Error handling We return an programevent with the Swedish text PaketID saknas eller är felaktigt angivet ingen träff. In english: Parcel ID missing or incorrectly - no hit. 2.5. Misc A parcel search can contain multiple events with different information. A few data field is left out of the response description because they are not used.