Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "success": 1,
- "surcharge": 2.75,
- "data": {
- "id": 36,
- "key": "5000003692",
- "pnrs": [
- {
- "pnr": "P78X9S",
- "ticketNumber": null,
- "expiryDatetime": "2019-03-23T23:59:00.000+07:00",
- "journeyIndex": 0,
- "reservationJourneyIndex": 0
- },
- {
- "pnr": "P692GG",
- "ticketNumber": null,
- "expiryDatetime": "2019-02-21T23:59:00.000+07:00",
- "journeyIndex": 0,
- "reservationJourneyIndex": 1
- }
- ],
- "payment": {
- "paid": false,
- "channel": null,
- "creditCardLast4Digits": null,
- "creditCardType": null,
- "paymentDate": null
- },
- "reservation": {
- "id": "ba9d80c4-2c21-4a4b-9d2a-bd7c67b66065",
- "currency": {
- "code": "THB",
- "name": "Thai Baht"
- },
- "totalAmount": 5402.91,
- "paid": false,
- "reserved": true,
- "journeys": [
- {
- "id": "199d55b2-f304-4b3a-be3e-7c8d62f6790a",
- "bookingKey": "e4082e8b96c82897db732a61ce64f26028dffee5",
- "flight": {
- "bookingKey": "e4082e8b96c82897db732a61ce64f26028dffee5",
- "flightType": "OW",
- "from": "BKK",
- "to": "CNX",
- "isPopular": true,
- "isRecommended": false,
- "availability": null,
- "departureDate": "2019-04-22T13:10:00.000+07:00",
- "returnDate": "2019-04-22T13:10:00.000+07:00",
- "numberOfWatch": 23,
- "journeys": [
- {
- "numberOfStop": 0,
- "tripDuration": 70,
- "fareBasis": "V1AOTH",
- "tourCode": "",
- "accountCode": "",
- "isDomestic": true,
- "numberOfOvernight": 0,
- "segments": [
- {
- "rbd": "V",
- "flightDetail": {
- "sourceAirport": "BKK",
- "destinationAirport": "CNX",
- "airlineId": "TG",
- "flightNumber": "110",
- "departureDatetime": "2019-04-22T13:10:00.000+07:00",
- "arrivalDatetime": "2019-04-22T14:20:00.000+07:00"
- },
- "aircraftModel": {
- "name": "Airbus 330"
- },
- "cabinClass": "Economy"
- }
- ]
- }
- ],
- "fareDetail": {
- "routeFare": {
- "tax": 100,
- "basePrice": 1210,
- "netFarePrice": 1149.5,
- "markupFarePrice": 1149.5,
- "sellingFarePrice": 1155.25,
- "sellingPrice": 1255.25,
- "customerSellingFarePrice": 0,
- "customerSellingPrice": 0,
- "fullFarePrice": 1217.32,
- "fullPrice": 1317.32,
- "bigbonusFarePrice": 0,
- "bigbonusPrice": 0
- },
- "currency": {
- "code": "THB"
- }
- }
- },
- "journeyIndex": 0,
- "bookingInfo": [
- {
- "id": "330163c1-c9da-4f20-99c2-b9d912d5278a",
- "passenger": {
- "uuid": "94d22da0-046e-45c9-8980-8d3bbf99f9a4",
- "type": "adult",
- "passport": {
- "id": "0bbd1892-2737-4a7f-83d3-4d01fcabb8c1",
- "number": "AB837448",
- "expiryDate": "2023-02-12",
- "issuingCountry": {
- "id": 1,
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- "title": "MR",
- "firstname": "TAVERAT",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "1996-02-11",
- "nationality": {
- "id": 206,
- "code": "TH",
- "name": "Thai"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 1310,
- "netPrice": 1249.5,
- "markupPrice": 1249.5,
- "sellingPrice": 1255.25,
- "customerSellingPrice": 0,
- "useCustomerSellingPrice": false,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 100,
- "netPrice": 100,
- "markupPrice": 100,
- "fullPrice": 100,
- "sellingPrice": 100,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- },
- {
- "category": "FARE",
- "basePrice": 1210,
- "netPrice": 1149.5,
- "markupPrice": 1149.5,
- "fullPrice": 1217.32,
- "sellingPrice": 1155.25,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- }
- ]
- },
- {
- "id": "f52b96f9-4e13-47ad-9469-4655161fb7cc",
- "passenger": {
- "uuid": "133c8612-41b5-43f6-accb-bad1bf078170",
- "type": "child",
- "passport": {
- "id": "26b466ae-c6dd-4a58-8587-b5a9626248c7",
- "number": "JD837483",
- "expiryDate": "2021-02-13",
- "issuingCountry": {
- "id": 1,
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- "title": "MSTR",
- "firstname": "SUCHART",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "2011-02-13",
- "nationality": {
- "id": 20,
- "code": "BE",
- "name": "Belgian"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 1010,
- "netPrice": 964.5,
- "markupPrice": 964.5,
- "sellingPrice": 968.83,
- "customerSellingPrice": 0,
- "useCustomerSellingPrice": false,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 100,
- "netPrice": 100,
- "markupPrice": 100,
- "fullPrice": 100,
- "sellingPrice": 100,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- },
- {
- "category": "FARE",
- "basePrice": 910,
- "netPrice": 864.5,
- "markupPrice": 864.5,
- "fullPrice": 915.51,
- "sellingPrice": 868.83,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- }
- ]
- },
- {
- "id": "bba3d114-4f04-46ae-b49b-1f34a0c88052",
- "passenger": {
- "uuid": "d5436b4c-555a-4420-a51e-7e74a20b05e7",
- "type": "infant",
- "passport": {
- "id": "4878cd49-5675-4860-86e4-c6fb1d825d93",
- "number": "KK83848",
- "expiryDate": "2020-02-12",
- "issuingCountry": {
- "id": 1,
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- "title": "MISS",
- "firstname": "SUWAN",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "2018-02-12",
- "nationality": {
- "id": 206,
- "code": "TH",
- "name": "Thai"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 305,
- "netPrice": 289.75,
- "markupPrice": 289.75,
- "sellingPrice": 291.2,
- "customerSellingPrice": 0,
- "useCustomerSellingPrice": false,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 0,
- "netPrice": 0,
- "markupPrice": 0,
- "fullPrice": 0,
- "sellingPrice": 0,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- },
- {
- "category": "FARE",
- "basePrice": 305,
- "netPrice": 289.75,
- "markupPrice": 289.75,
- "fullPrice": 306.85,
- "sellingPrice": 291.2,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- }
- ]
- }
- ]
- },
- {
- "id": "76c2150f-a3bb-44fd-b52a-4389c2285af8",
- "bookingKey": "6e13631814e6f0015cc5f572496e5dc85c0785ea",
- "flight": {
- "bookingKey": "6e13631814e6f0015cc5f572496e5dc85c0785ea",
- "flightType": "OW",
- "from": "CNX",
- "to": "BKK",
- "isPopular": true,
- "isRecommended": false,
- "availability": null,
- "departureDate": "2019-04-25T19:00:00.000+07:00",
- "returnDate": "2019-04-25T19:00:00.000+07:00",
- "numberOfWatch": 19,
- "journeys": [
- {
- "numberOfStop": 0,
- "tripDuration": 85,
- "fareBasis": "RNWW",
- "tourCode": "",
- "accountCode": "",
- "isDomestic": true,
- "numberOfOvernight": 0,
- "segments": [
- {
- "rbd": "R",
- "flightDetail": {
- "sourceAirport": "CNX",
- "destinationAirport": "BKK",
- "airlineId": "PG",
- "flightNumber": "220",
- "departureDatetime": "2019-04-25T19:00:00.000+07:00",
- "arrivalDatetime": "2019-04-25T20:25:00.000+07:00"
- },
- "aircraftModel": {
- "name": "Airbus 319"
- },
- "cabinClass": "Economy"
- }
- ]
- }
- ],
- "fareDetail": {
- "routeFare": {
- "tax": 100,
- "basePrice": 1250,
- "netFarePrice": 1187.5,
- "markupFarePrice": 1187.5,
- "sellingFarePrice": 1193.44,
- "sellingPrice": 1293.44,
- "customerSellingFarePrice": 0,
- "customerSellingPrice": 0,
- "fullFarePrice": 1257.56,
- "fullPrice": 1357.56,
- "bigbonusFarePrice": 0,
- "bigbonusPrice": 0
- },
- "currency": {
- "code": "THB"
- }
- }
- },
- "journeyIndex": 1,
- "bookingInfo": [
- {
- "id": "f8aab5b9-9751-40b3-8ef1-6687ca751772",
- "passenger": {
- "uuid": "94d22da0-046e-45c9-8980-8d3bbf99f9a4",
- "type": "adult",
- "passport": {
- "id": "0bbd1892-2737-4a7f-83d3-4d01fcabb8c1",
- "number": "AB837448",
- "expiryDate": "2023-02-12",
- "issuingCountry": {
- "id": 1,
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- "title": "MR",
- "firstname": "TAVERAT",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "1996-02-11",
- "nationality": {
- "id": 206,
- "code": "TH",
- "name": "Thai"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 1350,
- "netPrice": 1287.5,
- "markupPrice": 1287.5,
- "sellingPrice": 1293.44,
- "customerSellingPrice": 0,
- "useCustomerSellingPrice": false,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 100,
- "netPrice": 100,
- "markupPrice": 100,
- "fullPrice": 100,
- "sellingPrice": 100,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- },
- {
- "category": "FARE",
- "basePrice": 1250,
- "netPrice": 1187.5,
- "markupPrice": 1187.5,
- "fullPrice": 1257.56,
- "sellingPrice": 1193.44,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- }
- ]
- },
- {
- "id": "5d3660ce-6f38-4e50-b1e7-abd71e14146e",
- "passenger": {
- "uuid": "133c8612-41b5-43f6-accb-bad1bf078170",
- "type": "child",
- "passport": {
- "id": "26b466ae-c6dd-4a58-8587-b5a9626248c7",
- "number": "JD837483",
- "expiryDate": "2021-02-13",
- "issuingCountry": {
- "id": 1,
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- "title": "MSTR",
- "firstname": "SUCHART",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "2011-02-13",
- "nationality": {
- "id": 20,
- "code": "BE",
- "name": "Belgian"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 1350,
- "netPrice": 1287.5,
- "markupPrice": 1287.5,
- "sellingPrice": 1293.44,
- "customerSellingPrice": 0,
- "useCustomerSellingPrice": false,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 100,
- "netPrice": 100,
- "markupPrice": 100,
- "fullPrice": 100,
- "sellingPrice": 100,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- },
- {
- "category": "FARE",
- "basePrice": 1250,
- "netPrice": 1187.5,
- "markupPrice": 1187.5,
- "fullPrice": 1257.56,
- "sellingPrice": 1193.44,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- }
- ]
- },
- {
- "id": "4315d61a-24b2-4442-84c6-9aec71994456",
- "passenger": {
- "uuid": "d5436b4c-555a-4420-a51e-7e74a20b05e7",
- "type": "infant",
- "passport": {
- "id": "4878cd49-5675-4860-86e4-c6fb1d825d93",
- "number": "KK83848",
- "expiryDate": "2020-02-12",
- "issuingCountry": {
- "id": 1,
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- "title": "MISS",
- "firstname": "SUWAN",
- "lastname": "CHAIMAN",
- "middlename": "",
- "identificationNumber": "",
- "birthDate": "2018-02-12",
- "nationality": {
- "id": 206,
- "code": "TH",
- "name": "Thai"
- }
- },
- "ancillaryKeys": [],
- "seatSelectionKey": null,
- "basePrice": 315,
- "netPrice": 299.25,
- "markupPrice": 299.25,
- "sellingPrice": 300.75,
- "customerSellingPrice": 0,
- "useCustomerSellingPrice": false,
- "charges": [
- {
- "category": "TAX",
- "basePrice": 0,
- "netPrice": 0,
- "markupPrice": 0,
- "fullPrice": 0,
- "sellingPrice": 0,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- },
- {
- "category": "FARE",
- "basePrice": 315,
- "netPrice": 299.25,
- "markupPrice": 299.25,
- "fullPrice": 316.91,
- "sellingPrice": 300.75,
- "customerSellingPrice": 0,
- "bigbonusPrice": 0
- }
- ]
- }
- ]
- }
- ],
- "contactInfo": {
- "title": {
- "id": 1,
- "title": "MR"
- },
- "firstname": "TAVERAT",
- "middlename": "",
- "lastname": "CHAIMAN",
- "phoneCountryCode": {
- "id": 1,
- "code": "66",
- "country": {
- "id": 1,
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- },
- "phoneNumber": "845552222",
- "email": "taverat.ch@gmail.com"
- },
- "createdAt": "2019-02-20T04:00:25.000Z"
- },
- "paymentExpiryDatetime": "2019-02-20T16:01:45.597Z",
- "isAllowCreditCardPayment": true,
- "isAllowTransferPayment": true,
- "isExpired": false,
- "totalBasePrice": 5640,
- "totalNetPrice": 5378,
- "totalMarkupPrice": 5378,
- "totalSellingPrice": 5402.91,
- "isSentToERP": 1,
- "createdAt": "2019-02-20T04:01:45.613Z"
- },
- "data_mapping": {
- "airlines": [
- {
- "code": "PG",
- "name": {
- "en": "Bangkok Airways",
- "th": "บางกอก แอร์เวย์"
- },
- "primaryIconUrl": "https://assets-flight.thaitravelcenter.com/airlines/PG.png",
- "secondaryIconUrl": "https://assets-flight.thaitravelcenter.com/airlines/PG.png",
- "colorCode": "187CC7",
- "plate": null
- },
- {
- "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",
- "plate": null
- }
- ],
- "airports": [
- {
- "code": "BKK",
- "name": "Suvarnabhumi Airport",
- "latitude": "13.68109989",
- "longitude": "100.7470016",
- "airport_picture_url": null,
- "city": {
- "code": "BKK",
- "name": "Bangkok"
- },
- "country": {
- "id": 1,
- "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": {
- "id": 1,
- "code": "TH",
- "name": "Thailand",
- "flag_icon_url": "https://assets-flight.thaitravelcenter.com/country_flags/184-thailand.png"
- }
- }
- ]
- },
- "data_urls": {
- "callback": "https://dev-api-flight.travizgo.com/payment/creditCard"
- },
- "brand_identifier": "2"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement