Skip to content

Instantly share code, notes, and snippets.

@fedecarg
Created January 8, 2020 02:38
Show Gist options
  • Save fedecarg/8a1fef3e763bc433c7f89b28aca4c7ee to your computer and use it in GitHub Desktop.
Save fedecarg/8a1fef3e763bc433c7f89b28aca4c7ee to your computer and use it in GitHub Desktop.
{
"currencies": [
{
"code": "EUR",
"description": "Euro",
"symbol": "€",
"alignment": "L",
"groupingSeparator": ",",
"decimalSeparator": ".",
"decimals": 2,
"recommendedDisplay": "symbol"
}
],
"context": {
"issueOffice": "MAD175",
"locator": "LO7AAT",
"paymentMode": "ONLINE",
"passengers": [
{
"id": "1",
"surname": "CARGNELUTTI",
"name": "FEDERICO",
"ticketPrices": [
],
"birthDate": "2000-01-08",
"frequentFlyer": {
"number": "19718675",
"company": "BA",
"topTier": null,
"level": "8"
},
"passengerType": "ADULT",
"items": [
],
"title": null,
"infant": null,
"resiberId": "1"
},
{
"id": "2",
"surname": "CARGNELUTTI",
"name": "LUCIANO",
"ticketPrices": [
],
"birthDate": "2012-01-08",
"frequentFlyer": {
"number": "36636101",
"company": "BA",
"topTier": null,
"level": "8"
},
"passengerType": "CHILD",
"items": [
],
"title": null,
"infant": null,
"resiberId": "2"
},
{
"id": "3",
"surname": "CARGNELUTTI",
"name": "MATTEO",
"ticketPrices": [
],
"birthDate": "2012-01-08",
"frequentFlyer": null,
"passengerType": "CHILD",
"items": [
],
"title": null,
"infant": null,
"resiberId": "3"
},
{
"id": "4",
"surname": "RANDAZZO",
"name": "MARIA",
"ticketPrices": [
],
"birthDate": "2000-01-08",
"frequentFlyer": {
"number": "19718593",
"company": "BA",
"topTier": null,
"level": "8"
},
"passengerType": "ADULT",
"items": [
],
"title": null,
"infant": null,
"resiberId": "4"
}
],
"checkinFlowMode": "REGULAR",
"slices": [
{
"id": "5_6",
"segmentIds": [
"5",
"6"
]
}
],
"issueCurrency": "EUR",
"issueCountry": "ES",
"segments": [
{
"departureDate": "2020-01-08 22:50",
"arrivalDate": "2020-01-09 14:45",
"utcDepartureDate": "2020-01-09 01:50",
"utcArrivalDate": "2020-01-09 13:45",
"departureAirport": "EZE",
"arrivalAirport": "MAD",
"operatingFlight": {
"flightNumber": "6844",
"cabin": {
"cabinClass": {
"type": "ECONOMY",
"rbd": "N"
},
"carrier": "IB"
}
},
"marketingFlight": null,
"id": "5",
"time": "CKI",
"passengerCoupons": [
{
"id": "1",
"coupon": "2",
"farebasis": "NHNC63M6W/",
"numberTicket": "1253658620664",
"ticketDesignator": null,
"issueDate": "2019-10-01",
"seat": {
"row": "37",
"column": "D"
},
"infantCoupon": null,
"eligible": true,
"franchisePieces": [
{
"subtype": "BAGGAGE_23",
"description": "23kg",
"units": 1
}
],
"extraPieces": [
],
"status": {
"message": null,
"code": "CHECKED"
}
},
{
"id": "2",
"coupon": "2",
"farebasis": "NHNC63M6W/",
"numberTicket": "1253658620665",
"ticketDesignator": null,
"issueDate": "2019-10-01",
"seat": {
"row": "37",
"column": "E"
},
"infantCoupon": null,
"eligible": true,
"franchisePieces": [
{
"subtype": "BAGGAGE_23",
"description": "23kg",
"units": 1
}
],
"extraPieces": [
],
"status": {
"message": null,
"code": "CHECKED"
}
},
{
"id": "3",
"coupon": "2",
"farebasis": "NHNC63M6W/",
"numberTicket": "1253658620666",
"ticketDesignator": null,
"issueDate": "2019-10-01",
"seat": {
"row": "37",
"column": "G"
},
"infantCoupon": null,
"eligible": true,
"franchisePieces": [
{
"subtype": "BAGGAGE_23",
"description": "23kg",
"units": 1
}
],
"extraPieces": [
],
"status": {
"message": null,
"code": "CHECKED"
}
},
{
"id": "4",
"coupon": "2",
"farebasis": "NHNC63M6W/",
"numberTicket": "1253658620663",
"ticketDesignator": null,
"issueDate": "2019-10-01",
"seat": {
"row": "37",
"column": "H"
},
"infantCoupon": null,
"eligible": true,
"franchisePieces": [
{
"subtype": "BAGGAGE_23",
"description": "23kg",
"units": 1
}
],
"extraPieces": [
],
"status": {
"message": null,
"code": "CHECKED"
}
}
],
"edifact": false,
"pricesProvider": "TARIFICATOR"
},
{
"departureDate": "2020-01-09 15:50",
"arrivalDate": "2020-01-09 17:15",
"utcDepartureDate": "2020-01-09 14:50",
"utcArrivalDate": "2020-01-09 17:15",
"departureAirport": "MAD",
"arrivalAirport": "LHR",
"operatingFlight": {
"flightNumber": "3166",
"cabin": {
"cabinClass": {
"type": "ECONOMY",
"rbd": "N"
},
"carrier": "IB"
}
},
"marketingFlight": null,
"id": "6",
"time": "CKI",
"passengerCoupons": [
{
"id": "1",
"coupon": "3",
"farebasis": "NHNC63M6W/",
"numberTicket": "1253658620664",
"ticketDesignator": null,
"issueDate": "2019-10-01",
"seat": {
"row": "38",
"column": "G"
},
"infantCoupon": null,
"eligible": true,
"franchisePieces": [
{
"subtype": "BAGGAGE_23",
"description": "23kg",
"units": 1
}
],
"extraPieces": [
],
"status": {
"message": null,
"code": "CHECKED"
}
},
{
"id": "2",
"coupon": "3",
"farebasis": "NHNC63M6W/",
"numberTicket": "1253658620665",
"ticketDesignator": null,
"issueDate": "2019-10-01",
"seat": {
"row": "38",
"column": "H"
},
"infantCoupon": null,
"eligible": true,
"franchisePieces": [
{
"subtype": "BAGGAGE_23",
"description": "23kg",
"units": 1
}
],
"extraPieces": [
],
"status": {
"message": null,
"code": "CHECKED"
}
},
{
"id": "3",
"coupon": "3",
"farebasis": "NHNC63M6W/",
"numberTicket": "1253658620666",
"ticketDesignator": null,
"issueDate": "2019-10-01",
"seat": {
"row": "38",
"column": "D"
},
"infantCoupon": null,
"eligible": true,
"franchisePieces": [
{
"subtype": "BAGGAGE_23",
"description": "23kg",
"units": 1
}
],
"extraPieces": [
],
"status": {
"message": null,
"code": "CHECKED"
}
},
{
"id": "4",
"coupon": "3",
"farebasis": "NHNC63M6W/",
"numberTicket": "1253658620663",
"ticketDesignator": null,
"issueDate": "2019-10-01",
"seat": {
"row": "38",
"column": "E"
},
"infantCoupon": null,
"eligible": true,
"franchisePieces": [
{
"subtype": "BAGGAGE_23",
"description": "23kg",
"units": 1
}
],
"extraPieces": [
],
"status": {
"message": null,
"code": "CHECKED"
}
}
],
"edifact": false,
"pricesProvider": "TARIFICATOR"
}
],
"flownSegments": false,
"dynamicPricing": false
},
"freeItems": [
{
"total": 0.0,
"currency": "EUR",
"segments": [
{
"id": "5",
"passengers": [
{
"id": "1",
"seat": {
"row": "37",
"column": "D",
"features": [
]
},
"amount": 0.0
},
{
"id": "4",
"seat": {
"row": "37",
"column": "H",
"features": [
]
},
"amount": 0.0
}
]
},
{
"id": "6",
"passengers": [
{
"id": "1",
"seat": {
"row": "38",
"column": "G",
"features": [
]
},
"amount": 0.0
},
{
"id": "2",
"seat": {
"row": "38",
"column": "H",
"features": [
]
},
"amount": 0.0
},
{
"id": "3",
"seat": {
"row": "38",
"column": "D",
"features": [
]
},
"amount": 0.0
},
{
"id": "4",
"seat": {
"row": "38",
"column": "E",
"features": [
]
},
"amount": 0.0
}
]
}
],
"type": "SEAT"
}
],
"pendingPaymentItems": [
{
"total": 50.0,
"currency": "EUR",
"segments": [
{
"id": "5",
"passengers": [
{
"id": "2",
"seat": {
"row": "37",
"column": "E",
"features": [
]
},
"amount": 25.0
},
{
"id": "3",
"seat": {
"row": "37",
"column": "G",
"features": [
]
},
"amount": 25.0
}
]
}
],
"type": "SEAT"
}
],
"pendingIssuanceItems": [
],
"issuedItems": [
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment