Created
March 24, 2020 08:07
-
-
Save anharusp/4aae4d7a5d6239d4e5577975408ba7ae to your computer and use it in GitHub Desktop.
graphql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| POST /api/basketapi/en-gb/graphql HTTP/1.1 | |
| Host: www.ryanair.com | |
| User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 | |
| Accept: application/json, text/plain, */* | |
| Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3 | |
| Accept-Encoding: gzip, deflate | |
| Referer: https://www.ryanair.com/gb/en/trip/flights/select?adults=2&teens=1&children=0&infants=0&dateOut=2020-05-16&dateIn=2020-05-24&originIata=BRU&destinationIata=DUB&isConnectedFlight=false&isReturn=true&discount=0&tpAdults=2&tpTeens=1&tpChildren=0&tpInfants=0&tpStartDate=2020-05-16&tpEndDate=2020-05-24&tpOriginIata=BRU&tpDestinationIata=DUB&tpIsConnectedFlight=false&tpIsReturn=true&tpDiscount=0 | |
| Content-Type: application/json | |
| Content-Length: 3803 | |
| Connection: close | |
| Cookie: fr-correlation-id=1f08fbd0-b67e-4e31-be6b-a8a9ef4c3130; fr-correlation-id.sig=CET3aTgcyVrnsklEFJdB1QqqQYk; mkt=/gb/en/; AMCV_64456A9C54FA26ED0A4C98A5%40AdobeOrg=-330454231%7CMCIDTS%7C18346%7CMCMID%7C49500390606886570233355230031589705552%7CMCAAMLH-1585641889%7C6%7CMCAAMB-1585641889%7CRKhpRz8krg2tLO6pguXWp5olkAcUniQYPHaMWWgdJ3xzPWQmdj0y%7CMCOPTOUT-1585044289s%7CNONE%7CMCAID%7CNONE%7CvVersion%7C3.1.2; bid_FRwdAp7a9G2cnLnTsgyBNeduseKcPcRy=2d74c428-9df1-4f7f-901a-7a25d9b55d53; AMCVS_64456A9C54FA26ED0A4C98A5%40AdobeOrg=1; visitorID=49500390606886570233355230031589705552; _ga=GA1.2.1509441617.1585037012; _gid=GA1.2.1599976242.1585037012; _hjid=68601cbe-de45-4f33-8814-d5faf766d74d; _hjIncludedInSample=1; s_ecid=MCMID%7C49500390606886570233355230031589705552; s_cc=true; RY_COOKIE_CONSENT=1; RYANSESSION=Xnm@8AqhAboAAFCMQZAAAAAX; check=true; mbox=session#6662bd4921b4486e8a7a0693a5d65b45#1585038904|PC#6662bd4921b4486e8a7a0693a5d65b45.22_0#1648281844; s_nr2=1585037083924-New; ctr=ru; _sdsat_searchCityPair=SVO>MLA>SVO; _sdsat_searchDepartureDate=29/03/2020; _sdsat_searchPartyCombination=1:0:0:0; s_sq=%5B%5BB%5D%5D; agso=AY4sKy8BAOMs_RzKz9dIT0tWssxVYh0.; agsd=JO8tLmWcQgBvJxSBByZbf5xIwzqQ8hWULxfcs57Lzl1IRaSU; agsn=CKhehcZbnSsPskvi1DoDFq4vJLi0QCH0w6PkgsBYnlM.; agsy=ATgrOZ4BAIFS_RzKz9dI-VRGLg.. | |
| {"query":"mutation CreateBooking($basketId: String, $createBooking: CreateBookingInput!, $culture: String!) {\n createBooking(basketId: $basketId, createBooking: $createBooking, culture: $culture) {\n ...BasketCommon\n }\n}\n\nfragment BasketCommon on BasketType {\n id\n dotrezSessionId\n currency\n gettingThere {\n ...GettingTherePillar\n }\n stayingThere {\n ...StayingTherePillar\n }\n price {\n ...TotalCommon\n }\n payLater {\n ...PayLaterCommon\n }\n totalToPay\n}\n\nfragment GettingTherePillar on GettingThereType {\n ...PillarCommon\n journeys {\n ... on JourneyType {\n arrival\n departure\n destination\n duration\n fareClass\n fareKey\n fareOption\n flightKey\n flightNumber\n isConnecting\n isDomestic\n journeyNum\n origin\n segments {\n ... on SegmentType {\n arrival\n departure\n destination\n duration\n flightNumber\n segmentNum\n origin\n }\n }\n }\n }\n discounts {\n ... on DiscountType {\n amount\n code\n journeyNum\n percentage\n zone\n }\n }\n taxes {\n ... on TaxType {\n amount\n code\n journeyNum\n percentage\n zone\n }\n }\n components {\n ... on ComponentType {\n ...ComponentCommon\n variant {\n ...VariantUnionAddOn\n ...VariantUnionFare\n ...VariantUnionSsr\n ...VariantUnionSeat\n ...VariantGroundTransfer\n }\n }\n }\n}\n\nfragment PillarCommon on PillarInterface {\n price {\n ...TotalCommon\n }\n}\n\nfragment TotalCommon on PriceType {\n total\n}\n\nfragment ComponentCommon on ComponentType {\n id\n parentId\n code\n type\n quantity\n removable\n price {\n ...PriceCommon\n }\n}\n\nfragment PriceCommon on PriceType {\n amountWithTaxes\n total\n discount\n discountCode\n}\n\nfragment VariantUnionAddOn on VariantUnionType {\n ... on AddOn {\n itemId\n provider\n paxNumber\n pax\n src\n start\n end\n }\n}\n\nfragment VariantUnionFare on VariantUnionType {\n ... on Fare {\n fareOption\n journeyNumber\n }\n}\n\nfragment VariantUnionSsr on VariantUnionType {\n ... on Ssr {\n journeyNumber\n paxNumber\n segmentNumber\n }\n}\n\nfragment VariantUnionSeat on VariantUnionType {\n ... on Seat {\n paxNumber\n journeyNumber\n segmentNumber\n seatType\n designator\n childSeatsWithAdult\n hasAdditionalSeatCost\n }\n}\n\nfragment VariantGroundTransfer on VariantUnionType {\n ... on GroundTransfer {\n pickUpLocation\n dropOffLocation\n routeType\n startDate\n endDate\n itemId\n location\n }\n}\n\nfragment StayingTherePillar on StayingThereType {\n ...PillarCommon\n components {\n ...ComponentCommon\n price {\n ...PriceCommon\n fat\n amount\n }\n payLater {\n ...PriceCommon\n fat\n amount\n }\n variant {\n ... on Hotel {\n hotelName\n reservationDescription\n countryCode\n city\n startDate\n endDate\n provider\n guestTotals {\n adults\n children\n }\n }\n }\n }\n payLater {\n total\n }\n}\n\nfragment PayLaterCommon on PriceType {\n total\n}\n","variables":{"createBooking":{"adults":2,"children":0,"infants":0,"teens":1,"flights":[{"fareKey":"BDBAGXVMNZYJNW4AZJGZOJBY4M7IW44QRXN5XMNASWNJ6G6V5JUVMQ44N6KRJUPFUPBPAIDZHDGBYHQ5AHGVW6B7XIZGM5ENFPCAT4KODS2DILFSSPH2Z234IRQGXEWKQJEKOI75CSZQVHFY3BNZE47T4YIAR3JH7AQVG7UHE5TBS445KZ6A","flightKey":"FR~1453~ ~~BRU~05/16/2020 09:55~DUB~05/16/2020 10:40~~","fareOption":null}],"discount":0},"culture":"en-gb"},"operationName":"CreateBooking"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment