Query bag tags by flight segment for given bag tag id based on given search criteria.
GET {{baseUrl}}/bagtags/:id/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>&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. e.g. 2020-01-31T12:30:00.000Z. | |
| 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. | |
| max-results | string | The maximum number of results. | 
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Accept | string | 
RESPONSES
status: OK
[{"meta":{"created-at":"1997-12-06T09:37:11.281Z","created-by":{"user-id":"deserunt e","user-name":"voluptate eu occaecat"},"created-event-type":"et qui sed ut minim","created-event-time":"1944-09-02T13:21:18.973Z","modified-count":49486095,"modified-at":"2008-05-25T06:55:33.545Z","modified-by":{"user-id":"reprehenderit ut laborum minim","user-name":"consequat ullamco exer"},"modified-event-type":"dolore","modified-event-time":"1965-05-15T01:15:57.965Z"},"bag-tag-id":"ABCD-1234","merged-bag-tag-id":["culpa cillum voluptate nulla","anim mollit nostrud labore aliqua"],"tag":"B12345678","secondary-identifiers":[{"created":"1989-01-21T16:21:12.250Z","identifier":"ABCD-1234","source":"occaecat nostrud reprehende"},{"created":"1963-04-10T08:01:25.023Z","identifier":"ABCD-1234","source":"Lorem non elit"}],"bag-type":"ut amet sunt minim","passenger":{"name":"Smith","pnr":"in ex Duis","first-name":"John","gender":"male","title":"Mr.","phone":"001 123 456 789","email":"passenger@test.com","id":"ABCD-1234","secondary-identifiers":[{"created":"2018-08-27T12:55:58.527Z","identifier":"quis","source":"consequat cupidatat"},{"created":"1954-03-01T09:05:05.127Z","identifier":"cillum eiusmod dolor occaecat","source":"aliquip nisi elit tempor"}]},"bag-segment":{"sequence-number":-29670737,"flight-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"nulla e","origin-date":"2021-03-06","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":"2013-10-31T14:04:43.852Z","location":"enim dolore velit amet"},"cancel":{"location-type":"SEGMENT","timestamp":"1953-04-08T13:52:29.485Z","location":"fugiat quis magna minim"},"reflight":{"location-type":"SEGMENT","timestamp":"1957-02-26T13:06:40.961Z","location":"in veniam dolore non in"},"reroute":{"location-type":"SEGMENT","timestamp":"1984-02-10T07:57:47.424Z","location":"Duis veniam"},"screening":{"location-type":"INBOUND","timestamp":"2008-07-08T19:31:08.296Z","location":"Excepteur sint cillum commodo","level":-63779236,"cleared":false},"bhs-induction":{"location-type":"INBOUND","timestamp":"1974-01-04T02:41:22.977Z","location":"velit reprehenderit Duis"},"atr":{"location-type":"OUTBOUND","timestamp":"1982-11-24T19:07:06.141Z","location":"Lorem ad"},"bvs":{"location-type":"OUTBOUND","timestamp":"2005-12-31T06:59:53.658Z","location":"ut sed cillum exercitation"},"mes":{"location-type":"SEGMENT","timestamp":"1982-10-14T02:02:17.292Z","location":"tempor sint pariatur nostrud"},"ebs-in":{"location-type":"OUTBOUND","timestamp":"1976-08-01T23:31:40.670Z","location":"ut laborum"},"ebs-out":{"location-type":"SEGMENT","timestamp":"1973-11-13T21:25:04.802Z","location":"dolor in"},"mup-discharge":{"location-type":"OUTBOUND","timestamp":"2012-06-01T07:32:53.151Z","location":"est adipisicing deserunt nulla"},"depart-mup":{"location-type":"OUTBOUND","timestamp":"2022-08-16T12:42:45.510Z","location":"Excepteur ad"},"arrive-bay":{"location-type":"OUTBOUND","timestamp":"1976-04-10T01:53:44.118Z","location":"proident laboris anim"},"depart-bay":{"location-type":"INBOUND","timestamp":"1991-10-30T07:57:20.691Z","location":"amet"},"arrive-transfer-lateral":{"location-type":"SEGMENT","timestamp":"2010-11-19T20:22:06.718Z","location":"eu ut"},"arrive-reclaim-belt":{"location-type":"SEGMENT","timestamp":"1946-06-24T18:57:30.276Z","location":"eiusmod ad qui labore"},"load-into-uld":{"location-type":"SEGMENT","timestamp":"1987-04-12T19:21:40.202Z","location":"Lorem labore Duis nulla enim","uld-tag":"dolor velit","container-tag":"A12345678","container-type":"ULD","container-activity":"LOAD"},"unload-uld":{"location-type":"INBOUND","timestamp":"1977-11-15T22:56:15.911Z","location":"magna aliqua sunt","container-tag":"A12345678","container-activity":"MERGE","container-type":"ULD"},"remove-from-uld":{"location-type":"OUTBOUND","timestamp":"1997-06-22T00:13:21.621Z","location":"irure id ullamco","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"remove-from-aircraft":{"location-type":"INBOUND","timestamp":"2012-08-19T02:41:35.174Z","location":"Duis ipsum commodo dolore","container-tag":"A12345678","container-activity":"MERGE","container-type":"ULD"},"reconciled":{"location-type":"OUTBOUND","timestamp":"2011-01-31T13:25:28.681Z","location":"voluptate aute in est"},"unload":{"location-type":"INBOUND","timestamp":"1987-06-16T19:11:20.958Z","location":"labore non minim","container-tag":"A12345678","container-activity":"MERGE","container-type":"ULD"},"delivered":{"location-type":"SEGMENT","timestamp":"1984-06-19T10:59:35.016Z","location":"in Lorem minim labore sint"},"load-into-aircraft":{"location-type":"OUTBOUND","timestamp":"1987-09-28T15:31:53.082Z","location":"et irure eu","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"merge":{"location-type":"INBOUND","timestamp":"1991-04-01T16:08:58.261Z","location":"fugiat amet dolore aliquip ad","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"induct-reclaim-belt":{"location-type":"SEGMENT","timestamp":"2012-09-13T08:08:12.244Z","location":"non esse"}},"oldest-inbound-activity-type":"et","oldest-inbound-activity":{"location-type":"SEGMENT","timestamp":"1978-10-04T17:21:03.339Z","location":"consequat"},"newest-inbound-activity-type":"est do sint","newest-inbound-activity":{"location-type":"INBOUND","timestamp":"1978-02-19T20:05:53.591Z","location":"voluptate incididunt velit culpa"},"oldest-outbound-activity-type":"reprehenderit pariatur voluptate velit sed","oldest-outbound-activity":{"location-type":"SEGMENT","timestamp":"1997-04-08T03:35:32.760Z","location":""},"newest-outbound-activity-type":"consequat dolore","newest-outbound-activity":{"location-type":"INBOUND","timestamp":"1971-07-28T03:32:29.880Z","location":"pariatur"}},"previous-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"incididunt labore cupidatat minim","origin-date":"1967-04-01","origin-iata-code":"AAA","operational-suffix":"B"}},"next-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"Duis reprehenderit elit nulla","origin-date":"1946-08-16","origin-iata-code":"AAA","operational-suffix":"B"}}},{"meta":{"created-at":"1980-09-20T12:53:31.833Z","created-by":{"user-id":"ex deserunt magna eu Lorem","user-name":"in est veniam"},"created-event-type":"qui magna anim ea labore","created-event-time":"1973-10-06T18:14:28.445Z","modified-count":59630264,"modified-at":"2012-12-11T21:55:48.289Z","modified-by":{"user-id":"voluptate do ipsum ut laboris","user-name":"irure ex"},"modified-event-type":"do mollit eu","modified-event-time":"1991-08-15T22:34:45.253Z"},"bag-tag-id":"ABCD-1234","merged-bag-tag-id":["aliqua amet occaecat proident","ad veniam Ut"],"tag":"B12345678","secondary-identifiers":[{"created":"2014-09-01T10:21:24.886Z","identifier":"ABCD-1234","source":"sit enim ipsum nulla"},{"created":"2023-01-19T22:56:03.688Z","identifier":"ABCD-1234","source":"commodo ex"}],"bag-type":"sint consequat cillum c","passenger":{"name":"Smith","pnr":"dolore occaecat","first-name":"John","gender":"male","title":"Mr.","phone":"001 123 456 789","email":"passenger@test.com","id":"ABCD-1234","secondary-identifiers":[{"created":"1952-05-11T19:51:00.457Z","identifier":"dolore consectetur culpa ","source":"ut"},{"created":"2005-03-10T22:15:43.276Z","identifier":"sint et dolore","source":"laborum labore"}]},"bag-segment":{"sequence-number":-67795978,"flight-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"ut in consectetur","origin-date":"2002-10-22","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":"1962-03-08T18:15:51.101Z","location":"cupidatat dolor"},"cancel":{"location-type":"SEGMENT","timestamp":"1986-10-27T16:41:57.535Z","location":"laboris et exercitation"},"reflight":{"location-type":"SEGMENT","timestamp":"2015-05-11T18:37:04.815Z","location":"irure"},"reroute":{"location-type":"OUTBOUND","timestamp":"1972-03-15T10:21:33.243Z","location":"ut aliquip velit"},"screening":{"location-type":"SEGMENT","timestamp":"2016-06-13T06:27:28.451Z","location":"in","level":48286394,"cleared":true},"bhs-induction":{"location-type":"INBOUND","timestamp":"1947-01-09T18:42:46.814Z","location":"ullamco"},"atr":{"location-type":"SEGMENT","timestamp":"1991-02-13T02:20:12.396Z","location":"reprehenderit veniam sunt"},"bvs":{"location-type":"OUTBOUND","timestamp":"1977-02-16T05:19:14.876Z","location":"tempor amet "},"mes":{"location-type":"INBOUND","timestamp":"1980-08-28T14:15:41.891Z","location":"in ipsum occaecat"},"ebs-in":{"location-type":"INBOUND","timestamp":"1970-07-22T03:30:29.834Z","location":"in nostrud eiusmod mollit"},"ebs-out":{"location-type":"SEGMENT","timestamp":"2008-04-14T10:36:10.904Z","location":"esse fugiat"},"mup-discharge":{"location-type":"OUTBOUND","timestamp":"2007-02-14T14:24:51.166Z","location":"veniam"},"depart-mup":{"location-type":"INBOUND","timestamp":"2001-12-14T02:06:53.992Z","location":"aliquip"},"arrive-bay":{"location-type":"SEGMENT","timestamp":"1986-02-09T10:37:18.540Z","location":"non ea nisi la"},"depart-bay":{"location-type":"INBOUND","timestamp":"1997-01-31T03:35:59.670Z","location":"tempor cillum sint"},"arrive-transfer-lateral":{"location-type":"OUTBOUND","timestamp":"1957-02-08T04:23:22.101Z","location":"veniam sed occaecat id"},"arrive-reclaim-belt":{"location-type":"OUTBOUND","timestamp":"1964-12-20T18:30:51.663Z","location":"elit ut qui dolore"},"load-into-uld":{"location-type":"SEGMENT","timestamp":"1954-07-21T11:35:15.470Z","location":"aliquip minim incididunt","uld-tag":"reprehenderit est","container-tag":"A12345678","container-type":"ULD","container-activity":"LOAD"},"unload-uld":{"location-type":"OUTBOUND","timestamp":"2009-01-29T19:47:58.690Z","location":"laborum nulla","container-tag":"A12345678","container-activity":"OFFLOAD","container-type":"ULD"},"remove-from-uld":{"location-type":"SEGMENT","timestamp":"1947-08-06T07:01:22.419Z","location":"nisi labore esse do","container-tag":"A12345678","container-activity":"REMOVE","container-type":"ULD"},"remove-from-aircraft":{"location-type":"SEGMENT","timestamp":"1956-04-24T21:01:09.731Z","location":"ullamco sint sunt Lorem","container-tag":"A12345678","container-activity":"MERGE","container-type":"ULD"},"reconciled":{"location-type":"SEGMENT","timestamp":"1981-06-30T07:20:33.060Z","location":"veniam"},"unload":{"location-type":"SEGMENT","timestamp":"1966-08-26T04:29:32.473Z","location":"in consequat elit","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"delivered":{"location-type":"SEGMENT","timestamp":"1953-01-19T00:22:12.093Z","location":"in aliqua dolor mollit"},"load-into-aircraft":{"location-type":"SEGMENT","timestamp":"2012-05-21T01:39:41.265Z","location":"proident sunt dolor","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"merge":{"location-type":"INBOUND","timestamp":"1985-07-14T09:14:41.934Z","location":"sit sed magna aliqua id","container-tag":"A12345678","container-activity":"LOAD","container-type":"ULD"},"induct-reclaim-belt":{"location-type":"INBOUND","timestamp":"1961-06-26T16:33:24.274Z","location":"dolor nisi"}},"oldest-inbound-activity-type":"irure dolore esse","oldest-inbound-activity":{"location-type":"SEGMENT","timestamp":"1964-12-01T03:26:29.189Z","location":"ea magna eu voluptate"},"newest-inbound-activity-type":"ut","newest-inbound-activity":{"location-type":"SEGMENT","timestamp":"2016-03-24T19:33:13.423Z","location":"aliquip laboris sit id"},"oldest-outbound-activity-type":"sit culpa cillum Lorem nulla","oldest-outbound-activity":{"location-type":"OUTBOUND","timestamp":"1970-05-29T19:21:49.344Z","location":"Lorem"},"newest-outbound-activity-type":"qui proident elit eiusmod est","newest-outbound-activity":{"location-type":"OUTBOUND","timestamp":"2022-12-17T17:58:44.308Z","location":"in velit reprehenderit"}},"previous-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"ad eiusmod pariatur","origin-date":"2003-10-15","origin-iata-code":"AAA","operational-suffix":"B"}},"next-segment":{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"cupidatat nisi anim ex aliquip","origin-date":"1976-10-22","origin-iata-code":"AAA","operational-suffix":"B"}}}]