Query bag tags by flight segment based on given search criteria.
GET {{baseUrl}}/bagtags/segments?tag=<string>&carrier=<string>&flight-number=<string>&operational-suffix=<string>&origin-date=<string>&origin-iata-code=<string>&destination-iata-code=<string>&created-from=<string>&created-to=<string>&updated-from=<string>&updated-to=<string>&secondary-identifier=<string>&bag-tag-id=<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. | |
carrier | string | The iata code of the operating carrier. | |
flight-number | string | The (numeric) 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. | |
origin-iata-code | string | The iata code of an airport as origin airport of a flight leg the bag is booked on. | |
destination-iata-code | string | The iata code of an airport as destination airport of a flight leg the bag is booked on. | |
created-from | string | Object creation time by ADH: the start point of the interval in UTC (included). e.g. 2020-01-31T12:30:00.000Z. | |
created-to | string | Object creation time by ADH: the end point of the interval in UTC (excluded). e.g. 2020-01-31T12:30:00.000Z. | |
updated-from | string | Last object modification time by ADH: the start point of the interval in UTC (included). e.g. 2020-01-31T12:30:00.000Z. | |
updated-to | string | Last object modification time by ADH: the end point of the interval in UTC (excluded). e.g. 2020-01-31T12:30:00.000Z. | |
secondary-identifier | string | A secondary identifier given to the bag tag. | |
bag-tag-id | string | The unique bag-tag-id provided by adh. Looked up in bag-tag-id and merged-bag-tag-id. | |
max-results | string | The maximum number of results. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"meta":{"created-at":"1959-08-15T13:14:41.531Z","created-by":{"user-id":"eiusmod conseq","user-name":"dolore"},"created-event-type":"nulla aliqua et dolore adipisicing","created-event-time":"2009-05-27T01:38:21.227Z","modified-count":-38782801,"modified-at":"1996-03-06T06:25:15.190Z","modified-by":{"user-id":"Lorem","user-name":"minim officia"},"modified-event-type":"Ut cillum do ullamco","modified-event-time":"2019-07-19T18:17:22.672Z"},"bag-tag-id":"ABCD-1234","merged-bag-tag-id":["qui amet deserunt sed","dolor"],"tag":"B12345678","secondary-identifiers":[{"created":"2022-03-23T13:44:09.112Z","identifier":"ABCD-1234","source":"amet dolore eiusmod"},{"created":"1973-02-17T09:16:41.836Z","identifier":"ABCD-1234","source":"et exercitation fugiat Excepteur"}],"bag-type":"cillum elit n","passenger":{"name":"Smith","pnr":"fugiat incididunt","first-name":"John","gender":"male","title":"Mr.","phone":"001 123 456 789","email":"passenger@test.com","id":"ABCD-1234","secondary-identifiers":[{"created":"1998-04-15T05:35:00.828Z","identifier":"esse id cillum adipisicing","source":"consequat reprehenderit esse Lorem"},{"created":"1963-08-22T08:27:17.817Z","identifier":"do esse pariatur reprehenderit","source":"aliquip"}]},"bag-segment":{"sequence-number":-8108576,"flight-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"magna","origin-date":"1989-10-17","origin-iata-code":"AAA","operational-suffix":"B"}},"tag":"B12345678","class-of-travel":"M","is-rush-bag":false,"passenger-is-crew-member":false,"bag-activities":{"check-in":{"location-type":"INBOUND","timestamp":"1945-05-10T11:01:46.816Z","location":"proident sint Lorem magna"},"cancel":{"location-type":"OUTBOUND","timestamp":"1974-04-21T23:08:28.713Z","location":"eiusmod voluptate reprehenderit"},"reflight":{"location-type":"OUTBOUND","timestamp":"2017-09-04T10:49:50.941Z","location":"pariatur amet"},"reroute":{"location-type":"SEGMENT","timestamp":"1955-08-09T01:23:11.098Z","location":"Ut id anim"},"screening":{"location-type":"SEGMENT","timestamp":"2003-06-16T08:05:39.424Z","location":"sit mollit","level":-53320847,"cleared":false},"bhs-induction":{"location-type":"INBOUND","timestamp":"1994-10-30T02:56:20.206Z","location":"con"},"atr":{"location-type":"SEGMENT","timestamp":"1971-10-29T03:51:00.025Z","location":"ut sed et pariatur "},"bvs":{"location-type":"INBOUND","timestamp":"1992-07-29T22:31:41.691Z","location":"enim dolor"},"mes":{"location-type":"SEGMENT","timestamp":"2002-11-21T22:58:03.479Z","location":"Ut Excepteur"},"ebs-in":{"location-type":"OUTBOUND","timestamp":"1989-03-26T07:35:20.242Z","location":"Ut in sunt"},"ebs-out":{"location-type":"INBOUND","timestamp":"1976-06-18T12:32:23.579Z","location":"sint minim"},"mup-discharge":{"location-type":"OUTBOUND","timestamp":"2001-01-12T03:21:11.808Z","location":"quis dolore"},"depart-mup":{"location-type":"OUTBOUND","timestamp":"2017-12-06T00:41:27.460Z","location":"irure eu ex enim"},"arrive-bay":{"location-type":"INBOUND","timestamp":"1999-03-09T06:18:48.182Z","location":"enim laboris occaecat"},"depart-bay":{"location-type":"OUTBOUND","timestamp":"1970-07-16T17:09:19.721Z","location":"laboris incididunt ut quis est"},"arrive-transfer-lateral":{"location-type":"SEGMENT","timestamp":"1950-04-28T13:12:23.083Z","location":"sit"},"arrive-reclaim-belt":{"location-type":"INBOUND","timestamp":"1967-02-08T02:41:40.389Z","location":"ea exercitation"},"load-into-uld":{"location-type":"SEGMENT","timestamp":"2002-10-18T16:22:52.578Z","location":"proident do","uld-tag":"nostrud sint non sit quis","container-tag":"A12345678","container-type":"ULD","container-activity":"REMOVE"},"unload-uld":{"location-type":"SEGMENT","timestamp":"2022-08-16T02:26:46.331Z","location":"do officia","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"remove-from-uld":{"location-type":"OUTBOUND","timestamp":"2014-02-19T07:23:09.689Z","location":"et adipisicing dolore elit","container-tag":"A12345678","container-activity":"OFFLOAD","container-type":"ULD"},"remove-from-aircraft":{"location-type":"INBOUND","timestamp":"1998-07-15T02:56:06.950Z","location":"officia Ut incididunt pariatur Excepteur","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"reconciled":{"location-type":"INBOUND","timestamp":"1991-09-07T12:45:32.578Z","location":"sint eu incididunt"},"unload":{"location-type":"OUTBOUND","timestamp":"1999-10-13T15:46:58.820Z","location":"dolor","container-tag":"A12345678","container-activity":"REMOVE","container-type":"ULD"},"delivered":{"location-type":"SEGMENT","timestamp":"1945-06-27T08:55:15.499Z","location":"voluptate ut ullamco anim"},"load-into-aircraft":{"location-type":"SEGMENT","timestamp":"1962-10-29T07:08:30.837Z","location":"ea in reprehenderit Lorem","container-tag":"A12345678","container-activity":"REMOVE","container-type":"ULD"},"merge":{"location-type":"SEGMENT","timestamp":"1947-05-13T08:20:06.881Z","location":"magna aute","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"induct-reclaim-belt":{"location-type":"INBOUND","timestamp":"1978-11-07T04:28:53.777Z","location":"sunt"}},"oldest-inbound-activity-type":"sint esse in mollit","oldest-inbound-activity":{"location-type":"SEGMENT","timestamp":"1968-08-12T00:47:38.245Z","location":"et culpa velit"},"newest-inbound-activity-type":"nisi laborum","newest-inbound-activity":{"location-type":"INBOUND","timestamp":"1969-10-13T16:45:04.350Z","location":"incididunt mollit in eiusmod la"},"oldest-outbound-activity-type":"Ut","oldest-outbound-activity":{"location-type":"OUTBOUND","timestamp":"1950-08-08T11:22:38.778Z","location":"proident"},"newest-outbound-activity-type":"fugiat et culpa","newest-outbound-activity":{"location-type":"INBOUND","timestamp":"1974-03-30T16:43:25.762Z","location":"in"}},"previous-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"magna occaecat","origin-date":"1965-03-24","origin-iata-code":"AAA","operational-suffix":"B"}},"next-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"deserunt","origin-date":"2014-10-07","origin-iata-code":"AAA","operational-suffix":"B"}}},{"meta":{"created-at":"1972-11-27T21:19:45.642Z","created-by":{"user-id":"tempor Ut officia","user-name":"labore aute non"},"created-event-type":"in anim dolor dolor","created-event-time":"1997-01-22T00:24:10.884Z","modified-count":6788191,"modified-at":"1978-06-03T08:00:32.255Z","modified-by":{"user-id":"nostrud ut qui","user-name":"sint Duis aute"},"modified-event-type":"consequat voluptate est laborum ad","modified-event-time":"1979-10-25T11:31:32.686Z"},"bag-tag-id":"ABCD-1234","merged-bag-tag-id":["non","anim occaecat cillum"],"tag":"B12345678","secondary-identifiers":[{"created":"1945-08-24T19:21:26.043Z","identifier":"ABCD-1234","source":"eu consectetur"},{"created":"1973-04-28T14:24:43.608Z","identifier":"ABCD-1234","source":"qui"}],"bag-type":"dolore consequat laborum","passenger":{"name":"Smith","pnr":"cupidatat sunt eiusmod nisi","first-name":"John","gender":"male","title":"Mr.","phone":"001 123 456 789","email":"passenger@test.com","id":"ABCD-1234","secondary-identifiers":[{"created":"1997-12-29T17:39:51.628Z","identifier":"exercitation occaecat laborum","source":"deserunt in ea"},{"created":"2009-07-05T01:49:21.464Z","identifier":"Ut","source":"cupidatat"}]},"bag-segment":{"sequence-number":-1093432,"flight-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"in","origin-date":"1992-08-11","origin-iata-code":"AAA","operational-suffix":"B"}},"tag":"B12345678","class-of-travel":"M","is-rush-bag":true,"passenger-is-crew-member":false,"bag-activities":{"check-in":{"location-type":"SEGMENT","timestamp":"2006-03-07T14:33:17.506Z","location":"voluptate quis"},"cancel":{"location-type":"OUTBOUND","timestamp":"2020-04-23T22:24:51.336Z","location":"anim in mollit veniam"},"reflight":{"location-type":"SEGMENT","timestamp":"2004-02-13T23:34:01.967Z","location":"voluptate incididunt proident amet"},"reroute":{"location-type":"INBOUND","timestamp":"1988-08-23T06:10:01.464Z","location":"L"},"screening":{"location-type":"INBOUND","timestamp":"1999-03-29T04:07:39.845Z","location":"dolor","level":-79506681,"cleared":false},"bhs-induction":{"location-type":"INBOUND","timestamp":"2008-05-24T02:19:08.572Z","location":"pariatur est laboris sunt minim"},"atr":{"location-type":"INBOUND","timestamp":"2022-11-27T07:22:24.510Z","location":"dolor consectetur"},"bvs":{"location-type":"OUTBOUND","timestamp":"1980-06-20T17:17:46.563Z","location":"Excepteur elit ut ad voluptate"},"mes":{"location-type":"INBOUND","timestamp":"1996-03-13T09:21:22.311Z","location":"dolor dolore"},"ebs-in":{"location-type":"SEGMENT","timestamp":"1988-08-23T02:14:07.419Z","location":"Lorem enim ut velit"},"ebs-out":{"location-type":"OUTBOUND","timestamp":"2006-10-03T03:02:49.547Z","location":"Excepteur do"},"mup-discharge":{"location-type":"OUTBOUND","timestamp":"2016-03-03T22:46:49.985Z","location":"dolor exercitation eu in"},"depart-mup":{"location-type":"SEGMENT","timestamp":"1960-04-10T20:37:00.040Z","location":"labo"},"arrive-bay":{"location-type":"INBOUND","timestamp":"1980-03-05T17:04:48.915Z","location":"sed commodo ullamco ipsu"},"depart-bay":{"location-type":"SEGMENT","timestamp":"1945-07-27T11:44:34.041Z","location":"consectetur"},"arrive-transfer-lateral":{"location-type":"SEGMENT","timestamp":"1964-07-19T07:38:14.029Z","location":"quis ipsum"},"arrive-reclaim-belt":{"location-type":"INBOUND","timestamp":"1995-08-08T20:03:29.579Z","location":"eu reprehenderit incididunt voluptate elit"},"load-into-uld":{"location-type":"OUTBOUND","timestamp":"2014-10-04T23:42:49.798Z","location":"velit esse","uld-tag":"sint veniam in","container-tag":"A12345678","container-type":"ULD","container-activity":"LOAD"},"unload-uld":{"location-type":"INBOUND","timestamp":"1953-04-28T15:10:00.848Z","location":"aliqua","container-tag":"A12345678","container-activity":"OFFLOAD","container-type":"ULD"},"remove-from-uld":{"location-type":"OUTBOUND","timestamp":"2000-10-05T08:50:29.786Z","location":"dolor ex non esse","container-tag":"A12345678","container-activity":"REMOVE","container-type":"ULD"},"remove-from-aircraft":{"location-type":"INBOUND","timestamp":"2001-01-28T13:52:08.639Z","location":"Lorem cillum","container-tag":"A12345678","container-activity":"REMOVE","container-type":"ULD"},"reconciled":{"location-type":"INBOUND","timestamp":"1974-12-23T06:37:08.421Z","location":"dolor aliqua deserunt"},"unload":{"location-type":"INBOUND","timestamp":"2005-11-13T04:09:07.142Z","location":"ipsum ut consequat incididunt","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"delivered":{"location-type":"OUTBOUND","timestamp":"2006-08-25T00:44:48.917Z","location":"tempor commodo incididunt cupidatat"},"load-into-aircraft":{"location-type":"OUTBOUND","timestamp":"1965-01-19T19:20:30.151Z","location":"dol","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"merge":{"location-type":"OUTBOUND","timestamp":"1972-04-05T17:02:35.688Z","location":"eu aliqua magna mollit in","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"induct-reclaim-belt":{"location-type":"OUTBOUND","timestamp":"2023-02-09T08:20:23.555Z","location":"cupidatat sit in"}},"oldest-inbound-activity-type":"adipisicing laboris nostrud repr","oldest-inbound-activity":{"location-type":"INBOUND","timestamp":"1989-10-25T17:06:32.602Z","location":"reprehenderit Excepteur"},"newest-inbound-activity-type":"est Ut sed ut","newest-inbound-activity":{"location-type":"INBOUND","timestamp":"2021-07-10T19:20:13.081Z","location":"non ali"},"oldest-outbound-activity-type":"amet dolor aliquip dolore","oldest-outbound-activity":{"location-type":"SEGMENT","timestamp":"2009-11-18T07:32:25.282Z","location":"fugiat dolore velit dolor nulla"},"newest-outbound-activity-type":"aliquip proident aute nulla","newest-outbound-activity":{"location-type":"OUTBOUND","timestamp":"1979-11-13T04:10:03.038Z","location":"aute cillum officia"}},"previous-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"deserunt eu in nisi exercitation","origin-date":"1991-09-11","origin-iata-code":"AAA","operational-suffix":"B"}},"next-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"ex in","origin-date":"2003-04-27","origin-iata-code":"AAA","operational-suffix":"B"}}}]