{"id":2683,"date":"2024-10-31T13:54:09","date_gmt":"2024-10-31T04:54:09","guid":{"rendered":"https:\/\/uapisupport.travelport.co.kr\/?page_id=2683"},"modified":"2026-03-04T17:24:13","modified_gmt":"2026-03-04T08:24:13","slug":"ndc-rule","status":"publish","type":"page","link":"https:\/\/uapisupport.travelport.co.kr\/?page_id=2683","title":{"rendered":"NDC Rule"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Overview :  ShortText ,  Structured \uc758 \ucc28\uc774 <\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Endpoint : https:\/\/api.pp.travelport.net\/11\/air\/farerule\/farerules\/fromoffer<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">ShortText<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Req<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">offerIdentifier = \"e6b6f555-66d2-4476-b051-84b3a5be4d64_PC\"\n\nstring urlWithParams = $\"{farerule_url}?offerIdentifier={offerIdentifier}&amp;fareRuleType=ShortText\";\n<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Rsp<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:java decode:true \">{\n    \"FareRuleListResponse\": {\n        \"@type\": \"FareRuleListResponse\",\n        \"transactionId\": \"56381957-db09-458a-9612-0453184e802e:p\",\n        \"FareRule\": [\n            {\n                \"@type\": \"FareRuleText\",\n                \"id\": \"OLEOGHT\",\n                \"Flight\": [\n                    {\n                        \"@type\": \"Flight\",\n                        \"FlightRef\": \"f1\"\n                    }\n                ],\n                \"TextFareRule\": [\n                    {\n                        \"name\": \"AWARD_ACCRUAL\",\n                        \"value\": \"ADT:Yes\"\n                    },\n                    {\n                        \"name\": \"BAGGAGEALLOWANCE_CARRYON\",\n                        \"value\": \"ADT:No\"\n                    },\n                    {\n                        \"name\": \"BAGGAGEALLOWANCE_CHECKED\",\n                        \"value\": \"ADT:No\"\n                    },\n                    {\n                        \"name\": \"CANCEL_AFTERDEPARTURE\",\n                        \"value\": \"ADT:No\"\n                    },\n                    {\n                        \"name\": \"CANCEL_BEFOREDEPARTURE\",\n                        \"value\": \"ADT:No\"\n                    },\n                    {\n                        \"name\": \"CHANGE_AFTERDEPARTURE\",\n                        \"value\": \"ADT:Yes against a fee\"\n                    },\n                    {\n                        \"name\": \"CHANGE_BEFOREDEPARTURE\",\n                        \"value\": \"ADT:Yes against a fee\"\n                    },\n                    {\n                        \"name\": \"DISCLAIMER\",\n                        \"value\": \"ADT:Food &amp; drinks: No&lt;\/br&gt;\\n\\nUnderseat bag: 40x30x15 cm\"\n                    },\n                    {\n                        \"name\": \"LOUNGEACCESS\",\n                        \"value\": \"ADT:No\"\n                    },\n                    {\n                        \"name\": \"PRIORITY_BOARDING\",\n                        \"value\": \"ADT:No\"\n                    },\n                    {\n                        \"name\": \"PRIORITY_SECURITY\",\n                        \"value\": \"ADT:No\"\n                    }\n                ]\n            }\n        ],\n        \"Identifier\": {\n            \"value\": \"e6b6f555-66d2-4476-b051-84b3a5be4d64_PC_FR\"\n        },\n        \"ReferenceList\": [\n            {\n                \"@type\": \"ReferenceListFlight\",\n                \"Flight\": [\n                    {\n                        \"@type\": \"Flight\",\n                        \"stops\": 0,\n                        \"duration\": \"PT1H50M\",\n                        \"carrier\": \"SK\",\n                        \"number\": \"500\",\n                        \"operatingCarrier\": \"SK\",\n                        \"operatingCarrierName\": \"SCANDINAVIAN AIRLINES\",\n                        \"equipment\": \"32N\",\n                        \"id\": \"f1\",\n                        \"FlightRef\": \"f1\",\n                        \"Identifier\": {\n                            \"value\": \"SEG2\"\n                        },\n                        \"Departure\": {\n                            \"@type\": \"DepartureDetail\",\n                            \"terminal\": \"2\",\n                            \"location\": \"LHR\",\n                            \"date\": \"2025-03-12\",\n                            \"time\": \"06:40:00\"\n                        },\n                        \"Arrival\": {\n                            \"@type\": \"ArrivalDetail\",\n                            \"terminal\": \"3\",\n                            \"location\": \"CPH\",\n                            \"date\": \"2025-03-12\",\n                            \"time\": \"09:30:00\"\n                        }\n                    }\n                ]\n            }\n        ]\n    }\n}<\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"562\" height=\"407\" src=\"https:\/\/uapisupport.travelport.co.kr\/wp-content\/uploads\/2024\/10\/image-13.png\" alt=\"\" class=\"wp-image-2685\" srcset=\"https:\/\/uapisupport.travelport.co.kr\/wp-content\/uploads\/2024\/10\/image-13.png 562w, https:\/\/uapisupport.travelport.co.kr\/wp-content\/uploads\/2024\/10\/image-13-300x217.png 300w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Structured<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">Req<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:xhtml decode:true \">offerIdentifier = \"d8ddedb4-fdea-4f95-8fb9-18934421546c_PC\"\n\nstring urlWithParams = $\"{farerule_url}?offerIdentifier={offerIdentifier}&amp;fareRuleType=Structured\";\n<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Rsp<\/h2>\n\n\n\n<div class=\"wp-block-urvanov-syntax-highlighter-code-block\"><pre class=\"lang:java decode:true \">{\n    \"FareRuleListResponse\": {\n        \"@type\": \"FareRuleListResponse\",\n        \"transactionId\": \"25c43f23-9ad9-49d9-904d-8376e5d6d4dd:p\",\n        \"FareRule\": [\n            {\n                \"@type\": \"FareRuleStructured\",\n                \"Flight\": [\n                    {\n                        \"@type\": \"Flight\",\n                        \"FlightRef\": \"f1\"\n                    }\n                ],\n                \"StructuredFareRules\": [\n                    {\n                        \"@type\": \"StructuredFareRules\",\n                        \"Penalties\": [\n                            {\n                                \"@type\": \"Penalties\",\n                                \"Change\": [\n                                    {\n                                        \"@type\": \"ChangeNotPermitted\"\n                                    },\n                                    {\n                                        \"@type\": \"ChangePermitted\",\n                                        \"penaltyTypes\": [\n                                            \"BeforeDeparture\",\n                                            \"ExchangeRequired\"\n                                        ],\n                                        \"Penalty\": [\n                                            {\n                                                \"@type\": \"PenaltyAmount\",\n                                                \"Amount\": {\n                                                    \"code\": \"KRW\",\n                                                    \"value\": 119900\n                                                }\n                                            }\n                                        ]\n                                    }\n                                ],\n                                \"Cancel\": [\n                                    {\n                                        \"@type\": \"CancelNotPermitted\"\n                                    },\n                                    {\n                                        \"@type\": \"CancelPermitted\",\n                                        \"penaltyTypes\": [\n                                            \"BeforeDeparture\"\n                                        ],\n                                        \"Penalty\": [\n                                            {\n                                                \"@type\": \"PenaltyAmount\",\n                                                \"Amount\": {\n                                                    \"code\": \"KRW\",\n                                                    \"value\": 119900\n                                                }\n                                            }\n                                        ]\n                                    }\n                                ],\n                                \"Waiver\": [\n                                    \"DeathOfPassenger\",\n                                    \"IllnessOfPassenger\"\n                                ],\n                                \"PassengerTypeCodes\": [\n                                    \"ADT\"\n                                ]\n                            }\n                        ]\n                    }\n                ]\n            }\n        ],\n        \"Identifier\": {\n            \"value\": \"d8ddedb4-fdea-4f95-8fb9-18934421546c_PC_FR\"\n        },\n        \"ReferenceList\": [\n            {\n                \"@type\": \"ReferenceListFlight\",\n                \"Flight\": [\n                    {\n                        \"@type\": \"Flight\",\n                        \"stops\": 0,\n                        \"duration\": \"PT1H55M\",\n                        \"carrier\": \"SK\",\n                        \"number\": \"502\",\n                        \"operatingCarrier\": \"SK\",\n                        \"operatingCarrierName\": \"SCANDINAVIAN AIRLINES\",\n                        \"equipment\": \"32N\",\n                        \"id\": \"f1\",\n                        \"Identifier\": {\n                            \"value\": \"SEG3\"\n                        },\n                        \"Departure\": {\n                            \"@type\": \"DepartureDetail\",\n                            \"terminal\": \"2\",\n                            \"location\": \"LHR\",\n                            \"date\": \"2025-03-12\",\n                            \"time\": \"10:20:00\"\n                        },\n                        \"Arrival\": {\n                            \"@type\": \"ArrivalDetail\",\n                            \"terminal\": \"3\",\n                            \"location\": \"CPH\",\n                            \"date\": \"2025-03-12\",\n                            \"time\": \"13:15:00\"\n                        }\n                    }\n                ]\n            }\n        ]\n    }\n}<\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1019\" height=\"334\" src=\"https:\/\/uapisupport.travelport.co.kr\/wp-content\/uploads\/2024\/10\/image-12.png\" alt=\"\" class=\"wp-image-2684\" srcset=\"https:\/\/uapisupport.travelport.co.kr\/wp-content\/uploads\/2024\/10\/image-12.png 1019w, https:\/\/uapisupport.travelport.co.kr\/wp-content\/uploads\/2024\/10\/image-12-300x98.png 300w, https:\/\/uapisupport.travelport.co.kr\/wp-content\/uploads\/2024\/10\/image-12-768x252.png 768w\" sizes=\"auto, (max-width: 1019px) 100vw, 1019px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Overview : ShortText , Structured \uc758 \ucc28\uc774 ShortText Req Rsp Structured Req Rsp<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2683","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/uapisupport.travelport.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/2683","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uapisupport.travelport.co.kr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/uapisupport.travelport.co.kr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/uapisupport.travelport.co.kr\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/uapisupport.travelport.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2683"}],"version-history":[{"count":7,"href":"https:\/\/uapisupport.travelport.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/2683\/revisions"}],"predecessor-version":[{"id":3187,"href":"https:\/\/uapisupport.travelport.co.kr\/index.php?rest_route=\/wp\/v2\/pages\/2683\/revisions\/3187"}],"wp:attachment":[{"href":"https:\/\/uapisupport.travelport.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2683"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}