{"id":322,"date":"2018-10-18T17:57:48","date_gmt":"2018-10-18T08:57:48","guid":{"rendered":"https:\/\/uapi.ihavenomoney.co.kr\/?p=322"},"modified":"2018-10-18T18:00:22","modified_gmt":"2018-10-18T09:00:22","slug":"privatefare-rule-search","status":"publish","type":"post","link":"https:\/\/uapi.ihavenomoney.co.kr\/?p=322","title":{"rendered":"PrivateFare Rule Search"},"content":{"rendered":"<p>In case the airline PrivateFare, Key dose&#8217;t like key. <\/p>\n<pre class=\"lang:xhtml decode:true \" >&lt;air:FareInfo Key=\"UL3SKZpB0BKAbMDeecAAAA==\" FareBasis=\"SL15SEL2\" PassengerTypeCode=\"ADT\" Origin=\"SEL\" Destination=\"BKK\" EffectiveDate=\"2018-10-18T15:01:51.000+09:00\" DepartureDate=\"2018-11-08\" PrivateFare=\"PrivateFare\"&gt;\r\n               &lt;air:FareRuleKey FareInfoRef=\"UL3SKZpB0BKAbMDeecAAAA==\" ProviderCode=\"1P\"&gt;dir-SEL^BKK^2018312^ALL^SL15SEL2^NX^^&lt;\/air:FareRuleKey&gt;\r\n            &lt;\/air:FareInfo&gt;\r\n\r\n<\/pre>\n<p>solution:<\/p>\n<pre class=\"lang:xhtml decode:true \" >\r\n#1. Pricing and Find key\r\n&lt;air:AirPriceRsp  \u2026\u2026\r\n&lt;air:FareRuleKey FareInfoRef=\"s+K9JZBAAA\/BGLXCjcAAAA==\" ProviderCode=\"1P\"&gt; AwSkuIqsiEeZo+JnnQQ39jE2mcaiVi5\/AdVi2nimAV9w+k40754m9V+O6Lfct+BLmIC\/\/IRf4rKtDvUuxA7NBg==&lt;\/&lt;\/air:FareRuleKey&gt;\r\n\r\n#2. ATD Rule = CNN Rule\t\r\n&lt;soapenv:Envelope xmlns:soapenv=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\" \r\nxmlns:ns1=\"http:\/\/www.travelport.com\/schema\/common_v40_0\" \r\nxmlns:ns2=\"http:\/\/www.travelport.com\/schema\/air_v40_0\"&gt;\r\n&lt;soapenv:Body&gt;\r\n    &lt;ns2:AirFareRulesReq  FareRuleType=\"long\" TargetBranch=\"P111118\"&gt;\r\n  &lt;ns1:BillingPointOfSaleInfo OriginApplication=\"UAPI\" \/&gt; \r\n  &lt;ns2:FareRuleLookup Origin=\"ICN\" Destination=\"BKK\" Carrier=\"NX\" FareBasis=\"SL15SEL2\/CH00\" ProviderCode=\"1P\" \/&gt; \r\n  &lt;\/ns2:AirFareRulesReq&gt;\r\n  &lt;\/soapenv:Body&gt;\r\n&lt;\/soapenv:Envelope&gt;\r\n\r\n#3. Search AirFareDisplayReq  and Find AirFareDisplayRuleKey \r\n&lt;soap:Envelope xmlns:soap=\"http:\/\/schemas.xmlsoap.org\/soap\/envelope\/\"&gt;\r\n&lt;soap:Body&gt;\r\n&lt;ns2:AirFareDisplayReq xmlns=\"http:\/\/www.travelport.com\/schema\/common_v40_0\" \r\n xmlns:ns2=\"http:\/\/www.travelport.com\/schema\/air_v40_0\" Origin=\"ICN\" Destination=\"BKK\" \r\n ProviderCode=\"1P\" TargetBranch=\"P1111118\"&gt;\r\n  &lt;BillingPointOfSaleInfo OriginApplication=\"UAPI\" \/&gt; \r\n  &lt;ns2:PassengerType Code=\"ADT\" \/&gt; \r\n  &lt;Carrier Code=\"NX\" \/&gt; \r\n  &lt;ns2:AirFareDisplayModifiers MaxResponses=\"150\"  DepartureDate=\"2018-11-08\" ReturnDate=\"2018-11-12\" FaresIndicator=\"PrivateFares\" \r\n  BaseFareOnly=\"false\" UnrestrictedFaresOnly=\"false\" CurrencyType=\"KRW\" \/&gt; \r\n  &lt;\/ns2:AirFareDisplayReq&gt;\r\n  &lt;\/soap:Body&gt;\r\n&lt;\/soap:Envelope&gt;\r\n\r\nResult\r\n&lt;air:FareDisplay Carrier=\"NX\" FareBasis=\"SL15SEL2\" Amount=\"KRW190000\" TripType=\"ReturnOnly\" MileOrRouteBasedFare=\"Mile\" GlobalIndicator=\"EH\" Origin=\"SEL\" Destination=\"BKK\"&gt;\r\n            &lt;air:FareDisplayRule RuleNumber=\"KRE5\"&gt;\r\n               &lt;air:RuleAdvancedPurchase\/&gt;\r\n               &lt;air:RuleLengthOfStay&gt;\r\n                  &lt;air:MinimumStay Length=\"2\" StayUnit=\"Days\"\/&gt;\r\n                  &lt;air:MaximumStay Length=\"15\" StayUnit=\"Days\"\/&gt;\r\n               &lt;\/air:RuleLengthOfStay&gt;\r\n               &lt;air:RuleCharges PenaltyType=\"Penalty\" MoreRulesPresent=\"true\"\/&gt;\r\n            &lt;\/air:FareDisplayRule&gt;\r\n            &lt;air:FarePricing PassengerType=\"ADT\" TotalFareAmount=\"KRW190000\" PrivateFare=\"true\" NegotiatedFare=\"false\"\/&gt;\r\n            &lt;air:FareRestriction&gt;\r\n               &lt;air:FareRestrictionDate StartDate=\"2018-08-07\" EndDate=\"2018-12-19\" EndDateIndicator=\"Commence\"\/&gt;\r\n            &lt;\/air:FareRestriction&gt;\r\n            &lt;air:AirFareDisplayRuleKey ProviderCode=\"1P\"&gt;AwSkuIqsiEeZo+JnnQQ39jE2mcaiVi5\/AdVi2nimAV9w+k40754m9V+O6Lfct+BLmIC\/\/IRf4rKtDvUuxA7NBg==&lt;\/air:AirFareDisplayRuleKey&gt;\r\n            &lt;air:BookingCode Code=\"S\"\/&gt;\r\n         &lt;\/air:FareDisplay&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>In case the airline PrivateFare, Key dose&#8217;t like key. &lt;air:FareInfo Key=&#8221;UL3SKZpB0BKAbMDeecAAAA==&#8221; FareBasis=&#8221;SL15SEL2&#8243; PassengerTypeCode=&#8221;ADT&#8221; Origin=&#8221;SEL&#8221; Destination=&#8221;BKK&#8221; EffectiveDate=&#8221;2018-10-18T15:01:51.000+09:00&#8243; DepartureDate=&#8221;2018-11-08&#8243; PrivateFare=&#8221;PrivateFare&#8221;&gt; &lt;air:FareRuleKey FareInfoRef=&#8221;UL3SKZpB0BKAbMDeecAAAA==&#8221; ProviderCode=&#8221;1P&#8221;&gt;dir-SEL^BKK^2018312^ALL^SL15SEL2^NX^^&lt;\/air:FareRuleKey&gt; &lt;\/air:FareInfo&gt; solution: #1. Pricing <a class=\"mh-excerpt-more\" href=\"https:\/\/uapi.ihavenomoney.co.kr\/?p=322\" title=\"PrivateFare Rule Search\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-322","post","type-post","status-publish","format-standard","hentry","category-airfarerules"],"_links":{"self":[{"href":"https:\/\/uapi.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/322","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/uapi.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/uapi.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/uapi.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/uapi.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=322"}],"version-history":[{"count":2,"href":"https:\/\/uapi.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/322\/revisions"}],"predecessor-version":[{"id":325,"href":"https:\/\/uapi.ihavenomoney.co.kr\/index.php?rest_route=\/wp\/v2\/posts\/322\/revisions\/325"}],"wp:attachment":[{"href":"https:\/\/uapi.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/uapi.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/uapi.ihavenomoney.co.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}