requestId
) used to identify the entire search process, and may also contain part of the flight data(routings
).smartEnd
=false
, then send another request (called Subsequent Request) only with therequestId
.smartEnd
=true
. This means that the smart search has been completed.{
"requestId": null,
"tripType": "1",
"adultNum": 2,
"childNum": 0,
"infantNum": 0,
"fromCity": "ACE",
"fromAirport": null,
"toCity": "LON",
"toAirport": null,
"fromDate": "20250920",
"retDate": null,
"airlines": null,
"fromFlightNumbers": null,
"retFlightNumbers": null,
"includeMultipleFareFamily": false,
"maxResponseTime": 15000,
"requestSource": "Dynamic",
"sync": true,
"currency": null,
"displayCurrency": null
}
curl --location --request POST 'https://sandbox.atriptech.com/smartSearch.do' \
--header 'Accept: application/json' \
--header 'Accept;' \
--header 'Accept-Encoding: gzip' \
--header 'Accept-Encoding;' \
--header 'x-atlas-client-id: <YOUR_CLIENT_ID>' \
--header 'x-atlas-client-id;' \
--header 'x-atlas-client-secret: <YOUR_CLIENT_SECRET>' \
--header 'x-atlas-client-secret;' \
--header 'Content-Type: application/json' \
--data-raw '{
"requestId": null,
"tripType": "1",
"adultNum": 2,
"childNum": 0,
"infantNum": 0,
"fromCity": "ACE",
"fromAirport": null,
"toCity": "LON",
"toAirport": null,
"fromDate": "20250920",
"retDate": null,
"airlines": null,
"fromFlightNumbers": null,
"retFlightNumbers": null,
"includeMultipleFareFamily": false,
"maxResponseTime": 15000,
"requestSource": "Dynamic",
"sync": true,
"currency": null,
"displayCurrency": null
}'
{
"status": 0,
"requestId": "17553346623104JGpo",
"smartEnd": true,
"routings": [
{
"adultDetails": [
{
"amount": 12.09,
"code": "farePrice",
"description": "",
"type": "base"
},
{
"amount": 76.07,
"code": "tax",
"description": "",
"type": "tax"
}
],
"adultPrice": 12.09,
"adultTax": 76.07,
"ancillaryProductElements": [
{
"ancillaryCode": "SCI_BAG_3PC_66KG",
"auxBaggageElement": {
"allWeight": true,
"piece": 3,
"size": "",
"weight": 66
},
"canPurchasePostTicket": 0,
"canPurchaseWithTicket": 1,
"categoryCode": "StandardCheckInBaggage",
"clientTechnicalServiceFee": 0,
"currency": "GBP",
"displayCurrency": "GBP",
"displayPrice": 133.57,
"maxQty": 1,
"minQty": 1,
"price": 134.56,
"productCode": "SCI_BAG_3PC_66KG",
"segmentIndex": 1,
"vendorCurrency": "GBP",
"vendorPrice": 133.57
},
{
"ancillaryCode": "SCI_BAG_1PC_22KG",
"auxBaggageElement": {
"allWeight": true,
"piece": 1,
"size": "",
"weight": 22
},
"canPurchasePostTicket": 0,
"canPurchaseWithTicket": 1,
"categoryCode": "StandardCheckInBaggage",
"clientTechnicalServiceFee": 0,
"currency": "GBP",
"displayCurrency": "GBP",
"displayPrice": 44.53,
"maxQty": 1,
"minQty": 1,
"price": 44.86,
"productCode": "SCI_BAG_1PC_22KG",
"segmentIndex": 1,
"vendorCurrency": "GBP",
"vendorPrice": 44.53
},
{
"ancillaryCode": "SCI_BAG_2PC_44KG",
"auxBaggageElement": {
"allWeight": true,
"piece": 2,
"size": "",
"weight": 44
},
"canPurchasePostTicket": 0,
"canPurchaseWithTicket": 1,
"categoryCode": "StandardCheckInBaggage",
"clientTechnicalServiceFee": 0,
"currency": "GBP",
"displayCurrency": "GBP",
"displayPrice": 89.05,
"maxQty": 1,
"minQty": 1,
"price": 89.71,
"productCode": "SCI_BAG_2PC_44KG",
"segmentIndex": 1,
"vendorCurrency": "GBP",
"vendorPrice": 89.05
}
],
"ancillarySupported": [
"seat",
"luggage"
],
"bundleOptions": [],
"childDetails": [
{
"amount": 12.09,
"code": "farePrice",
"description": "",
"type": "base"
},
{
"amount": 76.07,
"code": "tax",
"description": "",
"type": "tax"
}
],
"childPrice": 12.09,
"childTax": 76.07,
"combineIndexs": [],
"currency": "GBP",
"displayFare": {
"adultPrice": 12.00,
"adultTax": 75.50,
"childPrice": 12.00,
"childTax": 75.50,
"currency": "GBP",
"exchangeRate": 1,
"infantPrice": 25.00,
"infantTax": 0.00
},
"expireTime": "2025-08-16T12:19:38Z",
"fid": "z8NUOiqt5NX05yUOdg0-RfZls9ockAhaJJ6w56FfZVEKQtULkxLefdhdb239v6gV",
"fromSegments": [
{
"aircraftCode": "",
"arrAirport": "STN",
"arrTerminal": "",
"arrTime": "202509210155",
"cabin": "",
"cabinClass": 1,
"carrier": "LS",
"codeShare": false,
"depAirport": "ACE",
"depTerminal": "",
"depTime": "202509202150",
"duration": 245,
"fareFamily": "low",
"flightNumber": "LS1422",
"operatingCarrier": "",
"operatingFlightnumber": "",
"seatCount": 2,
"segmentIndex": 1,
"stopCities": ""
}
],
"infantAllowed": true,
"infantDetails": [
{
"amount": 25.19,
"code": "farePrice",
"description": "",
"type": "base"
},
{
"amount": 0.00,
"code": "tax",
"description": "",
"type": "tax"
}
],
"infantPrice": 25.19,
"infantTax": 0.00,
"nationality": "",
"nationalityType": 0,
"paxType": "ADT",
"refreshTime": "2025-08-16T03:30:38Z",
"retSegments": [],
"riskSellout": false,
"routingIdentifier": "QUNFX0xPTl8xXzIwMjUwOTIwX18yXzBfMHxYSEc3MjczMV9hcGlfMXwxfDg4LjE2Xzg4LjE2XzI1LjE5XzAuNjVfMjAyLjE2X0dCUHxBQ0VfTE9OXzFfMjAyNTA5MjBfXzJfMF8wXkFDRS1MUzE0MjItLVNUTi0yMDI1MDkyMDIxNTAtMjAyNTA5MjEwMTU1LWxvdy0xLV44OC4xNl84OC4xNl8yNS4xOV8wLjY1XzIwMi4xNl5BTFNBUElfQUxTXl5BTFMxQUNFTE9OMjAwMjAyNTA5MjBeR0JQXjg3LjUwXjg3LjUwXjI1LjAwXjF8MXwyMDI1MDgxNjE2NTc1NnwwfDE3NTUzMzQ2NjIzMTA0Skdwb3x8fHx8MS4zMHw0fDB8R0JQfG5vcm1hbHxmYWxzZQ==.Q86tmtSTKhG8cbOGw3SsCJVxdMAfHLwnafWbeP2Sjw4=",
"rule": {
"baggageElements": [
{
"baggagePiece": 0,
"baggageSize": "",
"baggageType": "StandardCheckInBaggage",
"baggageWeight": 0,
"passengerType": 0,
"segmentNo": 1
},
{
"baggagePiece": 0,
"baggageSize": "",
"baggageType": "StandardCheckInBaggage",
"baggageWeight": 0,
"passengerType": 1,
"segmentNo": 1
},
{
"baggagePiece": 0,
"baggageSize": "",
"baggageType": "StandardCheckInBaggage",
"baggageWeight": 0,
"passengerType": 2,
"segmentNo": 1
},
{
"baggagePiece": 1,
"baggageSize": "56*45*25cm",
"baggageType": "CabinBaggageOverheadLocker",
"baggageWeight": 10,
"passengerType": 0,
"segmentNo": 1
},
{
"baggagePiece": 1,
"baggageSize": "56*45*25cm",
"baggageType": "CabinBaggageOverheadLocker",
"baggageWeight": 10,
"passengerType": 1,
"segmentNo": 1
},
{
"baggagePiece": 0,
"baggageSize": "56*45*25cm",
"baggageType": "CabinBaggageOverheadLocker",
"baggageWeight": 0,
"passengerType": 2,
"segmentNo": 1
}
],
"changesRules": [
{
"changesFee": 0.0,
"changesStatus": "T",
"changesType": 0,
"currency": "GBP",
"revNoShowCondition": 0,
"revNoshow": "T",
"revNoshowFee": 0.0,
"ruleDetailList": [
{
"amount": 75.5,
"currency": "GBP",
"endMinute": 300,
"ruleId": 38876,
"startMinute": 525600,
"status": "H"
},
{
"amount": 0.0,
"currency": "GBP",
"endMinute": 0,
"ruleId": 38877,
"startMinute": 300,
"status": "T"
},
{
"amount": 0.0,
"currency": "GBP",
"endMinute": -525600,
"ruleId": 38878,
"startMinute": 0,
"status": "T"
}
]
}
],
"hasBaggage": 1,
"refundRules": [
{
"currency": "GBP",
"refNoShowCondition": 0,
"refNoshow": "T",
"refNoshowFee": 0.0,
"refundFee": 0.0,
"refundMethod": "CASH_BACK_TO_ORIGINAL_PAYMENT",
"refundStatus": "T",
"refundType": 0,
"ruleDetailList": [
{
"amount": 0.0,
"currency": "GBP",
"endMinute": 0,
"refundMethod": "CashBackToOriginalPayment",
"ruleId": 31451,
"startMinute": 525600,
"status": "T"
},
{
"amount": 0.0,
"currency": "GBP",
"endMinute": -525600,
"refundMethod": "CashBackToOriginalPayment",
"ruleId": 31452,
"startMinute": 0,
"status": "T"
}
]
}
],
"serviceElements": [
{
"hasFreeMeal": 0,
"hasFreeSeat": 0
}
]
},
"separateBookings": false,
"suitAge": "",
"supportCreditTransPayment": "1",
"supportPaymentMethods": [
1,
3
],
"transactionFee": 1.30,
"transactionFeeMode": "PER_BOOKING",
"transactionFeePerPax": 0.65,
"vendorFare": {
"vendorAdultPrice": 12.00,
"vendorAdultTax": 75.50,
"vendorChildPrice": 12.00,
"vendorChildTax": 75.50,
"vendorCurrency": "GBP",
"vendorInfantPrice": 25.00,
"vendorInfantTax": 0.00
}
}
]
}