Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "data": {
- "id": 7,
- "key": "72ED7U",
- "pnrs": [
- {
- "pnr": "PQM9B0",
- "expiryDatetime": "2019-01-27T23:59:00.000+07:00",
- "journeyIndex": 0
- },
- {
- "pnr": "PQM9B0",
- "expiryDatetime": "2019-01-27T23:59:00.000+07:00",
- "journeyIndex": 1
- }
- ],
- "reservation": {
- "id": "7e16f50d-0cdb-47b6-aee0-31fe42073cb3",
- "currency": {
- "code": "THB",
- "name": "Thai Baht"
- },
- "totalAmount": 5531.66,
- "paid": false,
- "reserved": true,
- "journeys": [
- {
- "bookingKey": "0ba78f14157326f7a68c135db62ab5b960a15d58",
- "flight": {
- "bookingKey": "0ba78f14157326f7a68c135db62ab5b960a15d58",
- "flightType": "RT",
- "from": "DMK",
- "to": "SIN",
- "availability": null,
- "departureDate": "2019-05-20T07:40:00.000+07:00",
- "returnDate": "2019-05-27T12:20:00.000+08:00",
- "journeys": [
- {
- "numberOfStop": 0,
- "tripDuration": 160,
- "fareBasis": "NLTOW",
- "tourCode": "",
- "accountCode": "",
- "segments": [
- {
- "rbd": "N",
- "flightDetail": {
- "sourceAirport": "DMK",
- "destinationAirport": "SIN",
- "airlineId": "SL",
- "flightNumber": "100",
- "departureDatetime": "2019-05-20T07:40:00.000+07:00",
- "arrivalDatetime": "2019-05-20T11:20:00.000+08:00"
- },
- "aircraftModel": {
- "name": "738"
- },
- "cabinClass": "Economy"
- }
- ]
- },
- {
- "numberOfStop": 0,
- "tripDuration": 135,
- "fareBasis": "XLTOW",
- "tourCode": "",
- "accountCode": "",
- "segments": [
- {
- "rbd": "X",
- "flightDetail": {
- "sourceAirport": "SIN",
- "destinationAirport": "DMK",
- "airlineId": "SL",
- "flightNumber": "101",
- "departureDatetime": "2019-05-27T12:20:00.000+08:00",
- "arrivalDatetime": "2019-05-27T13:35:00.000+07:00"
- },
- "aircraftModel": {
- "name": "738"
- },
- "cabinClass": "Economy"
- }
- ]
- }
- ],
- "fareDetail": {
- "routeFare": {
- "tax": 2685,
- "basePrice": 2846.66,
- "totalPrice": 5531.66,
- "beforeDiscountBasePrice": 2984.77,
- "beforeDiscountPrice": 5669.77,
- "bigbonusBasePrice": 2838.66,
- "bigbonusPrice": 5523.66
- },
- "currency": {
- "code": "THB"
- }
- }
- },
- "journeyIndex": 0,
- "bookingInfo": [
- {
- "passenger": {
- "uuid": "980099c5-5e50-48f8-bd03-ef624bc2fd1b",
- "type": "adult",
- "passport": {
- "id": "f1cc1add-06a5-409d-bc74-602625d42821",
- "number": "AA54646",
- "expiryDate": "2023-11-27",
- "issuingCountry": {
- "code": "TH"
- }
- },
- "title": "MR",
- "firstname": "TAVERAT",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "2005-05-27",
- "nationCountry": {
- "code": "AL"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "amount": 5531.66,
- "charges": [
- {
- "category": "TAX",
- "fullPrice": 2685,
- "sellingPrice": 2685,
- "bigbonusPrice": -1
- },
- {
- "category": "FARE",
- "fullPrice": 2984.77,
- "sellingPrice": 2846.66,
- "bigbonusPrice": 2838.66
- }
- ]
- }
- ]
- },
- {
- "bookingKey": "0ba78f14157326f7a68c135db62ab5b960a15d58",
- "flight": {
- "bookingKey": "0ba78f14157326f7a68c135db62ab5b960a15d58",
- "flightType": "RT",
- "from": "DMK",
- "to": "SIN",
- "availability": null,
- "departureDate": "2019-05-20T07:40:00.000+07:00",
- "returnDate": "2019-05-27T12:20:00.000+08:00",
- "journeys": [
- {
- "numberOfStop": 0,
- "tripDuration": 160,
- "fareBasis": "NLTOW",
- "tourCode": "",
- "accountCode": "",
- "segments": [
- {
- "rbd": "N",
- "flightDetail": {
- "sourceAirport": "DMK",
- "destinationAirport": "SIN",
- "airlineId": "SL",
- "flightNumber": "100",
- "departureDatetime": "2019-05-20T07:40:00.000+07:00",
- "arrivalDatetime": "2019-05-20T11:20:00.000+08:00"
- },
- "aircraftModel": {
- "name": "738"
- },
- "cabinClass": "Economy"
- }
- ]
- },
- {
- "numberOfStop": 0,
- "tripDuration": 135,
- "fareBasis": "XLTOW",
- "tourCode": "",
- "accountCode": "",
- "segments": [
- {
- "rbd": "X",
- "flightDetail": {
- "sourceAirport": "SIN",
- "destinationAirport": "DMK",
- "airlineId": "SL",
- "flightNumber": "101",
- "departureDatetime": "2019-05-27T12:20:00.000+08:00",
- "arrivalDatetime": "2019-05-27T13:35:00.000+07:00"
- },
- "aircraftModel": {
- "name": "738"
- },
- "cabinClass": "Economy"
- }
- ]
- }
- ],
- "fareDetail": {
- "routeFare": {
- "tax": 2685,
- "basePrice": 2846.66,
- "totalPrice": 5531.66,
- "beforeDiscountBasePrice": 2984.77,
- "beforeDiscountPrice": 5669.77,
- "bigbonusBasePrice": 2838.66,
- "bigbonusPrice": 5523.66
- },
- "currency": {
- "code": "THB"
- }
- }
- },
- "journeyIndex": 1,
- "bookingInfo": [
- {
- "passenger": {
- "uuid": "980099c5-5e50-48f8-bd03-ef624bc2fd1b",
- "type": "adult",
- "passport": {
- "id": "f1cc1add-06a5-409d-bc74-602625d42821",
- "number": "AA54646",
- "expiryDate": "2023-11-27",
- "issuingCountry": {
- "code": "TH"
- }
- },
- "title": "MR",
- "firstname": "TAVERAT",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "2005-05-27",
- "nationCountry": {
- "code": "AL"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "amount": 0,
- "charges": [
- {
- "category": "TAX",
- "fullPrice": 0,
- "sellingPrice": 0,
- "bigbonusPrice": -1
- },
- {
- "category": "FARE",
- "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-20T12:54:49.000Z"
- }
- },
- "data_mapping": {
- "airlines": [
- {
- "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": "SIN",
- "name": "Singapore Changi Airport",
- "latitude": "1.35019",
- "longitude": "103.994003",
- "airport_picture_url": null,
- "city": {
- "code": "SIN",
- "name": "Singapore"
- },
- "country": {
- "code": "SG",
- "name": "Singapore",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/141-singapore.png"
- }
- }
- ]
- },
- "data_urls": {
- "facility": "https://api-flight.thaitravelcenter.com/facility",
- "flightBooking": "https://api-flight.thaitravelcenter.com/flightBooking"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement