Query bag events for given bag tag id based on given search criteria.
GET {{baseUrl}}/bagtags/:id/events?tag=<string>&from=<string>&to=<string>&carrier=<string>&flight-number=<string>&operational-suffix=<string>&origin-date=<string>&origin-iata-code=<string>&destination-iata-code=<string>&event-type=<string>&tracking-event-sub-type=<string>&secondary-identifier=<string>&container-tag=<string>&location=<string>&source=<string>&max-results=<integer>
If no query parameter is set the search will be reduced to the last 24 hours. If no maxResult is set a maximum of 1000 records will be returned.
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| tag | string | The tag number of the bag tag. | |
| from | string | The start point of the interval in UTC. e.g. 2020-01-31T12:30:00.000Z. If used the from and the to parameter has to be set. | |
| to | string | The end point of the interval in UTC. e.g. 2020-01-31T12:30:00.000Z. If used the from and the to parameter has to be set. | |
| carrier | string | The iata code of the operating carrier. | |
| flight-number | string | The (numeric part of) flight number of operating airline. | |
| operational-suffix | string | Used to distinguish two flights having the same flight number and departing from their respective Origin Stations on the same date. | |
| origin-date | string | The day of operation, i.e. local day of schedule off-block time in UTC at first departure airport of flight. e.g. 2020-01-31T12:30:00.000Z. | |
| origin-iata-code | string | The iata code of the departure airport. | |
| destination-iata-code | string | The iata code of the arrival airport. | |
| event-type | string | The event type. | |
| tracking-event-sub-type | string | The tracking event sub-type. | |
| secondary-identifier | string | A secondary identifier given to the bag tag. | |
| container-tag | string | Tag of the a container to search for. | |
| location | string | Location of the container event to search for. | |
| source | string | Source of the container event to search for. | |
| max-results | string | The maximum number of results. | 
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Accept | string | 
RESPONSES
status: OK
[{"bag-segments":[{"identifier":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"sequence-number":34571802,"class-of-travel":"M","is-rush-bag":false,"passenger-is-crew-member":true,"is-inbound":false,"is-outbound":true,"segmentInbound":true,"segmentOutbound":true}],"event-type":"BAG_CHECK_IN_EVENT","inbound-segment":{"sequence-number":-32404630,"flight-segment":{"identifier":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"tag":"B12345678","class-of-travel":"M","is-rush-bag":false,"passenger-is-crew-member":true,"bag-activities":{"check-in":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"cancel":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reflight":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reroute":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"screening":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"bhs-induction":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"atr":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"bvs":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"mes":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ebs-in":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ebs-out":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"mup-discharge":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"depart-mup":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-bay":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"depart-bay":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-transfer-lateral":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-reclaim-belt":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"load-into-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"unload-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"remove-from-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"remove-from-aircraft":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reconciled":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"unload":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"delivered":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"load-into-aircraft":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"merge":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"induct-reclaim-belt":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"oldest-inbound-activity-type":"magna minim","oldest-inbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"newest-inbound-activity-type":"aute non dolor ex","newest-inbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"oldest-outbound-activity-type":"dolor non nisi tempor labore","oldest-outbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"newest-outbound-activity-type":"deserunt dolor ad amet","newest-outbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"outbound-segment":{"sequence-number":69861114,"flight-segment":{"identifier":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"tag":"B12345678","class-of-travel":"M","is-rush-bag":false,"passenger-is-crew-member":false,"bag-activities":{"check-in":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"cancel":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reflight":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reroute":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"screening":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"bhs-induction":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"atr":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"bvs":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"mes":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ebs-in":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ebs-out":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"mup-discharge":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"depart-mup":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-bay":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"depart-bay":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-transfer-lateral":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-reclaim-belt":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"load-into-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"unload-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"remove-from-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"remove-from-aircraft":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reconciled":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"unload":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"delivered":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"load-into-aircraft":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"merge":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"induct-reclaim-belt":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"oldest-inbound-activity-type":"nostrud qui enim","oldest-inbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"newest-inbound-activity-type":"dolore","newest-inbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"oldest-outbound-activity-type":"cupidatat minim elit quis amet","oldest-outbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"newest-outbound-activity-type":"ipsum","newest-outbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"event-time":"quis ut ipsum"},{"bag-segments":[{"identifier":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"sequence-number":-29476010,"class-of-travel":"M","is-rush-bag":true,"passenger-is-crew-member":false,"is-inbound":false,"is-outbound":true,"segmentInbound":true,"segmentOutbound":false}],"event-type":"BAG_CHECK_IN_EVENT","inbound-segment":{"sequence-number":13592392,"flight-segment":{"identifier":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"tag":"B12345678","class-of-travel":"M","is-rush-bag":true,"passenger-is-crew-member":true,"bag-activities":{"check-in":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"cancel":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reflight":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reroute":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"screening":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"bhs-induction":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"atr":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"bvs":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"mes":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ebs-in":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ebs-out":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"mup-discharge":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"depart-mup":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-bay":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"depart-bay":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-transfer-lateral":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-reclaim-belt":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"load-into-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"unload-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"remove-from-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"remove-from-aircraft":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reconciled":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"unload":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"delivered":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"load-into-aircraft":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"merge":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"induct-reclaim-belt":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"oldest-inbound-activity-type":"sint amet enim","oldest-inbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"newest-inbound-activity-type":"Ut eu Excepteur","newest-inbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"oldest-outbound-activity-type":"fugiat tempor","oldest-outbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"newest-outbound-activity-type":"ex magna deserunt","newest-outbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"outbound-segment":{"sequence-number":-14384965,"flight-segment":{"identifier":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"tag":"B12345678","class-of-travel":"M","is-rush-bag":true,"passenger-is-crew-member":false,"bag-activities":{"check-in":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"cancel":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reflight":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reroute":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"screening":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"bhs-induction":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"atr":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"bvs":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"mes":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ebs-in":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"ebs-out":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"mup-discharge":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"depart-mup":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-bay":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"depart-bay":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-transfer-lateral":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"arrive-reclaim-belt":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"load-into-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"unload-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"remove-from-uld":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"remove-from-aircraft":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"reconciled":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"unload":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"delivered":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"load-into-aircraft":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"merge":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"induct-reclaim-belt":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"oldest-inbound-activity-type":"in Duis dolor","oldest-inbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"newest-inbound-activity-type":"ex eu","newest-inbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"oldest-outbound-activity-type":"consequat sit reprehenderit Duis magna","oldest-outbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"newest-outbound-activity-type":"sed fugiat sint ipsum","newest-outbound-activity":{"location-type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"timestamp":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"location":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}},"event-time":"eu proident ullamco"}]