Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "success": 1,
- "data": {
- "id": 11,
- "key": "11DMH3G",
- "pnrs": [
- {
- "pnr": "DGX1GI",
- "expiryDatetime": "2019-03-31T23:59:00.000+07:00",
- "journeyIndex": 0
- },
- {
- "pnr": "DGX1GI",
- "expiryDatetime": "2019-03-31T23:59:00.000+07:00",
- "journeyIndex": 1
- }
- ],
- "reservation": {
- "id": "211ac008-9180-4894-9bdb-52fb8b03f908",
- "currency": {
- "code": "THB",
- "name": "Thai Baht"
- },
- "totalAmount": 22969.629999999997,
- "paid": false,
- "reserved": true,
- "journeys": [
- {
- "id": "216dbf68-5a6b-4ee7-ae5a-cf5d5a3fc8b3",
- "bookingKey": "b1583ed6bf2db5cf0ca2fdc6bee66175d3fa1464",
- "flight": {
- "bookingKey": "b1583ed6bf2db5cf0ca2fdc6bee66175d3fa1464",
- "flightType": "RT",
- "from": "BKK",
- "to": "LHR",
- "availability": null,
- "departureDate": "2019-05-21T19:30:00.000+07:00",
- "returnDate": "2019-05-25T11:00:00.000+01:00",
- "journeys": [
- {
- "numberOfStop": 1,
- "tripDuration": 1065,
- "fareBasis": "P3MASFP",
- "tourCode": "TH190111F",
- "accountCode": "",
- "segments": [
- {
- "rbd": "N",
- "flightDetail": {
- "sourceAirport": "BKK",
- "destinationAirport": "SGN",
- "airlineId": "VN",
- "flightNumber": "606",
- "departureDatetime": "2019-05-21T19:30:00.000+07:00",
- "arrivalDatetime": "2019-05-21T21:10:00.000+07:00"
- },
- "aircraftModel": {
- "name": "787"
- },
- "cabinClass": "Economy"
- },
- {
- "rbd": "P",
- "flightDetail": {
- "sourceAirport": "SGN",
- "destinationAirport": "LHR",
- "airlineId": "VN",
- "flightNumber": "51",
- "departureDatetime": "2019-05-22T00:25:00.000+07:00",
- "arrivalDatetime": "2019-05-22T07:15:00.000+01:00"
- },
- "aircraftModel": {
- "name": "787"
- },
- "cabinClass": "Economy"
- }
- ]
- },
- {
- "numberOfStop": 1,
- "tripDuration": 1040,
- "fareBasis": "P3MASFP",
- "tourCode": "TH190111F",
- "accountCode": "",
- "segments": [
- {
- "rbd": "P",
- "flightDetail": {
- "sourceAirport": "LHR",
- "destinationAirport": "SGN",
- "airlineId": "VN",
- "flightNumber": "50",
- "departureDatetime": "2019-05-25T11:00:00.000+01:00",
- "arrivalDatetime": "2019-05-26T06:15:00.000+07:00"
- },
- "aircraftModel": {
- "name": "787"
- },
- "cabinClass": "Economy"
- },
- {
- "rbd": "N",
- "flightDetail": {
- "sourceAirport": "SGN",
- "destinationAirport": "BKK",
- "airlineId": "VN",
- "flightNumber": "601",
- "departureDatetime": "2019-05-26T08:45:00.000+07:00",
- "arrivalDatetime": "2019-05-26T10:20:00.000+07:00"
- },
- "aircraftModel": {
- "name": "321"
- },
- "cabinClass": "Economy"
- }
- ]
- }
- ],
- "fareDetail": {
- "routeFare": {
- "tax": 13585,
- "sellingFarePrice": 9384.63,
- "sellingPrice": 22969.629999999997,
- "fullFarePrice": 9839.92,
- "fullPrice": 23424.92,
- "bigbonusFarePrice": 9358.63,
- "bigbonusPrice": 22943.629999999997
- },
- "currency": {
- "code": "THB"
- }
- }
- },
- "journeyIndex": 0,
- "bookingInfo": [
- {
- "id": "18b3881b-c5fe-41c5-8123-4c7612e4b779",
- "passenger": {
- "uuid": "14489caf-78d7-4dc4-84a7-457c6b92c7a3",
- "type": "adult",
- "passport": {
- "id": "c7393fc8-d177-421e-a14c-c7bf3452f70d",
- "number": "KK12389",
- "expiryDate": "2021-11-25",
- "issuingCountry": {
- "code": "TH"
- }
- },
- "title": "MR",
- "firstname": "TAVERAT",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "2002-05-25",
- "nationCountry": {
- "code": "AF"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 22585,
- "netPrice": 22434.25,
- "sellingPrice": 22969.629999999997,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 13585,
- "netPrice": 13585,
- "fullPrice": 13585,
- "sellingPrice": 13585,
- "bigbonusPrice": -1
- },
- {
- "category": "FARE",
- "basePrice": 9000,
- "netPrice": 8849.25,
- "fullPrice": 9839.92,
- "sellingPrice": 9384.63,
- "bigbonusPrice": 9358.63
- }
- ]
- }
- ]
- },
- {
- "id": "5bd849c6-94c9-42e2-a00c-bd7dc90aef68",
- "bookingKey": "b1583ed6bf2db5cf0ca2fdc6bee66175d3fa1464",
- "flight": {
- "bookingKey": "b1583ed6bf2db5cf0ca2fdc6bee66175d3fa1464",
- "flightType": "RT",
- "from": "BKK",
- "to": "LHR",
- "availability": null,
- "departureDate": "2019-05-21T19:30:00.000+07:00",
- "returnDate": "2019-05-25T11:00:00.000+01:00",
- "journeys": [
- {
- "numberOfStop": 1,
- "tripDuration": 1065,
- "fareBasis": "P3MASFP",
- "tourCode": "TH190111F",
- "accountCode": "",
- "segments": [
- {
- "rbd": "N",
- "flightDetail": {
- "sourceAirport": "BKK",
- "destinationAirport": "SGN",
- "airlineId": "VN",
- "flightNumber": "606",
- "departureDatetime": "2019-05-21T19:30:00.000+07:00",
- "arrivalDatetime": "2019-05-21T21:10:00.000+07:00"
- },
- "aircraftModel": {
- "name": "787"
- },
- "cabinClass": "Economy"
- },
- {
- "rbd": "P",
- "flightDetail": {
- "sourceAirport": "SGN",
- "destinationAirport": "LHR",
- "airlineId": "VN",
- "flightNumber": "51",
- "departureDatetime": "2019-05-22T00:25:00.000+07:00",
- "arrivalDatetime": "2019-05-22T07:15:00.000+01:00"
- },
- "aircraftModel": {
- "name": "787"
- },
- "cabinClass": "Economy"
- }
- ]
- },
- {
- "numberOfStop": 1,
- "tripDuration": 1040,
- "fareBasis": "P3MASFP",
- "tourCode": "TH190111F",
- "accountCode": "",
- "segments": [
- {
- "rbd": "P",
- "flightDetail": {
- "sourceAirport": "LHR",
- "destinationAirport": "SGN",
- "airlineId": "VN",
- "flightNumber": "50",
- "departureDatetime": "2019-05-25T11:00:00.000+01:00",
- "arrivalDatetime": "2019-05-26T06:15:00.000+07:00"
- },
- "aircraftModel": {
- "name": "787"
- },
- "cabinClass": "Economy"
- },
- {
- "rbd": "N",
- "flightDetail": {
- "sourceAirport": "SGN",
- "destinationAirport": "BKK",
- "airlineId": "VN",
- "flightNumber": "601",
- "departureDatetime": "2019-05-26T08:45:00.000+07:00",
- "arrivalDatetime": "2019-05-26T10:20:00.000+07:00"
- },
- "aircraftModel": {
- "name": "321"
- },
- "cabinClass": "Economy"
- }
- ]
- }
- ],
- "fareDetail": {
- "routeFare": {
- "tax": 13585,
- "sellingFarePrice": 9384.63,
- "sellingPrice": 22969.629999999997,
- "fullFarePrice": 9839.92,
- "fullPrice": 23424.92,
- "bigbonusFarePrice": 9358.63,
- "bigbonusPrice": 22943.629999999997
- },
- "currency": {
- "code": "THB"
- }
- }
- },
- "journeyIndex": 1,
- "bookingInfo": [
- {
- "id": "abbb478b-0d73-476b-b0dc-86eb2a2fe845",
- "passenger": {
- "uuid": "14489caf-78d7-4dc4-84a7-457c6b92c7a3",
- "type": "adult",
- "passport": {
- "id": "c7393fc8-d177-421e-a14c-c7bf3452f70d",
- "number": "KK12389",
- "expiryDate": "2021-11-25",
- "issuingCountry": {
- "code": "TH"
- }
- },
- "title": "MR",
- "firstname": "TAVERAT",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "2002-05-25",
- "nationCountry": {
- "code": "AF"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 0,
- "netPrice": 0,
- "sellingPrice": 0,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 0,
- "netPrice": 0,
- "fullPrice": 0,
- "sellingPrice": 0,
- "bigbonusPrice": -1
- },
- {
- "category": "FARE",
- "basePrice": 0,
- "netPrice": 0,
- "fullPrice": 0,
- "sellingPrice": 0,
- "bigbonusPrice": -1
- }
- ]
- }
- ]
- }
- ],
- "contactInfo": {
- "title": {
- "id": 1,
- "title": "MR"
- },
- "firstname": "TAVERAT",
- "middlename": "",
- "lastname": "CHAIMAN",
- "phoneCountryCode": {
- "id": 1,
- "code": "66",
- "country": {
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- "phoneNumber": "83252994",
- "email": "Taverat.ch@gmail.com"
- },
- "createdAt": "2019-01-23T15:19:14.000Z"
- }
- },
- "data_mapping": {
- "airlines": [
- {
- "code": "VN",
- "name": {
- "en": "Vietnam Airlines",
- "th": "เวียดนาม แอร์ไลน์"
- },
- "primaryIconUrl": "https://assets-flight.thaitravelcenter.com/airlines/VN.png",
- "secondaryIconUrl": "https://assets-flight.thaitravelcenter.com/airlines/VN.png",
- "colorCode": "CA8D21"
- }
- ],
- "airports": [
- {
- "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": "LHR",
- "name": "London Heathrow Airport",
- "latitude": "51.4706",
- "longitude": "-0.461941",
- "airport_picture_url": null,
- "city": {
- "code": "LON",
- "name": "London"
- },
- "country": {
- "code": "GB",
- "name": "United Kingdom",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/262-united-kingdom.png"
- }
- },
- {
- "code": "SGN",
- "name": "Tan Son Nhat International Airport",
- "latitude": "10.81879997",
- "longitude": "106.6520004",
- "airport_picture_url": null,
- "city": {
- "code": "SGN",
- "name": "Ho Chi Minh City"
- },
- "country": {
- "code": "VN",
- "name": "Vietnam",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/164-vietnam.png"
- }
- }
- ]
- },
- "data_urls": {
- "callback": "https://api-flight.thaitravelcenter.com/payment"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement