Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "success": 1,
- "data": {
- "id": 16,
- "key": "16GNY42",
- "pnrs": [
- {
- "pnr": "1D2L9I",
- "expiryDatetime": "2019-01-31T23:59:00.000+07:00",
- "journeyIndex": 0
- },
- {
- "pnr": "1CVM0A",
- "expiryDatetime": "2019-03-25T23:59:00.000+07:00",
- "journeyIndex": 0
- }
- ],
- "reservation": {
- "id": "b411e1ed-0743-4489-a2af-f57cecb53c3c",
- "currency": {
- "code": "THB",
- "name": "Thai Baht"
- },
- "totalAmount": 2088.48,
- "paid": false,
- "reserved": true,
- "journeys": [
- {
- "id": "d492d7d7-c65c-4a1a-86cb-d6be0c02608d",
- "bookingKey": "4669b64480927e006643da3b672288c76d3602ea",
- "flight": {
- "bookingKey": "4669b64480927e006643da3b672288c76d3602ea",
- "flightType": "OW",
- "from": "DMK",
- "to": "CNX",
- "availability": null,
- "departureDate": "2019-05-20T09:40:00.000+07:00",
- "returnDate": "2019-05-20T09:40:00.000+07:00",
- "journeys": [
- {
- "numberOfStop": 0,
- "tripDuration": 75,
- "fareBasis": "XLTOW",
- "tourCode": "",
- "accountCode": "",
- "segments": [
- {
- "rbd": "X",
- "flightDetail": {
- "sourceAirport": "DMK",
- "destinationAirport": "CNX",
- "airlineId": "SL",
- "flightNumber": "506",
- "departureDatetime": "2019-05-20T09:40:00.000+07:00",
- "arrivalDatetime": "2019-05-20T10:55:00.000+07:00"
- },
- "aircraftModel": {
- "name": "739"
- },
- "cabinClass": "Economy"
- }
- ]
- }
- ],
- "fareDetail": {
- "routeFare": {
- "tax": 350,
- "sellingFarePrice": 684.02,
- "sellingPrice": 1034.02,
- "fullFarePrice": 717.21,
- "fullPrice": 1067.21,
- "bigbonusFarePrice": 683.02,
- "bigbonusPrice": 1033.02
- },
- "currency": {
- "code": "THB"
- }
- }
- },
- "journeyIndex": 0,
- "bookingInfo": [
- {
- "id": "6035dac5-33cf-460a-aa46-971a17e63352",
- "passenger": {
- "uuid": "6734ac96-2c26-4294-811d-15b25bf1fa85",
- "type": "adult",
- "passport": {
- "id": "a73ebb14-ce58-418f-ba87-5620cddf2185",
- "number": "",
- "expiryDate": "",
- "issuingCountry": {
- "code": null
- }
- },
- "title": "MR",
- "firstname": "PHIPHAT",
- "lastname": "JARUNGRUANGKIAT",
- "middlename": "",
- "identificationNumber": "3100800550513",
- "birthDate": "1990-05-24",
- "nationCountry": {
- "code": "TH"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 995,
- "netPrice": 995,
- "sellingPrice": 1034.02,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 350,
- "netPrice": 350,
- "fullPrice": 350,
- "sellingPrice": 350,
- "bigbonusPrice": -1
- },
- {
- "category": "FARE",
- "basePrice": 645,
- "netPrice": 645,
- "fullPrice": 717.21,
- "sellingPrice": 684.02,
- "bigbonusPrice": 683.02
- }
- ]
- }
- ]
- },
- {
- "id": "c9cc4b46-b2c3-41d0-8e8b-7478adb9ca8f",
- "bookingKey": "7b87120169f7f1f1509bf1ad158cefd806aaa11d",
- "flight": {
- "bookingKey": "7b87120169f7f1f1509bf1ad158cefd806aaa11d",
- "flightType": "OW",
- "from": "CNX",
- "to": "BKK",
- "availability": null,
- "departureDate": "2019-05-24T10:40:00.000+07:00",
- "returnDate": "2019-05-24T10:40:00.000+07:00",
- "journeys": [
- {
- "numberOfStop": 0,
- "tripDuration": 70,
- "fareBasis": "W2AOTH",
- "tourCode": "",
- "accountCode": "",
- "segments": [
- {
- "rbd": "W",
- "flightDetail": {
- "sourceAirport": "CNX",
- "destinationAirport": "BKK",
- "airlineId": "TG",
- "flightNumber": "105",
- "departureDatetime": "2019-05-24T10:40:00.000+07:00",
- "arrivalDatetime": "2019-05-24T11:50:00.000+07:00"
- },
- "aircraftModel": {
- "name": "330"
- },
- "cabinClass": "Economy"
- }
- ]
- }
- ],
- "fareDetail": {
- "routeFare": {
- "tax": 100,
- "sellingFarePrice": 954.46,
- "sellingPrice": 1054.46,
- "fullFarePrice": 1000.76,
- "fullPrice": 1100.76,
- "bigbonusFarePrice": 952.46,
- "bigbonusPrice": 1052.46
- },
- "currency": {
- "code": "THB"
- }
- }
- },
- "journeyIndex": 1,
- "bookingInfo": [
- {
- "id": "488b09ef-e753-4de1-8724-1ca4523b3db8",
- "passenger": {
- "uuid": "6734ac96-2c26-4294-811d-15b25bf1fa85",
- "type": "adult",
- "passport": {
- "id": "a73ebb14-ce58-418f-ba87-5620cddf2185",
- "number": "",
- "expiryDate": "",
- "issuingCountry": {
- "code": null
- }
- },
- "title": "MR",
- "firstname": "PHIPHAT",
- "lastname": "JARUNGRUANGKIAT",
- "middlename": "",
- "identificationNumber": "3100800550513",
- "birthDate": "1990-05-24",
- "nationCountry": {
- "code": "TH"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 1000,
- "netPrice": 1000,
- "sellingPrice": 1054.46,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 100,
- "netPrice": 100,
- "fullPrice": 100,
- "sellingPrice": 100,
- "bigbonusPrice": -1
- },
- {
- "category": "FARE",
- "basePrice": 900,
- "netPrice": 900,
- "fullPrice": 1000.76,
- "sellingPrice": 954.46,
- "bigbonusPrice": 952.46
- }
- ]
- }
- ]
- }
- ],
- "contactInfo": {
- "title": {
- "id": 1,
- "title": "MR"
- },
- "firstname": "PHIPHAT",
- "middlename": "",
- "lastname": "JARUNGRUANGKIAT",
- "phoneCountryCode": {
- "id": 1,
- "code": "66",
- "country": {
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- "phoneNumber": "0816551979",
- "email": "lnwdev@gmail.com"
- },
- "createdAt": "2019-01-24T12:39:21.000Z"
- }
- },
- "data_mapping": {
- "airlines": [
- {
- "code": "TG",
- "name": {
- "en": "Thai Airways",
- "th": "การบินไทย"
- },
- "primaryIconUrl": "https://assets-flight.thaitravelcenter.com/airlines/TG.png",
- "secondaryIconUrl": "https://assets-flight.thaitravelcenter.com/airlines/TG.png",
- "colorCode": "2D0D5C"
- },
- {
- "code": "SL",
- "name": {
- "en": "Thai Lion Air",
- "th": "ไทยไลอ้อนแอร์"
- },
- "primaryIconUrl": "https://assets-flight.thaitravelcenter.com/airlines/SL.png",
- "secondaryIconUrl": "https://assets-flight.thaitravelcenter.com/airlines/SL.png",
- "colorCode": "440099"
- }
- ],
- "airports": [
- {
- "code": "DMK",
- "name": "Don Mueang International Airport",
- "latitude": "13.91259956",
- "longitude": "100.6070023",
- "airport_picture_url": null,
- "city": {
- "code": "BKK",
- "name": "Bangkok"
- },
- "country": {
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- {
- "code": "BKK",
- "name": "Suvarnabhumi Airport",
- "latitude": "13.68109989",
- "longitude": "100.7470016",
- "airport_picture_url": null,
- "city": {
- "code": "BKK",
- "name": "Bangkok"
- },
- "country": {
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- {
- "code": "CNX",
- "name": "Chiang Mai International Airport",
- "latitude": "18.76679993",
- "longitude": "98.96260071",
- "airport_picture_url": null,
- "city": {
- "code": "CNX",
- "name": "Chiang Mai"
- },
- "country": {
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- }
- ]
- },
- "data_urls": {
- "callback": "https://api-flight.thaitravelcenter.com/payment"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement