Announcement
status (int):
0
The searched shipment details were found
-1
inquiry about too many shipments
-2
no permission to check multiple shipments
-3
The dates provided in the sprawdzPrzesylkiOdDo or sprawdzPrzesylkiOdDoPl method calls are incorrect – the date check includes the date format (yyyy-mm-dd), the correct month number, and the correct day of the month. However, there is no check to see if the end date is greater than or equal to the start date. In such a case, the checked shipments, if any, will have a status (in the Przesylka!) structure of 2 – see below.
-99
Another mistake
Shipments (List of Shipments): filled for status equal to 0
Shipment List
shipment (Shipment[])
Delivery
status(int):
0
the searched shipment details were found
1
there are other shipments with this number
2
the shipment with the given number is in the system, but there are no events in the given period (applies to FromTo methods)
-1
There is no shipment with this number in the system. Please note: The web service only includes shipments with at least one event in the last 30 days.
-2
the given tracking number is incorrect
-99
Another mistake
number (string[20]): shipment number (as specified in the method parameter)
data (ShipmentData)
Shipment Data
number (string[20]) – again the shipment number
format (string[3]) – shipment format
kodRodzPrzes (string[5]) – shipment type code
type of shipment (string[64])
dataNadania (string[10]) – shipment date in the form yyyy-mm-dd
kodKrajuNadania (string[5]) – country code of the shipment origin (e.g. PL)
krajNadania (string[64]) – name of the sending country (e.g. POLAND)
kodKrajuPrzezn (string[5]) – code of the shipment's destination country (e.g. PL)
krajPrzezn (string[64]) – name of the destination country (e.g. POLAND)
urzadNadania (Unit) – information about the sending office
Office of Destination (Unit) – information about the destination facility
mass (float) – weight of the shipment in kg
terminatedObserve (boolean) – whether a so-called terminating event took place (e.g. delivery, collection of the shipment at the office, return of the shipment, etc.)
procedureService (Procedure)
events (EventList)
Procedure
code (string[3]) – service procedure code
corporate envelope (string[1]) – type of packaging (or corporate envelope) [Y – yes,N – no]
name (string[64]) – name of the service procedure
RelatedShipments (RelatedShipmentsList[])
List of Related Shipments
RelatedShipment (RelatedShipment[])
ShipmentRelated
nrPrzesylkiPowiazanej (string[20]) – shipment number
List of Events
event (Event[])
Event
time (string[16]) – event time in the form yyyy-mm-dd hh-nn
unit (Unit) – the unit (PP facility) in which the event took place
code (string[10]) – event code
terminace (boolean) – whether this event terminates the shipment handling
name (string[64]) – name of the event (e.g. Send with payload)
cause (Cause) – the cause of the event – the attribute is filled in only for certain web service users
Unit
name (string[64])
Detailed data (SzczDaneJednostki) – empty for the CheckShipment and CheckShipment methods, filled for CheckShipmentPl and CheckShipmentPl
Cause
name (string[64]) – cause of the event
code (string[10]) – event cause code
SzczDataUnits
latitude of the facility (float from N(8,6))
dlGeogr (float z N(9,6)) – geographical longitude of the facility
town (string[64]) – town where the facility is located
pna (string[6]) – PNA (postal code) of the facility
street (string[169]) – street
HouseNo (string[11]) – house number
nrLokalu (string[7]) – apartment number
Working Hours (WorkingHours) – office hours
Working Hours
Working days (HoursWithNotes) – information about the facility's opening hours on working days
Saturdays (GodzinyZUnotami) – information about the facility's opening hours on Saturdays
niedziSw (GodzinyZUwagami) – information about the facility's opening hours on Sundays and public holidays
HoursWithNotes
hours (string[4000]) – working hours e.g. 08:00-24:00
notes (string[4000]) – notes on working hours
NOTE! The characters [] after the type name indicate a list (e.g. Shipment[] ⬌ list of Shipment type elements), the notation [ ] in the string type means the maximum length of the text (e.g. string[64] ⬌ text with a maximum length of 64 characters)