BagJourney Event Code List
The following table describes the standard BagJourney events that may be returned in Bag History. The type value is contained in the "Code" element of each event in the list. A Customer Administrator may add custom events via the BagJourney Administration / Location Events functionality
Event Type | Description |
---|---|
CHECKED_IN |
Bag checked in |
PAX_BOARDED |
Passenger boarded |
SCREENED |
Bag screened |
SCREENING_PASSED |
Bag screening passed |
SCREENING_FAILED |
Bag screening failed |
SORTED |
Bag sorted |
LOADED_IN_CONTAINER |
Bag loaded into container |
LOADED_ON_AIRCRAFT |
Bagloaded on aircraft |
OFFLOADED |
Bag offloaded |
EXPECTED |
Bag expected |
REROUTED |
Bag rerouted |
REFLIGHTED |
Bag re-flighted |
CANCELLED |
Bag cancelled |
MISHANDLED |
Bag mishandled |
ONA |
Bag on hand not loaded - Authorized to load |
OND |
Bag on hand not loaded - Not authorized to load |
NAL |
Bag loaded - not authorized to load |
UNS |
Bag unseen |
SOAP UI Tool
Following is the snapshot of the SOAP UI tool. The URL is constructed based on the above details. The API key should be put in the header section as shown below, with the header name as api_key and the value will be the api key value.
Key | Example |
---|---|
https://bagjourney.sita.aero/baggage/history/v1.0/tag/0125243458/flightdate/2014-10-21 |
Get Bag tag events for tag for 0125243458 for October 21, 2014 |
Expected Result
curl Command in Linux
curl -k -H "api_key: 848c4e02011114c626cae31b20fe10f1" https://bagjourney.sita.aero/baggage/history/v1.0/tag/0125243458/flightdate/2014-10-21
Expected Result
{"success":true,"bag":{"bagtag":"0125243458","passenger_first_name":"CLAUDEMR","passenger_last_name":"GROULX"},"events":[{"airport":"ORD","event_code":"EXPECTED","event_desc":"Bag Expected","flight_info":{"outbound":{"date":"21OCT","dest_airport":"YYZ","flight":"9982","airline":"AC"},"inbound":{"date":"21OCT","flight":"9924","airline":"US","orig_airport":"LAX"},"onward":[{"date":"21OCT","dest_airport":"YYC","flight":"9902","airline":"AC"}]},"frequent_flyer":"BD662503","local_date_time":"2014-10-21T12:40:52.160-05:00","passenger_status":"S","pnr":"8ZZX3YS","utc_date_time":"2014-10-21T17:40:52.160Z"}]}
wget Command in Linux
wget --header='api_key:848c4e02011114c626cae31b20fe10f1' https://bagjourney.sita.aero/baggage/history/v1.0/tag/0125243458/flightdate/2014-10-21--no-check-certificate -qO-
Expected Result
{"success":true,"bag":{"bagtag":"0125243458","passenger_first_name":"CLAUDEMR","passenger_last_name":"GROULX"},"events":[{"airport":"ORD","event_code":"EXPECTED","event_desc":"Bag Expected","flight_info":{"outbound":{"date":"21OCT","dest_airport":"YYZ","flight":"9982","airline":"AC"},"inbound":{"date":"21OCT","flight":"9924","airline":"US","orig_airport":"LAX"},"onward":[{"date":"21OCT","dest_airport":"YYC","flight":"9902","airline":"AC"}]},"frequent_flyer":"BD662503","local_date_time":"2014-10-21T12:40:52.160-05:00","passenger_status":"S","pnr":"8ZZX3YS","utc_date_time":"2014-10-21T17:40:52.160Z"}]}