{"id":55711,"date":"2025-05-22T22:13:08","date_gmt":"2025-05-22T20:13:08","guid":{"rendered":"https:\/\/www.vanderlande.com\/?page_id=55711"},"modified":"2025-06-25T09:33:47","modified_gmt":"2025-06-25T07:33:47","slug":"flight-vertical-samples","status":"publish","type":"page","link":"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\/","title":{"rendered":"Flight Vertical &#8211; Samples"},"content":{"rendered":"\r\n\t\r\n\t\t<section id=\"page-banner-block_79826da46a7da6e4a19e102493bb5bc0\"\r\n\t\t\tclass=\"block page-banner-block  \">\r\n\r\n\t\t\t<div class=\"container\">\r\n\t\t\t\t<div class=\"row\">\r\n\t\t\t\t\t<div class=\"col-xl-8 col-md-12\">\r\n\t\t\t\t\t\t<h1>Flight Vertical: Samples<\/h1>\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\r\n\t\t\t\t<\/div>\r\n\t\t\t<\/div>\r\n\r\n\t\t<\/section>\r\n\r\n\t\r\n\n\n        <style>\n                                <\/style>\n\n        \n<div id=\"block-b3xqru4amsbpbmof9whmthopfh35j4nbtk5gfsn10wqc\" class=\"wp-block-group alignwide is-layout-flow wp-block-group-is-layout-flow\" style=\"margin-top:var(--wp--preset--spacing--70);margin-bottom:var(--wp--preset--spacing--70)\">\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-outline is-style-outline--1\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.vanderlande.com\/airport-logistics\/developer-portal\/\">Back<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-overview\">Overview<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-orange-background-color has-background wp-element-button\" href=\"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\">Samples<\/a><\/div>\n\n\n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/api.datahub.oair.io\/#tag\/Flight-Leg-Store\">APIs &amp; References<\/a><\/div>\n<\/div>\n<\/div>\n\n\n        <style>\n                                <\/style>\n\n        \n<div id=\"block-i5ccg6030rbax0vn5a2vcgg698aublf23gf9rv17rjwd\" class=\"wp-block-group alignwide api-samples is-layout-flow wp-block-group-is-layout-flow\" style=\"margin-bottom:var(--wp--preset--spacing--80)\">\n<p class=\"has-small-font-size wp-block-paragraph\" style=\"margin-top:0;margin-bottom:0\">Sample 1<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:0;margin-bottom:0\">Create new flight leg cancelled event<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Find the interface &#8220;POST\/flightlegs\/events\/cancelled&#8221;.<\/li>\n\n\n\n<li>Copy and edit the example value below into Notepad\/Editor as the example following. Remember to update event time, created time, and origin date to current date and time.<\/li>\n\n\n\n<li>POST the flight leg cancelled event.<\/li>\n\n\n\n<li>Find the \u201cGET\/flightlegs\/events\u201d interface and check the result.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-style:normal;font-weight:500\"><code>{\n \t\"event-type\": \"FLIGHT_CANCELLED_EVENT\",\n \t\"event-time\": \"2999-03-05T08:11:41.069Z\",\n \t\"location\": \"S3\",\n \t\"source\": \"ADH\",\n \t\"identifier\": {\n \t\"carrier\": \"EK\",\n \t\"flight-number\": 99,\n \t\"operational-suffix\": \"01\",\n \t\"origin-date\": \"2999-03-05\",\n \t\"origin-iata-code\": \"DXB\",\n \t\"destination-iata-code\": \"FRA\"\n \t},\n \t\"secondary-identifiers\": &#91;\n \t{\n \t\t\"identifier\": \"ADH_TUTORIAL\",\n \t\t\"created\": \"2999-03-05T08:12:00.612Z\",\n \t\t\"source\": \"ADH\"\n \t}\n  ]\n}<\/code><\/pre>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>Run the \u201cGET\/flightlegs\u201d REST call with the parameters as listed below.<\/li>\n\n\n\n<li>In the response body, you should see the flight leg with an id as a combination of carrierflightnumber_operational-suffix_origin-date_origin-iata-code_destination-iata-code and \u201cstate\u201d as \u201cCANCELLED\u201d.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Parameter<\/strong><\/td><td><strong>Value<\/strong><\/td><\/tr><tr><td>carrier<\/td><td>EK<\/td><\/tr><tr><td>flight-number<\/td><td>99<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\" style=\"margin-top:var(--wp--preset--spacing--60);margin-bottom:0\">Sample 2<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:0;margin-bottom:0\">Create aircraft allocation event<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Find the interface description of &#8220;POST\/flightlegs\/events\/aircraftallocation&#8221;.<\/li>\n\n\n\n<li>Copy and edit the example below into Notepad\/Editor as the example following. Remember to update event time, created time, and origin date to current date and time.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\" style=\"border-style:none;border-width:0px;font-style:normal;font-weight:500\"><code>{\n \t\"event-type\": \"AIRCRAFT_ALLOCATION_EVENT\",\n \t\"event-time\": \" 2999-03-05T08:12:00.611Z\",\n \t\"location\": \"S3\",\n \t\"source\": \"ADH\",\n \t\"identifier\": {\n \t\t\"carrier\": \"EK\",\n \t\t\"flight-number\": 99,\n \t\t\"operational-suffix\": \"01\",\n \t\t\"origin-date\": \"2999-03-05\",\n \t\t\"origin-iata-code\": \"DXB\",\n \t\t\"destination-iata-code\": \"FRA\"\n \t},\n \t\"secondary-identifiers\": &#91;\n \t{\n \t\t\"identifier\": \"ADH_TUTORIAL\",\n \t\t\"created\": \"2999-03-05T08:12:00.612Z\",\n \t\t\"source\": \"ADH\"\n \t}\n  ],\n \t\"aircraft-type\": \"A380-800\",\n \t\"aircraft-registration\": \"A6-EDA\"\n}<\/code><\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Call \u201cGET\/flightlegs\u201d and execute again with the same parameter.<\/li>\n\n\n\n<li>In the response body, you should find the same flight leg with additional aircraft information; the state should remain cancelled, however.<\/li>\n<\/ol>\n\n\n\n<p class=\"has-small-font-size wp-block-paragraph\" style=\"margin-top:var(--wp--preset--spacing--60);margin-bottom:0\">Sample 3<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" style=\"margin-top:0;margin-bottom:0\">Create flight scheduled event<\/h3>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Check on &#8220;POST\/flightlegs\/events\/scheduled&#8221;.<\/li>\n\n\n\n<li>Copy and edit the example value below into Notepad\/ Editor as the example following. Remember to update event time, created time, and origin date to current date and time.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\" style=\"font-style:normal;font-weight:500\"><code>{\n \t\"event-type\": \"FLIGHT_SCHEDULED_EVENT\",\n \t\"event-time\": \"2999-03-05T08:43:23.285Z\",\n \t\"location\": \"S3\",\n \t\"source\": \"ADH\",\n \t\"identifier\": {\n \t\t\"carrier\": \"EK\",\n \t\t\"flight-number\": 99,\n \t\t\"operational-suffix\": \"01\",\n \t\t\"origin-date\": \"2999-03-05\",\n \t\t\"origin-iata-code\": \"DXB\",\n \t\t\"destination-iata-code\": \"FRA\"\n \t},\n \t\"secondary-identifiers\": &#91;\n \t{\n \t\t\"identifier\": \"ADH_TUTORIAL\",\n \t\t\"created\": \"2999-03-05T08:12:00.612Z\",\n \t\t\"source\": \"ADH\"\n \t}\n  ], \n \t\"codeshares\": &#91; \n \t\t{\n \t\t\t\"carrier\": \"EK\",\n \t\t\t\"flight-number\": 99,\n \t\t\t\"operational-suffix\": \"01\",\n \t\t\t\"origin-date\": \"2999-03-05\",\n \t\t\t\"origin-iata-code\": \"DXB\",\n \t\t\t\"destination-iata-code\": \"FRA\"\n \t\t}\n \t], \n \t\"flight-segments\": &#91;\n \t\t{\n \t\t\t\"identifier\": {\n \t\t\t\t\"carrier\": \"EK\",\n \t\t\t\t\"flight-number\": 99,\n \t\t\t\t\"operational-suffix\": \"01\",\n \t\t\t\t\"origin-date\": \"2999-03-05\",\n \t\t\t\t\"origin-iata-code\": \"DXB\",\n \t\t\t\t\"destination-iata-code\": \"FRA\"\n \t\t\t},\n \t\t\t\"secondary-identifiers\": &#91;\n \t \t\t\t{\n \t\t \t\t\t\"identifier\": \"ADH_TUTORIAL\",\n \t\t \t\t\t\"created\": \"2999-03-05T08:12:00.612Z\",\n \t\t \t\t\t\"source\": \"ADH\"\n \t \t\t\t}\n   \t\t], \n \t\t\"is-international\": true\n \t\t}\n \t], \n \t\"sobt\": \"2999-03-05T08:43:23.285Z\",\n \t\"sibt\": \"2999-03-05T08:43:23.285Z\",\n \t\"aircraft-type\": \"A380-800\",\n \t\"is-international\": true,\n \t\"aircraft-registration\": \"A6-EDA\"\n}<\/code><\/pre>\n\n\n\n<ol start=\"3\" class=\"wp-block-list\">\n<li>Go back to \u201cGET\/flightlegs\u201d and execute the same parameter again.<\/li>\n\n\n\n<li>In the response body, you should find the same flight leg with additional aircraft information; the state should remain cancelled, however.<\/li>\n<\/ol>\n<\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sample 1 Create new flight leg cancelled event Parameter Value carrier EK flight-number 99 Sample 2 Create aircraft allocation event Sample 3 Create flight scheduled event<\/p>\n","protected":false},"author":14,"featured_media":0,"parent":51690,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"protect_children":false,"footnotes":""},"class_list":["post-55711","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Flight Vertical - Samples - Vanderlande<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Flight Vertical - Samples - Vanderlande\" \/>\n<meta property=\"og:description\" content=\"Sample 1 Create new flight leg cancelled event Parameter Value carrier EK flight-number 99 Sample 2 Create aircraft allocation event Sample 3 Create flight scheduled event\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\/\" \/>\n<meta property=\"og:site_name\" content=\"Vanderlande\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-25T07:33:47+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vanderlande.com\\\/airport-logistics\\\/flight-vertical-samples\\\/\",\"url\":\"https:\\\/\\\/www.vanderlande.com\\\/airport-logistics\\\/flight-vertical-samples\\\/\",\"name\":\"Flight Vertical - Samples - Vanderlande\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vanderlande.com\\\/cn\\\/#website\"},\"datePublished\":\"2025-05-22T20:13:08+00:00\",\"dateModified\":\"2025-06-25T07:33:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vanderlande.com\\\/airport-logistics\\\/flight-vertical-samples\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vanderlande.com\\\/airport-logistics\\\/flight-vertical-samples\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vanderlande.com\\\/airport-logistics\\\/flight-vertical-samples\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vanderlande.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Airport Logistics\",\"item\":\"https:\\\/\\\/www.vanderlande.com\\\/airport-logistics\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Flight Vertical &#8211; Samples\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vanderlande.com\\\/cn\\\/#website\",\"url\":\"https:\\\/\\\/www.vanderlande.com\\\/cn\\\/\",\"name\":\"Vanderlande\",\"description\":\"Global partner for future-proof logistic process automation\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vanderlande.com\\\/cn\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vanderlande.com\\\/cn\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vanderlande.com\\\/cn\\\/#organization\",\"name\":\"Vanderlande\",\"url\":\"https:\\\/\\\/www.vanderlande.com\\\/cn\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.vanderlande.com\\\/cn\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Vanderlande\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vanderlande.com\\\/cn\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Flight Vertical - Samples - Vanderlande","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\/","og_locale":"en_GB","og_type":"article","og_title":"Flight Vertical - Samples - Vanderlande","og_description":"Sample 1 Create new flight leg cancelled event Parameter Value carrier EK flight-number 99 Sample 2 Create aircraft allocation event Sample 3 Create flight scheduled event","og_url":"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\/","og_site_name":"Vanderlande","article_modified_time":"2025-06-25T07:33:47+00:00","twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\/","url":"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\/","name":"Flight Vertical - Samples - Vanderlande","isPartOf":{"@id":"https:\/\/www.vanderlande.com\/cn\/#website"},"datePublished":"2025-05-22T20:13:08+00:00","dateModified":"2025-06-25T07:33:47+00:00","breadcrumb":{"@id":"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.vanderlande.com\/airport-logistics\/flight-vertical-samples\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vanderlande.com\/"},{"@type":"ListItem","position":2,"name":"Airport Logistics","item":"https:\/\/www.vanderlande.com\/airport-logistics\/"},{"@type":"ListItem","position":3,"name":"Flight Vertical &#8211; Samples"}]},{"@type":"WebSite","@id":"https:\/\/www.vanderlande.com\/cn\/#website","url":"https:\/\/www.vanderlande.com\/cn\/","name":"Vanderlande","description":"Global partner for future-proof logistic process automation","publisher":{"@id":"https:\/\/www.vanderlande.com\/cn\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vanderlande.com\/cn\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.vanderlande.com\/cn\/#organization","name":"Vanderlande","url":"https:\/\/www.vanderlande.com\/cn\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.vanderlande.com\/cn\/#\/schema\/logo\/image\/","url":"","contentUrl":"","caption":"Vanderlande"},"image":{"@id":"https:\/\/www.vanderlande.com\/cn\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vanderlande.com\/wp-json\/wp\/v2\/pages\/55711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vanderlande.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.vanderlande.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.vanderlande.com\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vanderlande.com\/wp-json\/wp\/v2\/comments?post=55711"}],"version-history":[{"count":8,"href":"https:\/\/www.vanderlande.com\/wp-json\/wp\/v2\/pages\/55711\/revisions"}],"predecessor-version":[{"id":56369,"href":"https:\/\/www.vanderlande.com\/wp-json\/wp\/v2\/pages\/55711\/revisions\/56369"}],"up":[{"embeddable":true,"href":"https:\/\/www.vanderlande.com\/wp-json\/wp\/v2\/pages\/51690"}],"wp:attachment":[{"href":"https:\/\/www.vanderlande.com\/wp-json\/wp\/v2\/media?parent=55711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}