Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "success": 1,
- "data": {
- "id": 37,
- "key": "37ANQVT",
- "pnrs": [
- {
- "pnr": "KX7H2U",
- "expiryDatetime": "2019-01-30T23:59:00.000+07:00",
- "journeyIndex": 0
- },
- {
- "pnr": "KX7H2U",
- "expiryDatetime": "2019-01-30T23:59:00.000+07:00",
- "journeyIndex": 1
- }
- ],
- "reservation": {
- "id": "dd9f9455-d44a-4718-b4fe-fb98cdfcc329",
- "currency": {
- "code": "THB",
- "name": "Thai Baht"
- },
- "totalAmount": 15852.85,
- "paid": false,
- "reserved": true,
- "journeys": [
- {
- "id": "20c70cb7-ed67-4878-a363-5831d6991c54",
- "bookingKey": "da1c6353a67b81e2edef3b843493b14c884ca6e6",
- "flight": {
- "bookingKey": "da1c6353a67b81e2edef3b843493b14c884ca6e6",
- "flightType": "RT",
- "from": "BKK",
- "to": "ICN",
- "availability": null,
- "departureDate": "2019-08-19T01:45:00.000+07:00",
- "returnDate": "2019-08-22T20:05:00.000+09:00",
- "journeys": [
- {
- "numberOfStop": 0,
- "tripDuration": 335,
- "fareBasis": "XOW7C",
- "tourCode": "",
- "accountCode": "",
- "segments": [
- {
- "rbd": "X",
- "flightDetail": {
- "sourceAirport": "BKK",
- "destinationAirport": "ICN",
- "airlineId": "H1",
- "flightNumber": "9860",
- "departureDatetime": "2019-08-19T01:45:00.000+07:00",
- "arrivalDatetime": "2019-08-19T09:20:00.000+09:00"
- },
- "aircraftModel": {
- "name": "737"
- },
- "cabinClass": "Economy"
- }
- ]
- },
- {
- "numberOfStop": 0,
- "tripDuration": 354,
- "fareBasis": "TOW7C",
- "tourCode": "",
- "accountCode": "",
- "segments": [
- {
- "rbd": "T",
- "flightDetail": {
- "sourceAirport": "ICN",
- "destinationAirport": "BKK",
- "airlineId": "H1",
- "flightNumber": "9857",
- "departureDatetime": "2019-08-22T20:05:00.000+09:00",
- "arrivalDatetime": "2019-08-22T23:59:00.000+07:00"
- },
- "aircraftModel": {
- "name": "737"
- },
- "cabinClass": "Economy"
- }
- ]
- }
- ],
- "fareDetail": {
- "routeFare": {
- "tax": 3445,
- "sellingFarePrice": 12407.85,
- "sellingPrice": 15852.85,
- "fullFarePrice": 13009.82,
- "fullPrice": 16454.82,
- "bigbonusFarePrice": 12372.85,
- "bigbonusPrice": 15817.85
- },
- "currency": {
- "code": "THB"
- }
- }
- },
- "journeyIndex": 0,
- "bookingInfo": [
- {
- "id": "a70432ae-1503-4f28-8b94-0590e6bfd8f6",
- "passenger": {
- "uuid": "50e27451-0b25-4440-b660-7735e280ac47",
- "type": "adult",
- "passport": {
- "id": "63ac09a3-1623-4726-a7af-18b3935d5b1c",
- "number": "AB12313",
- "expiryDate": "2020-02-22",
- "issuingCountry": {
- "code": "TH"
- }
- },
- "title": "MR",
- "firstname": "TAVERAT",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "2007-08-22",
- "nationCountry": {
- "code": "AF"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 15145,
- "netPrice": 15145,
- "sellingPrice": 15852.85,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 3445,
- "netPrice": 3445,
- "fullPrice": 3445,
- "sellingPrice": 3445,
- "bigbonusPrice": -1
- },
- {
- "category": "FARE",
- "basePrice": 11700,
- "netPrice": 11700,
- "fullPrice": 13009.82,
- "sellingPrice": 12407.85,
- "bigbonusPrice": 12372.85
- }
- ]
- }
- ]
- },
- {
- "id": "036a734c-0079-454a-866c-f5131549c760",
- "bookingKey": "da1c6353a67b81e2edef3b843493b14c884ca6e6",
- "flight": {
- "bookingKey": "da1c6353a67b81e2edef3b843493b14c884ca6e6",
- "flightType": "RT",
- "from": "BKK",
- "to": "ICN",
- "availability": null,
- "departureDate": "2019-08-19T01:45:00.000+07:00",
- "returnDate": "2019-08-22T20:05:00.000+09:00",
- "journeys": [
- {
- "numberOfStop": 0,
- "tripDuration": 335,
- "fareBasis": "XOW7C",
- "tourCode": "",
- "accountCode": "",
- "segments": [
- {
- "rbd": "X",
- "flightDetail": {
- "sourceAirport": "BKK",
- "destinationAirport": "ICN",
- "airlineId": "H1",
- "flightNumber": "9860",
- "departureDatetime": "2019-08-19T01:45:00.000+07:00",
- "arrivalDatetime": "2019-08-19T09:20:00.000+09:00"
- },
- "aircraftModel": {
- "name": "737"
- },
- "cabinClass": "Economy"
- }
- ]
- },
- {
- "numberOfStop": 0,
- "tripDuration": 354,
- "fareBasis": "TOW7C",
- "tourCode": "",
- "accountCode": "",
- "segments": [
- {
- "rbd": "T",
- "flightDetail": {
- "sourceAirport": "ICN",
- "destinationAirport": "BKK",
- "airlineId": "H1",
- "flightNumber": "9857",
- "departureDatetime": "2019-08-22T20:05:00.000+09:00",
- "arrivalDatetime": "2019-08-22T23:59:00.000+07:00"
- },
- "aircraftModel": {
- "name": "737"
- },
- "cabinClass": "Economy"
- }
- ]
- }
- ],
- "fareDetail": {
- "routeFare": {
- "tax": 3445,
- "sellingFarePrice": 12407.85,
- "sellingPrice": 15852.85,
- "fullFarePrice": 13009.82,
- "fullPrice": 16454.82,
- "bigbonusFarePrice": 12372.85,
- "bigbonusPrice": 15817.85
- },
- "currency": {
- "code": "THB"
- }
- }
- },
- "journeyIndex": 1,
- "bookingInfo": [
- {
- "id": "35525709-f476-4ba8-9dba-1abce1208132",
- "passenger": {
- "uuid": "50e27451-0b25-4440-b660-7735e280ac47",
- "type": "adult",
- "passport": {
- "id": "63ac09a3-1623-4726-a7af-18b3935d5b1c",
- "number": "AB12313",
- "expiryDate": "2020-02-22",
- "issuingCountry": {
- "code": "TH"
- }
- },
- "title": "MR",
- "firstname": "TAVERAT",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "2007-08-22",
- "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": "832529994",
- "email": "Taverat.ch@gmail.com"
- },
- "createdAt": "2019-01-27T15:30:47.000Z"
- }
- },
- "data_mapping": {
- "airlines": [
- {
- "code": "H1",
- "name": {
- "en": "Hahn Air Systems",
- "th": "ฮาห์น แอร์"
- },
- "primaryIconUrl": "https://assets-flight.thaitravelcenter.com/airlines/H1.png",
- "secondaryIconUrl": "https://assets-flight.thaitravelcenter.com/airlines/H1.png",
- "colorCode": "440099"
- }
- ],
- "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": "ICN",
- "name": "Incheon International Airport",
- "latitude": "37.46910095",
- "longitude": "126.4509964",
- "airport_picture_url": null,
- "city": {
- "code": "SEL",
- "name": "Seoul"
- },
- "country": {
- "code": "KR",
- "name": "South Korea",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/055-south-korea.png"
- }
- }
- ]
- },
- "data_urls": {
- "callback": "https://dev-api-flight.thaitravelcenter.com/payment/creditCard"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement