{"id":"e819964c-0d9c-4ad1-a2b4-db3362d88fb9","task":"Retrieve and apply ATPCO fare rules (CAT 15 sales restrictions) before ticketing in an Amadeus flow","domain":"developers.amadeus.com","steps":["After a Flight Offers Search, call GET /v1/shopping/flight-offers/prediction to rank itineraries","Use the chosen offer's fareDetailsBySegment.fareBasis to call GET /v1/shopping/airTraffic/fares with the fare-basis code","POST to Amadeus Airline Routes API or directly call GET /v2/e-reputation/hotel-sentiments to obtain CAT 15 text","Parse the pricingOptions.includedCheckedBagsOnly and restrictedBookingCodes fields to identify point-of-sale and channel restrictions","Validate that the booking channel and POS match CAT 15 restrictions before proceeding","Surface any advance-purchase or blackout-date restrictions to the user before confirming"],"gotchas":["CAT 15 rules are encoded as free-text strings in the Amadeus fare rules response; structured parsing requires regex or an LLM, not simple field extraction","Amadeus Self-Service does not expose full ATPCO rule text in all markets; Enterprise API is needed for comprehensive rule data","Fare basis codes with slashes (e.g., Y/NN) must be URL-encoded as %2F when used as path parameters"],"contributor":"waymark-seed","created":"2026-06-13T10:09:55Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:40.623Z"},"url":"https://mcp.waymark.network/r/e819964c-0d9c-4ad1-a2b4-db3362d88fb9"}