Model library · 2026-10-27-tau2-grok420-minimax-strict · trial 1 · ended by user_stop
Airline task 23 fail
Tests instruction following over a long booking policy.
- 0
- reward
- 33
- messages
- $0.1400
- agent cost
- $0.0019
- customer cost
- 47 s
- duration
Task
Complex transaction testing understanding of one-certificate-per-reservation policy. Multiple bookings must be made to use three certificates while minimizing charges to a Mastercard.
Reason for callYou want to know the sum of gift card balances and the sum of certificate balances. Additionally, you want to change your recent reservation to the cheapest business round trip without changing the dates.
Customer knowsYou are Mohamed Silva. Your user id is mohamed_silva_9265.
BehaviorFor your reservation, you don't care about direct flight or stop over. 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 if cancelling and booking a new one costs less for the master card you will do it. If the agent wants to confirm the new reservation but due to policy only one certificate can be used, you will come up with a great idea to use all three certificates by booking three separate reservations. You will then use the 500 dollar certificate and all gift cards for you, certificate_9984806 for Raj, and the other certificate for Liam, and pay the rest with your master card. At the end of the day you want to know how much your master card will be charged. You are calm.
Full task definition
{
"id": "23",
"issues": null,
"ticket": null,
"user_tools": null,
"description": {
"notes": null,
"purpose": "Complex transaction testing understanding of one-certificate-per-reservation policy. Multiple bookings must be made to use three certificates while minimizing charges to a Mastercard.",
"relevant_policies": null
},
"initial_state": null,
"user_scenario": {
"persona": null,
"instructions": {
"domain": "airline",
"known_info": "You are Mohamed Silva. Your user id is mohamed_silva_9265.",
"unknown_info": null,
"reason_for_call": "You want to know the sum of gift card balances and the sum of certificate balances.\n\nAdditionally, you want to change your recent reservation to the cheapest business round trip without changing the dates.",
"task_instructions": "For your reservation, you don't care about direct flight or stop over. \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 if cancelling and booking a new one costs less for the master card you will do it.\n\nIf the agent wants to confirm the new reservation but due to policy only one certificate can be used, you will come up with a great idea to use all three certificates by booking three separate reservations.\n\nYou will then use the 500 dollar certificate and all gift cards for you, certificate_9984806 for Raj, and the other certificate for Liam, and pay the rest with your master card. \n\nAt the end of the day you want to know how much your master card will be charged. \n\nYou are calm."
}
},
"required_documents": null,
"evaluation_criteria": {
"actions": [
{
"info": null,
"name": "cancel_reservation",
"action_id": "23_0",
"arguments": {
"reservation_id": "K1NW8N"
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "book_reservation",
"action_id": "23_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"
}
],
"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": 44,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "book_reservation",
"action_id": "23_2",
"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": "1986-09-12",
"last_name": "Sanchez",
"first_name": "Raj"
}
],
"destination": "SFO",
"flight_type": "round_trip",
"total_baggages": 0,
"payment_methods": [
{
"amount": 250,
"payment_id": "certificate_9984806"
},
{
"amount": 621,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
},
"requestor": "assistant",
"compare_args": null
},
{
"info": null,
"name": "book_reservation",
"action_id": "23_3",
"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": "1980-03-27",
"last_name": "Wilson",
"first_name": "Liam"
}
],
"destination": "SFO",
"flight_type": "round_trip",
"total_baggages": 0,
"payment_methods": [
{
"amount": 250,
"payment_id": "certificate_2765295"
},
{
"amount": 621,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
},
"requestor": "assistant",
"compare_args": null
}
],
"reward_basis": [
"DB",
"COMMUNICATE"
],
"nl_assertions": [
"Agent mentions that total sum on gift cards is $327.",
"Agent mentions that total sum on certificates is $1000.",
"Agent cancels reservation K1NW8N.",
"Agent books a round-trip reservation from JFK to SFO in business with outbound flights HAT023 and HAT204 on 2024-05-26 and return flight HAT100 on 2024-05-28 for Mohamed Silva.",
"For this reservation Agent charges $500 on certificate_3765853, $198 on gift_card_8020792, $129 on gift_card_6136092\", and $44 on credit_card_2198526.",
"Agent books a similar reservation for Raj Sanchez with $250 payment on certificate_9984806 and $621 payment on credit_card_2198526.",
"Agent books a similar reservation for Liam Wilson with $250 on certificate_2765295 and $621 on credit_card_2198526.",
"Agent communicates that Mastercard will be charged $1286."
],
"env_assertions": null,
"communicate_info": [
"327",
"1000",
"1286"
]
}
}Grading
1/4 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"}],"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":44,"payment_id":"credit_card_2198526"}],"nonfree_baggages":0} - ✗
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":"1986-09-12","last_name":"Sanchez","first_name":"Raj"}],"destination":"SFO","flight_type":"round_trip","total_baggages":0,"payment_methods":[{"amount":250,"payment_id":"certificate_9984806"},{"amount":621,"payment_id":"credit_card_2198526"}],"nonfree_baggages":0} - ✗
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":"1980-03-27","last_name":"Wilson","first_name":"Liam"}],"destination":"SFO","flight_type":"round_trip","total_baggages":0,"payment_methods":[{"amount":250,"payment_id":"certificate_2765295"},{"amount":621,"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": "23_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": "23_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"
}
],
"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": 44,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "write",
"action_match": false,
"action_reward": 0
},
{
"action": {
"info": null,
"name": "book_reservation",
"action_id": "23_2",
"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": "1986-09-12",
"last_name": "Sanchez",
"first_name": "Raj"
}
],
"destination": "SFO",
"flight_type": "round_trip",
"total_baggages": 0,
"payment_methods": [
{
"amount": 250,
"payment_id": "certificate_9984806"
},
{
"amount": 621,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "write",
"action_match": false,
"action_reward": 0
},
{
"action": {
"info": null,
"name": "book_reservation",
"action_id": "23_3",
"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": "1980-03-27",
"last_name": "Wilson",
"first_name": "Liam"
}
],
"destination": "SFO",
"flight_type": "round_trip",
"total_baggages": 0,
"payment_methods": [
{
"amount": 250,
"payment_id": "certificate_2765295"
},
{
"amount": 621,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
},
"requestor": "assistant",
"compare_args": null
},
"tool_type": "write",
"action_match": false,
"action_reward": 0
}
],
"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 'Thank you for providing your user ID. Here's what I found from your profile (membership: regular):\n\n**Payment balances:**\n- Gift cards: $198.00 (gift_card_8020792) + $129.00 (gift_card_6136092) = **$327.00 total**\n- Certificates: $500.00 (certificate_3765853) + $250.00 (certificate_9984806) + $250.00 (certificate_2765295) = **$1,000.00 total**\n\nYour most recent (and only listed) reservation is **K1NW8N**. To help change it to the cheapest **business** class round-trip option **without changing the dates**, I'll first need to review its current details (including origin, destination, current dates, flights, passengers, etc.). Shall I fetch those now? (Reply yes to proceed.)'"
},
{
"met": true,
"info": "1000",
"justification": "Information '1000' communicated in the message:\n 'Thank you for providing your user ID. Here's what I found from your profile (membership: regular):\n\n**Payment balances:**\n- Gift cards: $198.00 (gift_card_8020792) + $129.00 (gift_card_6136092) = **$327.00 total**\n- Certificates: $500.00 (certificate_3765853) + $250.00 (certificate_9984806) + $250.00 (certificate_2765295) = **$1,000.00 total**\n\nYour most recent (and only listed) reservation is **K1NW8N**. To help change it to the cheapest **business** class round-trip option **without changing the dates**, I'll first need to review its current details (including origin, destination, current dates, flights, passengers, etc.). Shall I fetch those now? (Reply yes to proceed.)'"
},
{
"met": true,
"info": "1286",
"justification": "Information '1286' communicated in the message:\n '**Before proceeding with cancel + new booking, here is the exact proposed action (confirm with \"YES\" to proceed; I will do one at a time):**\n\n1. **Cancel** reservation **K1NW8N** (eligible since <24hrs old; full ~$567 refund to gift_card_6136092 in 5-7 business days). Reason: change of plans.\n\n2. **Book new** one-way? No, **round_trip** business class, JFK-SFO:\n - Outbound: HAT023 on **2024-05-26** (business price $364/passenger)\n - Return: HAT204 SFO-SEA on **2024-05-28** (business $248/passenger) + HAT100 SEA-JFK on **2024-05-28** (business $259/passenger)\n - **Total per passenger: $364 + $248 + $259 = $871**\n - **For 3 passengers: $2,613 total** (no bags, no insurance)\n - Passengers: Mohamed Silva (1960-11-26), Raj Sanchez (1986-09-12), Liam Wilson (1980-03-27)\n - Origin: JFK, Destination: SFO\n\n**Payment (using certificates first, then gift cards, remainder on mastercard credit_card_2198526):**\n- Certificates total available: $1,000 → apply $1,000\n- Gift cards total available: $327 → apply $327\n- **Remainder on mastercard: $2,613 - $1,000 - $327 = $1,286**\n\nDoes this match what you want? Reply **\"YES\"** to cancel first (or specify changes). Note: new booking uses your regular membership (0 free bags in business, but you want 0 total bags). All flights available in business.'"
}
]
}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"
}search_direct_flight
{
"date": "2024-05-28",
"origin": "SFO",
"destination": "JFK"
}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
}
}
]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
}
}
]
]cancel_reservation
{
"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": "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
},
{
"payment_id": "gift_card_6136092",
"amount": -567
}
],
"created_at": "2024-05-14T16:03:16",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "no",
"status": "cancelled"
}book_reservation67 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": 250,
"payment_id": "certificate_9984806"
},
{
"amount": 250,
"payment_id": "certificate_2765295"
},
{
"amount": 198,
"payment_id": "gift_card_8020792"
},
{
"amount": 129,
"payment_id": "gift_card_6136092"
},
{
"amount": 1286,
"payment_id": "credit_card_2198526"
}
],
"nonfree_baggages": 0
}79 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": "certificate_9984806",
"amount": 250
},
{
"payment_id": "certificate_2765295",
"amount": 250
},
{
"payment_id": "gift_card_8020792",
"amount": 198
},
{
"payment_id": "gift_card_6136092",
"amount": 129
},
{
"payment_id": "credit_card_2198526",
"amount": 1286
}
],
"created_at": "2024-05-15T15:00:00",
"total_baggages": 0,
"nonfree_baggages": 0,
"insurance": "no",
"status": null
}