Get flight leg by id.

GET {{baseUrl}}/flightlegs/:id

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"id":"occaecat","identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"\u003cstring\u003e","origin-date":"\u003cdate\u003e","origin-iata-code":"AAA","operational-suffix":"B"},"is-international":false,"state":"CANCELLED","meta":{"created-at":"2014-10-17T05:09:24.211Z","created-by":{"user-id":"aute Excepteur sint","user-name":"incididunt consecte"},"created-event-type":"eiusmod dolore culpa","created-event-time":"2017-11-11T15:45:14.297Z","modified-count":-79662419,"modified-at":"1984-04-02T16:08:38.534Z","modified-by":{"user-id":"incididunt Excepteur cupidatat","user-name":"Dui"},"modified-event-type":"u","modified-event-time":"2012-04-11T10:46:30.604Z"},"secondary-identifiers":[{"created":"\u003cdateTime\u003e","identifier":"\u003cstring\u003e","source":"\u003cstring\u003e"}],"codeshares":[{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"\u003cstring\u003e","origin-date":"\u003cdate\u003e","origin-iata-code":"AAA","operational-suffix":"B"},{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"\u003cstring\u003e","origin-date":"\u003cdate\u003e","origin-iata-code":"AAA","operational-suffix":"B"}],"flight-segments":[{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"\u003cstring\u003e","origin-date":"\u003cdate\u003e","origin-iata-code":"AAA","operational-suffix":"B"},"is-international":"\u003cboolean\u003e","secondary-identifiers":[{"created":"\u003cdateTime\u003e","identifier":"\u003cstring\u003e","source":"\u003cstring\u003e"}]},{"identifier":{"carrier":"ZZ","destination-iata-code":"ZZZ","flight-number":"997","identifier-string":"\u003cstring\u003e","origin-date":"\u003cdate\u003e","origin-iata-code":"AAA","operational-suffix":"B"},"is-international":"\u003cboolean\u003e","secondary-identifiers":[{"created":"\u003cdateTime\u003e","identifier":"\u003cstring\u003e","source":"\u003cstring\u003e"}]}],"outbound-resources":{"aircraft-parking-position":{"location":"Apron","timestamp":"1948-08-02T23:38:54.131Z"},"passenger-gates":[{"location":"Apron","timestamp":"1993-11-17T15:31:19.982Z"},{"location":"Apron","timestamp":"1955-09-30T18:41:07.972Z"}],"remote-operational-gates":[{"location":"Apron","timestamp":"1966-07-25T15:23:39.763Z"},{"location":"Apron","timestamp":"1998-10-30T10:00:17.965Z"}],"runway":{"location":"Apron","timestamp":"1995-06-11T22:25:01.432Z"},"aircraft-terminal":{"location":"Apron","timestamp":"1994-03-02T03:46:55.330Z"},"public-terminals":[{"location":"Apron","timestamp":"1973-07-30T10:58:41.294Z"},{"location":"Apron","timestamp":"2008-09-25T20:09:20.319Z"}],"baggage-claim-units":[{"location":"Apron","timestamp":"1960-07-12T21:06:29.210Z"},{"location":"Apron","timestamp":"1971-04-24T23:25:21.338Z"}],"baggage-make-up-belts":[{"location":"Apron","timestamp":"1997-05-28T13:52:44.207Z"},{"location":"Apron","timestamp":"1965-02-24T07:42:29.593Z"}],"baggage-transfer-laterals":[{"location":"Apron","timestamp":"2002-12-28T04:17:38.271Z"},{"location":"Apron","timestamp":"2011-12-31T08:17:41.479Z"}],"check-in-desks":{"location":"Apron","timestamp":"1986-03-14T20:49:53.985Z"}},"inbound-resources":{"aircraft-parking-position":{"location":"Apron","timestamp":"2006-02-03T07:29:26.379Z"},"passenger-gates":[{"location":"Apron","timestamp":"2011-01-06T13:30:09.771Z"},{"location":"Apron","timestamp":"1961-12-10T12:39:27.223Z"}],"remote-operational-gates":[{"location":"Apron","timestamp":"1960-07-07T05:40:01.154Z"},{"location":"Apron","timestamp":"2024-01-18T05:54:07.493Z"}],"runway":{"location":"Apron","timestamp":"1945-06-06T22:20:45.509Z"},"aircraft-terminal":{"location":"Apron","timestamp":"1988-10-24T11:07:26.926Z"},"public-terminals":[{"location":"Apron","timestamp":"1960-09-23T09:02:24.928Z"},{"location":"Apron","timestamp":"1972-04-20T02:00:56.857Z"}],"baggage-claim-units":[{"location":"Apron","timestamp":"1974-11-11T22:48:48.871Z"},{"location":"Apron","timestamp":"1981-06-02T10:35:35.034Z"}],"baggage-make-up-belts":[{"location":"Apron","timestamp":"1996-02-24T13:45:10.869Z"},{"location":"Apron","timestamp":"2011-05-04T02:22:40.340Z"}],"baggage-transfer-laterals":[{"location":"Apron","timestamp":"1988-02-11T18:54:28.784Z"},{"location":"Apron","timestamp":"2017-09-07T12:32:29.954Z"}],"check-in-desks":{"location":"Apron","timestamp":"1966-09-24T09:13:30.663Z"}},"milestones":{"gto":{"scheduled":"2005-11-14T02:32:21.614Z","estimated":"2024-04-08T05:59:33.593Z","actual":"1970-08-03T16:53:19.858Z"},"gtc":{"scheduled":"1964-07-15T21:41:00.928Z","estimated":"1969-04-24T10:28:05.734Z","actual":"1987-11-20T08:51:21.838Z"},"obt":{"scheduled":"1981-02-21T08:32:23.852Z","estimated":"1951-12-15T08:22:13.294Z","actual":"2023-02-09T19:24:05.017Z"},"tot":{"scheduled":"2005-12-15T07:27:15.282Z","estimated":"1945-08-07T01:55:13.984Z","actual":"2018-10-18T16:54:10.721Z"},"ldt":{"scheduled":"1953-04-17T03:12:23.535Z","estimated":"1948-10-09T03:46:18.631Z","actual":"2003-06-13T12:58:47.879Z"},"ibt":{"scheduled":"2011-07-06T22:05:40.739Z","estimated":"1950-06-20T21:08:34.897Z","actual":"1959-03-03T02:42:22.832Z"}},"aircraft":{"timestamp":"1992-10-27T13:35:54.799Z","aircraft-type":"A320","registration-number":"cillum nostrud velit"}}