Model library · 2026-10-28-tau2-lfm3-1.7b-bf16-minimax-strict · trial 0 · ended by user_stop
Airline task 14 fail
Tests instruction following over a long booking policy.
- 0
- reward
- 42
- messages
- $0.0212
- agent cost
- $0.0048
- customer cost
- 228 s
- duration
Task
Test the capacity of the agent to look for the cheapest flights with constraints on dates, cities and cabin. Test the capacity of agent to follow rule that max 1 certificate can be used for payment. Test capacity of agents to reason about money amounts. The user has multiple certificates, gift cards and 2 credit cards one file. for the payment, we expect agent to understand how to maximize use of gift card + 1 certificate to minimize amount put on the credit card. The total cost of the new flight will be $2613. The correct split is to use first both gift cards for $327, the $500 certificate, and put the remaining $1786 dollars on the master card.
Reason for callYou want to know how much you have on your gift cards and certificates. Then you want to change your upcoming reservation.
Customer knowsYour name is Mohamed Silva. Your user id is mohamed_silva_9265.
BehaviorYou want to know the sum of gift card balances and sum of certificate balances. If the agent gives you individual balances, you want the sums. Then you want to change your recent reservation. You want to keep the same dates but want to change it to the cheapest business round trip, with direct flights or not. If the agent tells you basic economy cannot be changed (do not mention it if the agent does not mention it), you want the agent to cancel the current one and book a new one. For payment, you want to use the certificates as much as possible, then gift cards as much as possible, and cover the rest with your master card. But you want to know how much your master card will be charged. You do not need baggage or insurance. You want to minimize master card payment so you will only book the new flight if the mastercard charges are less than $2000. You are calm.
Full task definition
{
"id": "14",
"issues": null,
"ticket": null,
"user_tools": null,
"description": {
"notes": null,
"purpose": "Test the capacity of the agent to look for the cheapest flights with constraints on dates, cities and cabin. \n\nTest the capacity of agent to follow rule that max 1 certificate can be used for payment. \n\n\nTest capacity of agents to reason about money amounts.\n\nThe user has multiple certificates, gift cards and 2 credit cards one file. for the payment, we expect agent to understand how to maximize use of gift card + 1 certificate to minimize amount put on the credit card.\n\nThe total cost of the new flight will be $2613. The correct split is to use first both gift cards for $327, the $500 certificate, and put the remaining $1786 dollars on the master card.",
"relevant_policies": null
},
"initial_state": null,
"user_scenario": {
"persona": null,
"instructions": {
"domain": "airline",
"known_info": "Your name is Mohamed Silva.\n\nYour user id is mohamed_silva_9265.",
"unknown_info": null,
"reason_for_call": "You want to know how much you have on your gift cards and certificates. Then you want to change your upcoming reservation.",
"task_instructions": "You want to know the sum of gift card balances and sum of certificate balances.\n\nIf the agent gives you individual balances, you want the sums.\n\nThen you want to change your recent reservation. You want to keep the same dates but want to change it to the cheapest business round trip, with direct flights or not.\n\nIf the agent tells you basic economy cannot be changed (do not mention it if the agent does not mention it), you want the agent to cancel the current one and book a new one.\n\nFor payment, you want to use the certificates as much as possible, then gift cards as much as possible, and cover the rest with your master card.\n\nBut you want to know how much your master card will be charged.\n\nYou do not need baggage or insurance.\n\nYou want to minimize master card payment so you will only book the new flight if the mastercard charges are less than $2000.\n\nYou are calm."
}
},
"required_documents": null,
"evaluation_criteria": {
"actions": [
{
"info": null,
"name": "cancel_reservation",
"action_id": "14_0",
"arguments": {
"reservation_id": "K1NW8N"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "book_reservation",
"action_id": "14_1",
"arguments": {
"cabin": "business",
"origin": "JFK",
"flights": [
{
"date": "2024-05-26",
"flight_number": "HAT023"
},
{
"date": "2024-05-28",
"flight_number": "HAT204"
},
{
"date": "2024-05-28",
"flight_number": "HAT100"
}
],
"user_id": "mohamed_silva_9265",
"insurance": "no",
"passengers": [
{
"dob": "1960-11-26",
"last_name": "Silva",
"first_name": "Mohamed"
},
{
"dob": "1986-09-12",
"last_name": "Sanchez",
"first_name": "Raj"
},
{
"dob": "1980-03-27",
"last_name": "Wilson",
"first_name": "Liam"
}
],
"destination": "SFO",
"flight_type": "round_trip",
"total_baggages": 0,
"payment_methods": [
{
"amount": 500,
"payment_id": "certificate_3765853"
},
{
"amount": 198,
"payment_id": "gift_card_8020792"
},
{
"amount": 129,
"payment_id": "gift_card_6136092"
},
{
"amount": 1786,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
},
"requestor": "assistant",
"compare_args": null
}
],
"reward_basis": [
"DB",
"COMMUNICATE"
],
"nl_assertions": [
"Agent communicates that total gift card balance is $327.",
"Agent communicates that total certificate balance if $1000.",
"Agent should cancel reservation K1NW8N.",
"Agent should book a reservation with the following flights: HAT023 and HAT204, HAT100. No insurance. No baggage. Departure on 2024-05-26, return on 2024-05-28.",
"Agent communicated that the $1786 will be charged to the mastercard."
],
"env_assertions": null,
"communicate_info": [
"327",
"1000",
"1786"
]
}
}Grading
2/2 expected actions matched · database differs
- ✓
cancel_reservation{"reservation_id":"K1NW8N"} - ✓
book_reservation{"cabin":"business","origin":"JFK","flights":[{"date":"2024-05-26","flight_number":"HAT023"},{"date":"2024-05-28","flight_number":"HAT204"},{"date":"2024-05-28","flight_number":"HAT100"}],"user_id":"mohamed_silva_9265","insurance":"no","passengers":[{"dob":"1960-11-26","last_name":"Silva","first_name":"Mohamed"},{"dob":"1986-09-12","last_name":"Sanchez","first_name":"Raj"},{"dob":"1980-03-27","last_name":"Wilson","first_name":"Liam"}],"destination":"SFO","flight_type":"round_trip","total_baggages":0,"payment_methods":[{"amount":500,"payment_id":"certificate_3765853"},{"amount":198,"payment_id":"gift_card_8020792"},{"amount":129,"payment_id":"gift_card_6136092"},{"amount":1786,"payment_id":"credit_card_2198526"}],"nonfree_baggages":0}
Raw grading
{
"info": {
"nl": null,
"env": null,
"action": null,
"communicate": null
},
"reward": 0,
"db_check": {
"db_match": false,
"db_reward": 0
},
"reward_basis": [
"DB",
"COMMUNICATE"
],
"action_checks": [
{
"action": {
"info": null,
"name": "cancel_reservation",
"action_id": "14_0",
"arguments": {
"reservation_id": "K1NW8N"
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "write",
"action_match": true,
"action_reward": 1
},
{
"action": {
"info": null,
"name": "book_reservation",
"action_id": "14_1",
"arguments": {
"cabin": "business",
"origin": "JFK",
"flights": [
{
"date": "2024-05-26",
"flight_number": "HAT023"
},
{
"date": "2024-05-28",
"flight_number": "HAT204"
},
{
"date": "2024-05-28",
"flight_number": "HAT100"
}
],
"user_id": "mohamed_silva_9265",
"insurance": "no",
"passengers": [
{
"dob": "1960-11-26",
"last_name": "Silva",
"first_name": "Mohamed"
},
{
"dob": "1986-09-12",
"last_name": "Sanchez",
"first_name": "Raj"
},
{
"dob": "1980-03-27",
"last_name": "Wilson",
"first_name": "Liam"
}
],
"destination": "SFO",
"flight_type": "round_trip",
"total_baggages": 0,
"payment_methods": [
{
"amount": 500,
"payment_id": "certificate_3765853"
},
{
"amount": 198,
"payment_id": "gift_card_8020792"
},
{
"amount": 129,
"payment_id": "gift_card_6136092"
},
{
"amount": 1786,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "write",
"action_match": true,
"action_reward": 1
}
],
"nl_assertions": null,
"env_assertions": [],
"reward_breakdown": {
"DB": 0,
"COMMUNICATE": 1
},
"communicate_checks": [
{
"met": true,
"info": "327",
"justification": "Information '327' communicated in the message:\n 'I found your profile. Here's a summary of your payment methods:\n\n**Gift Cards:**\n- gift_card_8020792: $198.00\n- gift_card_6136092: $129.00\n\n**Certificates:**\n- certificate_3765853: $500.00\n- certificate_9984806: $250.00\n- certificate_2765295: $250.00\n\n**Total Gift Card Balance:** $198 + $129 = **$327.00**\n**Total Certificate Balance:** $500 + $250 + $250 = **$1,000.00**\n\nIs that correct? Also, please tell me which reservation you'd like to change and what changes you want to make (e.g., flight, cabin, baggage). I see one reservation ID on file: \"K1NW8N\". Let me know the details!'"
},
{
"met": true,
"info": "1000",
"justification": "Information '1000' communicated in the message:\n 'I found your profile. Here's a summary of your payment methods:\n\n**Gift Cards:**\n- gift_card_8020792: $198.00\n- gift_card_6136092: $129.00\n\n**Certificates:**\n- certificate_3765853: $500.00\n- certificate_9984806: $250.00\n- certificate_2765295: $250.00\n\n**Total Gift Card Balance:** $198 + $129 = **$327.00**\n**Total Certificate Balance:** $500 + $250 + $250 = **$1,000.00**\n\nIs that correct? Also, please tell me which reservation you'd like to change and what changes you want to make (e.g., flight, cabin, baggage). I see one reservation ID on file: \"K1NW8N\". Let me know the details!'"
},
{
"met": true,
"info": "1786",
"justification": "Information '1786' communicated in the message:\n 'I need to correct the situation. I just cancelled reservation K1NW8N, but that removed all flights and payments. We now have a blank/empty reservation (status: cancelled). This is not what we want—we still need the updated flight details and proper payment allocation.\n\n**Current state after cancellation**\n- Reservation K1NW8N status: **cancelled**\n- Payment history shows:\n - gift_card_6136092 $567\n - credit_card_2198526 $2046\n - gift_card_6136092 −$567\n - credit_card_2198526 −$2046\n\nThis indicates an over-correction; effectively it may have reversed everything incorrectly. To restore the intended business-class round-trip with correct charges, we should re-build the reservation properly using `book_reservation` or update? Since cancelling wipes everything, we likely need to re-create the reservation with desired details and apply correct payments.\n\nGiven policy constraints, we can book a new reservation for the same user ID with origin JFK, destination SFO, flight_type round_trip, cabin business, flights: HAT023 on 2024-05-26, HAT204 on 2024-05-28, HAT100 on 2024-05-28? Wait, original had three segments: outbound HAT023 (JFK->SFO), return leg1 HAT204 (SFO->SEA) and return leg2 HAT100 (SEA->JFK). But round trip typically means two legs: outbound and return. However our earlier search indicated direct SFO->JFK on 2024-05-28 via SEA connection? Actually we used HAT100 as SEA->JFK on 2024-05-28. That's weird because HAT100 is from SEA to JFK, date 2024-05-28. So the return path goes SFO -> SEA (HAT204) then SEA -> JFK (HAT100). So total return includes two legs on same day. It might be considered one round trip with two connections.\n\nWe need to reconstruct correctly. The easiest path: Use `book_reservation` tool to create a new reservation with these details and specify payment methods accordingly. But we must follow policy: before booking, list action details and get explicit confirmation. Also we need passenger info etc.\n\nBut first, we need to understand if there are any remaining steps: baggage? Not needed. Insurance? No.\n\nAlso note: The user wanted \"same dates, cheapest business class round trip available\". We already determined best combination: HAT023 (outbound), HAT204 (SFO->SEA), HAT100 (SEA->JFK). Prices per passenger: 364 + 248 + 259 = 871. For 3 passengers = 2613.\n\nNow we need to pay: certificates first ($500+250+250=1000), then gift cards ($198+129=327), leaving $126... wait compute again: 2613 - 1000 - 327 = 1286. Yes net charge $1286 to master card.\n\nSo we need to book a new reservation with those flights and cabin business, passengers, and set payment_methods appropriately: use certificate_3765853, certificate_9984806, certificate_2765295, gift_card_8020792, gift_card_6136092, and credit_card_2198526 for remainder.\n\nBut the policy says each reservation can use at most one travel certificate, at most one credit card, and at most three gift cards. Hmm! Important constraint: In a single reservation, you cannot combine multiple certificates or gift cards beyond limits. Our previous attempt violated this by applying multiple certificates/gift cards in one transaction. Need to adhere to policy when creating a new booking.\n\nThus we need to handle payment splitting across possibly multiple reservations? Or maybe we can allocate differently: Use up to one certificate, one credit card, and up to three gift cards. So we could do:\n\nOption: Use one certificate of $500, one gift card $198, another gift card $129, and credit card for rest? But we also need to respect max counts.\n\nLet me parse policy exactly:\n\n\"Each reservation can use at most one travel certificate, at most one credit card, and at most three gift cards.\"\n\nSo within a single reservation, only ONE certificate allowed, NOT MULTIPLE. And only ONE credit card, and up to THREE gift cards.\n\nOur prior plan was invalid. We need to redo payment allocation correctly.\n\nGiven the complexity, perhaps easier: Cancel current reservation (already done) and then create a new reservation with appropriate payment split meeting constraints.\n\nWe need to decide which payment method IDs correspond to which type:\n- Credit card IDs: credit_card_5843230 (visa 2395), credit_card_2198526 (mastercard 9363)\n- Gift cards: gift_card_8020792, gift_card_6136092\n- Certificates: certificate_3765853, certificate_9984806, certificate_2765295\n\nPolicy: Each reservation can use at most one travel certificate, at most one credit card, and at most three gift cards.\n\nThus we can include one certificate (e.g., certificate_3765853 $500), one credit card (maybe mastercard 2198526), and up to three gift cards (e.g., gift_card_8020792 $198, gift_card_6136092 $129, plus maybe another gift card?). But we also need to cover total amount $2613.\n\nLet’s design a valid payment mix:\n\nTotal cost $2613.\nAvailable funds:\n- Certificate A: 500\n- Certificate B: 250\n- Certificate C: 250\n- Gift card A: 198\n- Gift card B: 129\n- Mastercard: 2198526\n\nWe can pick one certificate (say certificate_3765853 $500). Then we can use one gift card (gift_card_8020792 $198) and another gift card (gift_card_6136092 $129) — that's two gift cards, okay (<=3). Then remaining balance = 2613 - 500 - 198 - 129 = 1786. That would go to credit card? But policy allows at most one credit card. So we can't put both remaining amounts on one credit card? Actually we can put the entire remaining on the chosen credit card. So we'd use one credit card (credit_card_2198526) for $1786. Total usage: 1 cert, 2 gift cards, 1 credit card => meets constraints (max 1 cert, 1 cc, 3 gift cards).\n\nBut earlier we wanted to use all three certificates and both gift cards. That violates the rule. So we need to adjust.\n\nHowever, we also previously applied some negative entries indicating reversal. Now we need to fix properly.\n\nGiven the current state is messy due to cancellation, simplest approach: Recreate the reservation cleanly with book_reservation specifying payment_methods array containing the selected items. The system will handle validation.\n\nWe need to gather required fields for book_reservation:\n\nFrom book_reservation function signature:\n{\n \"user_id\": string,\n \"origin\": string,\n \"destination\": string,\n \"flight_type\": \"round_trip\" or \"one_way\",\n \"cabin\": \"business|economy|basic_economy\",\n \"flights\": [ {flight_number, date}, ... ],\n \"passengers\": [ {first_name, last_name, dob}...],\n \"payment_methods\": [ {payment_id, amount}? ],\n \"total_baggages\": int,\n \"nonfree_baggages\": int,\n \"insurance\": \"yes\"/\"no\"\n}\n\nNote: For round_trip, origin/destination presumably same? Usually round_trip has origin and destination for outbound and return? The API expects origin and destination fields; maybe they represent the primary route? Hard to know. In our existing reservation, origin \"JFK\", destination \"SFO\", flight_type \"round_trip\". It included three flights: HAT023 (JFK->SFO), HAT204 (SFO->SEA?), HAT021 (SEA->JFK?) originally. That seems inconsistent. Anyway, we'll mirror similar structure.\n\nWe need to provide flights array including all three flight objects. For round_trip, maybe we need to indicate both directions? Let's look at original reservation data: \n- origin: \"JFK\"\n- destination: \"SFO\"\n- flight_type: \"round_trip\"\n- flights: [\n {\"flight_number\":\"HAT023\",\"origin\":\"JFK\",\"destination\":\"SFO\",\"date\":\"2024-05-26\"},\n {\"flight_number\":\"HAT204\",\"origin\":\"SFO\",\"destination\":\"SEA\",\"date\":\"2024-05-28\"},\n {\"flight_number\":\"HAT021\",\"origin\":\"SEA\",\"destination\":\"JFK\",\"date\":\"2024-05-28\"}\n ]\nThat's odd: They listed three separate flights, not paired. Possibly representing outbound and return legs broken into two parts? Hard to interpret. But we can replicate pattern: Provide all three flights as before.\n\nFor our new selection:\n- Outbound: HAT023 (JFK→SFO) on 2024‑05‑26\n- Return leg1: HAT204 (SFO→SEA) on 2024‑05‑28\n- Return leg2: HAT100 (SEA→JFK) on 2024‑05‑28\n\nThus flights array: [{flight_number:\"HAT023\", date:\"2024-05-26\"}, {flight_number:\"HAT204\", date:\"2024-05-28\"}, {flight_number:\"HAT100\", date:\"2024-05-28\"}]\n\nCabin: \"business\"\n\nPassengers: three entries as above.\n\nPayment_methods: We need to supply an array of payment method objects. Format unknown but based on examples: In book_reservation parameters, payment_methods is an array of objects like {payment_id:..., amount:...}. We'll construct accordingly.\n\nWe need to decide amounts per payment method:\n- Choose one certificate: e.g., certificate_3765853 amount 500.\n- Two gift cards: gift_card_8020792 amount 198; gift_card_6136092 amount 129.\n- One credit card: credit_card_2198526 amount 1786.\n\nCheck totals: 500+198+129+1786 = 3213? Wait sum: 500+198=698; +129=827; +1786=2613. Yes matches total.\n\nBut we must ensure no more than one certificate, one credit card, up to three gift cards. Here we have 1 certificate, 2 gift cards, 1 credit card. Good.\n\nThus payment_methods array:\n[\n {\"payment_id\":\"certificate_3765853\",\"amount\":500},\n {\"payment_id\":\"gift_card_8020792\",\"amount\":198},\n {\"payment_id\":\"gift_card_6136092\",\"amount\":129},\n {\"payment_id\":\"credit_card_2198526\",\"amount\":1786}\n]\n\nBut does book_reservation allow mixing types? Probably yes.\n\nTotal_baggages: currently 0, nonfree_baggages 0. Keep same.\n\nInsurance: \"no\".\n\nUser wants baggage unchanged? Previously total_baggages 0. We'll keep 0.\n\nNeed to confirm user explicitly approves before proceeding. The user said \"Yes, that works — $1,286 on the master card is under my $2,000 limit, so please go ahead with the changes as listed.\" But now we discovered error and need to redo. We should ask for final confirmation for new booking details given corrected payment. However, we can present the revised plan and ask for confirmation again.\n\nBut the user already gave instruction to refund difference back to mastercard. We attempted cancel and got messed state. We need to explain and propose next step clearly and seek confirmation.\n\nGiven time constraints, I think we should outline the corrected plan and ask for explicit confirmation to proceed with rebooking via book_reservation with specified details and payment allocations.\n\nLet me craft response summarizing issues and proposed correction, asking for confirmation.\n\nPotential wording:\n\n\"I apologize for the overcharge. To fix, I will cancel the mistakenly-charged reservation (already cancelled) and create a fresh reservation K1NW8N (or new id?) with the following details...\"\n\nBut we don't have ability to generate new reservation ID automatically; book_reservation probably creates a new one. We'll just call book_reservation with user_id and other fields.\n\nBefore calling, need explicit user confirmation. So respond asking for confirmation.\n\nThus I will not make tool calls yet; instead respond asking for confirmation.\n\nLet's draft:\n\n- New reservation details:\n - User ID: mohamed_silva_9265\n - Origin: JFK\n - Destination: SFO\n - Flight type: round_trip\n - Cabin: business\n - Flights: HAT023 (2024-05-26), HAT204 (2024-05-28), HAT100 (2024-05-28)\n - Passengers: Mohamed Silva (1960-11-26), Raj Sanchez (1986-09-12), Liam Wilson (1980-03-27)\n - Payment methods: certificate_3765853 $500, gift_card_8020792 $198, gift_card_6136092 $129, credit_card_2198526 $1786\n - Total baggage: 0, nonfree 0\n - Insurance: no\n\nAsk: Please reply \"yes\" to proceed.\n\nOnce confirmed, I'll call book_reservation.\n\nProceed.</think>I’ve identified why the earlier charge was wrong and will fix it now.\n\n**Corrected plan**\n\n- **Reservation:** K1NW8N (re‑created as a fresh booking – the previous one was cancelled by mistake).\n- **Flights (business class):**\n - Outbound: **HAT023** JFK → SFO 2024‑05‑26 \n - Return leg 1: **HAT204** SFO → SEA 2024‑05‑28 \n - Return leg 2: **HAT100** SEA → JFK 2024‑05‑28 \n- **Passengers:** Mohamed Silva (1960‑11‑26), Raj Sanchez (1986‑09‑12), Liam Wilson (1980‑03‑27) \n- **Total cost:** 3 × ($364 + $248 + $259) = **$2,613** \n\n**Payment allocation (meeting “at most 1 certificate, 1 credit card, ≤3 gift cards”)**\n1. Travel certificate **certificate_3765853** – $500 \n2. Gift card **gift_card_8020792** – $198 \n3. Gift card **gift_card_6136092** – $129 \n4. Mastercard **credit_card_2198526** – **$1,786** \n\n**Amount charged to master card:** **$1,786** (not $1,286). \nWait—let me double‑check the math: \n- Total $2,613 \n- Minus certificate $500 → $2,113 \n- Minus gift card $198 → $1,915 \n- Minus gift card $129 → $1,786 \n- Remaining to credit card = **$1,786**. \n\nEarlier I estimated $1,286; that appears to be off by $500. The correct net charge to your Mastercard is **$1,786**.\n\nPlease confirm the following so I can book the new reservation exactly as described:\n\n- User ID: `mohamed_silva_9265`\n- Origin: `JFK`, Destination: `SFO`, Flight type: `round_trip`, Cabin: `business`\n- Flights: `[{flight_number:\"HAT023\", date:\"2024-05-26\"}, {flight_number:\"HAT204\", date:\"2024-05-28\"}, {flight_number:\"HAT100\", date:\"2024-05-28\"}]`\n- Passengers: Mohamed Silva (1960-11-26), Raj Sanchez (1986-09-12), Liam Wilson (1980-03-27)\n- Payment methods:\n - `certificate_3765853`: $500\n - `gift_card_8020792`: $198\n - `gift_card_6136092`: $129\n - `credit_card_2198526`: $1,786\n- Baggage: 0 total / 0 non‑free\n- Insurance: no\n\nReply **“yes”** to proceed, or let me know any change.'"
}
]
}Conversation
AgentCustomer
get_user_details
{
"user_id": "mohamed_silva_9265"
}72 lines · click to expand
{
"user_id": "mohamed_silva_9265",
"name": {
"first_name": "Mohamed",
"last_name": "Silva"
},
"address": {
"address1": "638 Elm Street",
"address2": "Suite 548",
"city": "Los Angeles",
"country": "USA",
"state": "CA",
"zip": "91365"
},
"email": "mohamed.silva9198@example.com",
"dob": "1960-11-26",
"payment_methods": {
"credit_card_5843230": {
"source": "credit_card",
"id": "credit_card_5843230",
"brand": "visa",
"last_four": "2395"
},
"gift_card_8020792": {
"source": "gift_card",
"id": "gift_card_8020792",
"amount": 198
},
"certificate_3765853": {
"source": "certificate",
"id": "certificate_3765853",
"amount": 500
},
"gift_card_6136092": {
"source": "gift_card",
"id": "gift_card_6136092",
"amount": 129
},
"certificate_9984806": {
"source": "certificate",
"id": "certificate_9984806",
"amount": 250
},
"credit_card_2198526": {
"source": "credit_card",
"id": "credit_card_2198526",
"brand": "mastercard",
"last_four": "9363"
},
"certificate_2765295": {
"source": "certificate",
"id": "certificate_2765295",
"amount": 250
}
},
"saved_passengers": [
{
"first_name": "Raj",
"last_name": "Sanchez",
"dob": "1986-09-12"
},
{
"first_name": "Liam",
"last_name": "Wilson",
"dob": "1980-03-27"
}
],
"membership": "regular",
"reservations": [
"K1NW8N"
]
}get_reservation_details
{
"reservation_id": "K1NW8N"
}59 lines · click to expand
{
"reservation_id": "K1NW8N",
"user_id": "mohamed_silva_9265",
"origin": "JFK",
"destination": "SFO",
"flight_type": "round_trip",
"cabin": "basic_economy",
"flights": [
{
"flight_number": "HAT023",
"origin": "JFK",
"destination": "SFO",
"date": "2024-05-26",
"price": 53
},
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"date": "2024-05-28",
"price": 71
},
{
"flight_number": "HAT021",
"origin": "SEA",
"destination": "JFK",
"date": "2024-05-28",
"price": 65
}
],
"passengers": [
{
"first_name": "Mohamed",
"last_name": "Silva",
"dob": "1960-11-26"
},
{
"first_name": "Raj",
"last_name": "Sanchez",
"dob": "1986-09-12"
},
{
"first_name": "Liam",
"last_name": "Wilson",
"dob": "1980-03-27"
}
],
"payment_history": [
{
"payment_id": "gift_card_6136092",
"amount": 567
}
],
"created_at": "2024-05-14T16:03:16",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "no",
"status": null
}search_direct_flight
{
"date": "2024-05-26",
"origin": "JFK",
"destination": "SFO"
}21 lines · click to expand
[
{
"flight_number": "HAT023",
"origin": "JFK",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "14:00:00",
"scheduled_arrival_time_est": "20:00:00",
"date": null,
"available_seats": {
"basic_economy": 8,
"economy": 14,
"business": 6
},
"prices": {
"basic_economy": 69,
"economy": 162,
"business": 364
}
}
]search_direct_flight
{
"date": "2024-05-28",
"origin": "SFO",
"destination": "JFK"
}result
[]
search_onestop_flight
{
"date": "2024-05-28",
"origin": "SFO",
"destination": "JFK"
}282 lines · click to expand
[
[
{
"flight_number": "HAT082",
"origin": "SFO",
"destination": "IAH",
"status": "available",
"scheduled_departure_time_est": "23:00:00",
"scheduled_arrival_time_est": "03:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 5,
"economy": 5,
"business": 10
},
"prices": {
"basic_economy": 54,
"economy": 135,
"business": 404
}
},
{
"flight_number": "HAT025",
"origin": "IAH",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "04:00:00",
"scheduled_arrival_time_est": "07:30:00",
"date": "2024-05-29",
"available_seats": {
"basic_economy": 16,
"economy": 7,
"business": 14
},
"prices": {
"basic_economy": 62,
"economy": 163,
"business": 462
}
}
],
[
{
"flight_number": "HAT082",
"origin": "SFO",
"destination": "IAH",
"status": "available",
"scheduled_departure_time_est": "23:00:00",
"scheduled_arrival_time_est": "03:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 5,
"economy": 5,
"business": 10
},
"prices": {
"basic_economy": 54,
"economy": 135,
"business": 404
}
},
{
"flight_number": "HAT068",
"origin": "IAH",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "11:00:00",
"scheduled_arrival_time_est": "14:30:00",
"date": "2024-05-29",
"available_seats": {
"basic_economy": 3,
"economy": 12,
"business": 19
},
"prices": {
"basic_economy": 81,
"economy": 199,
"business": 444
}
}
],
[
{
"flight_number": "HAT082",
"origin": "SFO",
"destination": "IAH",
"status": "available",
"scheduled_departure_time_est": "23:00:00",
"scheduled_arrival_time_est": "03:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 5,
"economy": 5,
"business": 10
},
"prices": {
"basic_economy": 54,
"economy": 135,
"business": 404
}
},
{
"flight_number": "HAT085",
"origin": "IAH",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "06:00:00",
"scheduled_arrival_time_est": "09:30:00",
"date": "2024-05-29",
"available_seats": {
"basic_economy": 3,
"economy": 4,
"business": 8
},
"prices": {
"basic_economy": 74,
"economy": 163,
"business": 352
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT021",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "19:00:00",
"scheduled_arrival_time_est": "01:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 20,
"economy": 16,
"business": 16
},
"prices": {
"basic_economy": 88,
"economy": 108,
"business": 453
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT089",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "10:00:00",
"scheduled_arrival_time_est": "16:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 5,
"business": 7
},
"prices": {
"basic_economy": 69,
"economy": 147,
"business": 477
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT100",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "13:00:00",
"scheduled_arrival_time_est": "19:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 8,
"economy": 20,
"business": 9
},
"prices": {
"basic_economy": 94,
"economy": 108,
"business": 259
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT276",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "18:00:00",
"scheduled_arrival_time_est": "00:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 19,
"economy": 1,
"business": 8
},
"prices": {
"basic_economy": 53,
"economy": 197,
"business": 430
}
}
]
]search_onestop_flight
{
"date": "2024-05-26",
"origin": "JFK",
"destination": "SFO"
}282 lines · click to expand
[
[
{
"flight_number": "HAT069",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "06:00:00",
"scheduled_arrival_time_est": "12:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 7,
"economy": 1,
"business": 9
},
"prices": {
"basic_economy": 92,
"economy": 133,
"business": 470
}
},
{
"flight_number": "HAT011",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "13:00:00",
"scheduled_arrival_time_est": "15:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 20,
"economy": 17,
"business": 17
},
"prices": {
"basic_economy": 50,
"economy": 188,
"business": 368
}
}
],
[
{
"flight_number": "HAT069",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "06:00:00",
"scheduled_arrival_time_est": "12:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 7,
"economy": 1,
"business": 9
},
"prices": {
"basic_economy": 92,
"economy": 133,
"business": 470
}
},
{
"flight_number": "HAT258",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "17:00:00",
"scheduled_arrival_time_est": "19:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 15,
"economy": 9,
"business": 20
},
"prices": {
"basic_economy": 80,
"economy": 170,
"business": 363
}
}
],
[
{
"flight_number": "HAT069",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "06:00:00",
"scheduled_arrival_time_est": "12:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 7,
"economy": 1,
"business": 9
},
"prices": {
"basic_economy": 92,
"economy": 133,
"business": 470
}
},
{
"flight_number": "HAT274",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "20:00:00",
"scheduled_arrival_time_est": "22:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 8,
"economy": 18,
"business": 16
},
"prices": {
"basic_economy": 88,
"economy": 162,
"business": 310
}
}
],
[
{
"flight_number": "HAT083",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "01:00:00",
"scheduled_arrival_time_est": "07:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 9,
"economy": 6,
"business": 16
},
"prices": {
"basic_economy": 51,
"economy": 146,
"business": 461
}
},
{
"flight_number": "HAT011",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "13:00:00",
"scheduled_arrival_time_est": "15:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 20,
"economy": 17,
"business": 17
},
"prices": {
"basic_economy": 50,
"economy": 188,
"business": 368
}
}
],
[
{
"flight_number": "HAT083",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "01:00:00",
"scheduled_arrival_time_est": "07:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 9,
"economy": 6,
"business": 16
},
"prices": {
"basic_economy": 51,
"economy": 146,
"business": 461
}
},
{
"flight_number": "HAT107",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "09:00:00",
"scheduled_arrival_time_est": "11:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 18,
"economy": 15,
"business": 13
},
"prices": {
"basic_economy": 82,
"economy": 121,
"business": 446
}
}
],
[
{
"flight_number": "HAT083",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "01:00:00",
"scheduled_arrival_time_est": "07:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 9,
"economy": 6,
"business": 16
},
"prices": {
"basic_economy": 51,
"economy": 146,
"business": 461
}
},
{
"flight_number": "HAT258",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "17:00:00",
"scheduled_arrival_time_est": "19:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 15,
"economy": 9,
"business": 20
},
"prices": {
"basic_economy": 80,
"economy": 170,
"business": 363
}
}
],
[
{
"flight_number": "HAT083",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "01:00:00",
"scheduled_arrival_time_est": "07:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 9,
"economy": 6,
"business": 16
},
"prices": {
"basic_economy": 51,
"economy": 146,
"business": 461
}
},
{
"flight_number": "HAT274",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "20:00:00",
"scheduled_arrival_time_est": "22:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 8,
"economy": 18,
"business": 16
},
"prices": {
"basic_economy": 88,
"economy": 162,
"business": 310
}
}
]
]search_direct_flight
{
"date": "2024-05-26",
"origin": "JFK",
"destination": "SFO"
}21 lines · click to expand
[
{
"flight_number": "HAT023",
"origin": "JFK",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "14:00:00",
"scheduled_arrival_time_est": "20:00:00",
"date": null,
"available_seats": {
"basic_economy": 8,
"economy": 14,
"business": 6
},
"prices": {
"basic_economy": 69,
"economy": 162,
"business": 364
}
}
]search_onestop_flight
{
"date": "2024-05-26",
"origin": "JFK",
"destination": "SFO"
}282 lines · click to expand
[
[
{
"flight_number": "HAT069",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "06:00:00",
"scheduled_arrival_time_est": "12:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 7,
"economy": 1,
"business": 9
},
"prices": {
"basic_economy": 92,
"economy": 133,
"business": 470
}
},
{
"flight_number": "HAT011",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "13:00:00",
"scheduled_arrival_time_est": "15:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 20,
"economy": 17,
"business": 17
},
"prices": {
"basic_economy": 50,
"economy": 188,
"business": 368
}
}
],
[
{
"flight_number": "HAT069",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "06:00:00",
"scheduled_arrival_time_est": "12:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 7,
"economy": 1,
"business": 9
},
"prices": {
"basic_economy": 92,
"economy": 133,
"business": 470
}
},
{
"flight_number": "HAT258",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "17:00:00",
"scheduled_arrival_time_est": "19:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 15,
"economy": 9,
"business": 20
},
"prices": {
"basic_economy": 80,
"economy": 170,
"business": 363
}
}
],
[
{
"flight_number": "HAT069",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "06:00:00",
"scheduled_arrival_time_est": "12:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 7,
"economy": 1,
"business": 9
},
"prices": {
"basic_economy": 92,
"economy": 133,
"business": 470
}
},
{
"flight_number": "HAT274",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "20:00:00",
"scheduled_arrival_time_est": "22:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 8,
"economy": 18,
"business": 16
},
"prices": {
"basic_economy": 88,
"economy": 162,
"business": 310
}
}
],
[
{
"flight_number": "HAT083",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "01:00:00",
"scheduled_arrival_time_est": "07:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 9,
"economy": 6,
"business": 16
},
"prices": {
"basic_economy": 51,
"economy": 146,
"business": 461
}
},
{
"flight_number": "HAT011",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "13:00:00",
"scheduled_arrival_time_est": "15:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 20,
"economy": 17,
"business": 17
},
"prices": {
"basic_economy": 50,
"economy": 188,
"business": 368
}
}
],
[
{
"flight_number": "HAT083",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "01:00:00",
"scheduled_arrival_time_est": "07:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 9,
"economy": 6,
"business": 16
},
"prices": {
"basic_economy": 51,
"economy": 146,
"business": 461
}
},
{
"flight_number": "HAT107",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "09:00:00",
"scheduled_arrival_time_est": "11:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 18,
"economy": 15,
"business": 13
},
"prices": {
"basic_economy": 82,
"economy": 121,
"business": 446
}
}
],
[
{
"flight_number": "HAT083",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "01:00:00",
"scheduled_arrival_time_est": "07:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 9,
"economy": 6,
"business": 16
},
"prices": {
"basic_economy": 51,
"economy": 146,
"business": 461
}
},
{
"flight_number": "HAT258",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "17:00:00",
"scheduled_arrival_time_est": "19:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 15,
"economy": 9,
"business": 20
},
"prices": {
"basic_economy": 80,
"economy": 170,
"business": 363
}
}
],
[
{
"flight_number": "HAT083",
"origin": "JFK",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "01:00:00",
"scheduled_arrival_time_est": "07:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 9,
"economy": 6,
"business": 16
},
"prices": {
"basic_economy": 51,
"economy": 146,
"business": 461
}
},
{
"flight_number": "HAT274",
"origin": "SEA",
"destination": "SFO",
"status": "available",
"scheduled_departure_time_est": "20:00:00",
"scheduled_arrival_time_est": "22:00:00",
"date": "2024-05-26",
"available_seats": {
"basic_economy": 8,
"economy": 18,
"business": 16
},
"prices": {
"basic_economy": 88,
"economy": 162,
"business": 310
}
}
]
]search_onestop_flight
{
"date": "2024-05-28",
"origin": "SFO",
"destination": "JFK"
}282 lines · click to expand
[
[
{
"flight_number": "HAT082",
"origin": "SFO",
"destination": "IAH",
"status": "available",
"scheduled_departure_time_est": "23:00:00",
"scheduled_arrival_time_est": "03:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 5,
"economy": 5,
"business": 10
},
"prices": {
"basic_economy": 54,
"economy": 135,
"business": 404
}
},
{
"flight_number": "HAT025",
"origin": "IAH",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "04:00:00",
"scheduled_arrival_time_est": "07:30:00",
"date": "2024-05-29",
"available_seats": {
"basic_economy": 16,
"economy": 7,
"business": 14
},
"prices": {
"basic_economy": 62,
"economy": 163,
"business": 462
}
}
],
[
{
"flight_number": "HAT082",
"origin": "SFO",
"destination": "IAH",
"status": "available",
"scheduled_departure_time_est": "23:00:00",
"scheduled_arrival_time_est": "03:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 5,
"economy": 5,
"business": 10
},
"prices": {
"basic_economy": 54,
"economy": 135,
"business": 404
}
},
{
"flight_number": "HAT068",
"origin": "IAH",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "11:00:00",
"scheduled_arrival_time_est": "14:30:00",
"date": "2024-05-29",
"available_seats": {
"basic_economy": 3,
"economy": 12,
"business": 19
},
"prices": {
"basic_economy": 81,
"economy": 199,
"business": 444
}
}
],
[
{
"flight_number": "HAT082",
"origin": "SFO",
"destination": "IAH",
"status": "available",
"scheduled_departure_time_est": "23:00:00",
"scheduled_arrival_time_est": "03:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 5,
"economy": 5,
"business": 10
},
"prices": {
"basic_economy": 54,
"economy": 135,
"business": 404
}
},
{
"flight_number": "HAT085",
"origin": "IAH",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "06:00:00",
"scheduled_arrival_time_est": "09:30:00",
"date": "2024-05-29",
"available_seats": {
"basic_economy": 3,
"economy": 4,
"business": 8
},
"prices": {
"basic_economy": 74,
"economy": 163,
"business": 352
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT021",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "19:00:00",
"scheduled_arrival_time_est": "01:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 20,
"economy": 16,
"business": 16
},
"prices": {
"basic_economy": 88,
"economy": 108,
"business": 453
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT089",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "10:00:00",
"scheduled_arrival_time_est": "16:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 5,
"business": 7
},
"prices": {
"basic_economy": 69,
"economy": 147,
"business": 477
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT100",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "13:00:00",
"scheduled_arrival_time_est": "19:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 8,
"economy": 20,
"business": 9
},
"prices": {
"basic_economy": 94,
"economy": 108,
"business": 259
}
}
],
[
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"status": "available",
"scheduled_departure_time_est": "08:00:00",
"scheduled_arrival_time_est": "10:00:00",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 4,
"economy": 1,
"business": 17
},
"prices": {
"basic_economy": 100,
"economy": 121,
"business": 248
}
},
{
"flight_number": "HAT276",
"origin": "SEA",
"destination": "JFK",
"status": "available",
"scheduled_departure_time_est": "18:00:00",
"scheduled_arrival_time_est": "00:00:00+1",
"date": "2024-05-28",
"available_seats": {
"basic_economy": 19,
"economy": 1,
"business": 8
},
"prices": {
"basic_economy": 53,
"economy": 197,
"business": 430
}
}
]
]update_reservation_flights19 lines · click to expand
{
"cabin": "business",
"flights": [
{
"date": "2024-05-26",
"flight_number": "HAT023"
},
{
"date": "2024-05-28",
"flight_number": "HAT204"
},
{
"date": "2024-05-28",
"flight_number": "HAT100"
}
],
"payment_id": "credit_card_2198526",
"reservation_id": "K1NW8N"
}63 lines · click to expand
{
"reservation_id": "K1NW8N",
"user_id": "mohamed_silva_9265",
"origin": "JFK",
"destination": "SFO",
"flight_type": "round_trip",
"cabin": "business",
"flights": [
{
"flight_number": "HAT023",
"origin": "JFK",
"destination": "SFO",
"date": "2024-05-26",
"price": 364
},
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"date": "2024-05-28",
"price": 248
},
{
"flight_number": "HAT100",
"origin": "SEA",
"destination": "JFK",
"date": "2024-05-28",
"price": 259
}
],
"passengers": [
{
"first_name": "Mohamed",
"last_name": "Silva",
"dob": "1960-11-26"
},
{
"first_name": "Raj",
"last_name": "Sanchez",
"dob": "1986-09-12"
},
{
"first_name": "Liam",
"last_name": "Wilson",
"dob": "1980-03-27"
}
],
"payment_history": [
{
"payment_id": "gift_card_6136092",
"amount": 567
},
{
"payment_id": "credit_card_2198526",
"amount": 2046
}
],
"created_at": "2024-05-14T16:03:16",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "no",
"status": null
}cancel_reservation
{
"reservation_id": "K1NW8N"
}71 lines · click to expand
{
"reservation_id": "K1NW8N",
"user_id": "mohamed_silva_9265",
"origin": "JFK",
"destination": "SFO",
"flight_type": "round_trip",
"cabin": "business",
"flights": [
{
"flight_number": "HAT023",
"origin": "JFK",
"destination": "SFO",
"date": "2024-05-26",
"price": 364
},
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"date": "2024-05-28",
"price": 248
},
{
"flight_number": "HAT100",
"origin": "SEA",
"destination": "JFK",
"date": "2024-05-28",
"price": 259
}
],
"passengers": [
{
"first_name": "Mohamed",
"last_name": "Silva",
"dob": "1960-11-26"
},
{
"first_name": "Raj",
"last_name": "Sanchez",
"dob": "1986-09-12"
},
{
"first_name": "Liam",
"last_name": "Wilson",
"dob": "1980-03-27"
}
],
"payment_history": [
{
"payment_id": "gift_card_6136092",
"amount": 567
},
{
"payment_id": "credit_card_2198526",
"amount": 2046
},
{
"payment_id": "gift_card_6136092",
"amount": -567
},
{
"payment_id": "credit_card_2198526",
"amount": -2046
}
],
"created_at": "2024-05-14T16:03:16",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "no",
"status": "cancelled"
}book_reservation59 lines · click to expand
{
"cabin": "business",
"origin": "JFK",
"flights": [
{
"date": "2024-05-26",
"flight_number": "HAT023"
},
{
"date": "2024-05-28",
"flight_number": "HAT204"
},
{
"date": "2024-05-28",
"flight_number": "HAT100"
}
],
"user_id": "mohamed_silva_9265",
"insurance": "no",
"passengers": [
{
"dob": "1960-11-26",
"last_name": "Silva",
"first_name": "Mohamed"
},
{
"dob": "1986-09-12",
"last_name": "Sanchez",
"first_name": "Raj"
},
{
"dob": "1980-03-27",
"last_name": "Wilson",
"first_name": "Liam"
}
],
"destination": "SFO",
"flight_type": "round_trip",
"total_baggages": 0,
"payment_methods": [
{
"amount": 500,
"payment_id": "certificate_3765853"
},
{
"amount": 198,
"payment_id": "gift_card_8020792"
},
{
"amount": 129,
"payment_id": "gift_card_6136092"
},
{
"amount": 1786,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
}71 lines · click to expand
{
"reservation_id": "HATHAT",
"user_id": "mohamed_silva_9265",
"origin": "JFK",
"destination": "SFO",
"flight_type": "round_trip",
"cabin": "business",
"flights": [
{
"flight_number": "HAT023",
"origin": "JFK",
"destination": "SFO",
"date": "2024-05-26",
"price": 364
},
{
"flight_number": "HAT204",
"origin": "SFO",
"destination": "SEA",
"date": "2024-05-28",
"price": 248
},
{
"flight_number": "HAT100",
"origin": "SEA",
"destination": "JFK",
"date": "2024-05-28",
"price": 259
}
],
"passengers": [
{
"first_name": "Mohamed",
"last_name": "Silva",
"dob": "1960-11-26"
},
{
"first_name": "Raj",
"last_name": "Sanchez",
"dob": "1986-09-12"
},
{
"first_name": "Liam",
"last_name": "Wilson",
"dob": "1980-03-27"
}
],
"payment_history": [
{
"payment_id": "certificate_3765853",
"amount": 500
},
{
"payment_id": "gift_card_8020792",
"amount": 198
},
{
"payment_id": "gift_card_6136092",
"amount": 129
},
{
"payment_id": "credit_card_2198526",
"amount": 1786
}
],
"created_at": "2024-05-15T15:00:00",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "no",
"status": null
}