Request{
"Format": "json",
"search": {
"origin": "OTP",
"destination": "BGY",
"departureDate": "2024-05-27",
"passengers": "[{\"code\":\"ADT\"}]",
"roundTrip": false,
"nonstop": true
}
}Response{
"Id": "502329",
"Results": [
{
"Id": 7001113,
"Legs": [
{
"Segments": [
{
"Origin": {
"Code": "OTP",
"City": {
"Code": "BUH",
"Country": {
"Code": "RO",
"CountryNameLocal": "Romania"
},
"CityNameLocal": "Bucuresti"
},
"Name": "Otopeni International",
"Latitude": "44.572161",
"Longitude": "26.102178"
},
"Destination": {
"Code": "BGY",
"City": {
"Code": "BGY",
"Country": {
"Code": "IT",
"CountryNameLocal": "Italia"
}
},
"Name": "Orio Al Serio Arpt",
"Latitude": "45.673889",
"Longitude": "9.704166"
},
"Airline": {
"AirlineCode": "W6",
"Name": "Wizz Air Hungary",
"ShortName": "Wizz Air"
},
"FlightNumber": "3131",
"CabinClass": "",
"BookingCode": "?",
"HasConnection": false,
"AvailableSeats": 9,
"FlightTimeString": "00:00",
"StopDurationMinutes": 0
}
],
"DepartureTime": "2024-05-27T06:30",
"ArrivalTime": "2024-05-27T07:55",
"AirlineString": "W6",
"AirlineName": "Wizz Air Hungary",
"OriginString": "Bucuresti (OTP)",
"DestinationString": " (BGY)",
"TravelTimeString": " 1h 25m",
"TravelTimeMinutes": 85,
"StopsString": "NON STOP",
"StopsNumber": 0,
"Info": [],
"Cancellation": {
"DateFrom": "2023-11-27T11:11:17.140578+02:00",
"DateTo": "2024-05-27T06:30:00.000000+03:00",
"Penalty": 100,
"PenaltyType": "percent"
},
"AvailableSeatsString": 9,
"OriginCode": "OTP",
"DestinationCode": "BGY"
}
],
"TotalPrice": 260,
"SearchPrice": 260,
"Taxes": 0,
"ServiceFeeValue": 0,
"Currency": "EUR",
"Type": "travelio",
"AvailableSeats": 9,
"TotalFlightTimeMinutes": 85,
"TotalPriceWithServiceFee": 260,
"DepartureDate": "2024-05-27T06:30:00.000000+03:00",
"ReturnDate": false,
"SupplierClassString": "?",
"SupplierListTxt": ""
}
],
"Themes": [],
"Origin": "OTP",
"Destination": "BGY",
"DepartureDate": "2024-05-27",
"Passengers": "[{\"code\":\"ADT\"}]",
"RoundTrip": false,
"Completed": false,
"Class": "0",
"Nonstop": true,
"NearbyAirports": false,
"FlightPlanId": 0,
"Extra": [],
"LogUrl": "https:\/\/erp.karpaten.ro\/flights\/web\/logs\/by-search\/502329"
} |
Request{
"Format": "json",
"order": {
"flightBooking": {
"result": {
"id": 7001113
},
"fakeBooking": 1,
"bookedInERP": true,
"contactPerson": {
"fullName": "CitizenPlane",
"email": "support@citizenplane.com",
"phone": "+33688503142"
},
"travelers": [
{
"prefix": "MR",
"firstName": "Turner",
"lastName": "Gerhold",
"dOB": "1993-05-16",
"type": "ADT",
"optionalServices": []
}
]
},
"person": {
"firstName": "CitizenPlane",
"lastName": "CitizenPlane",
"city": "Paris"
}
}
}Response{
"success": false,
"status": "failed",
"content": "Rezervarea nu s-a efectuat"
} |