验价
Atlas API verify.do 验价端点参考,用于确认实时价格、预订要求和订单创建前的会话状态。
在 search.do 之后使用此端点刷新运价、航线和预订要求。
它返回 order.do 使用的 sessionId。
有关共享规则和计数详情,请使用 API 请求限制。
Dependency: The search function should be called prior to this call.
When there is no price change, the "original" and the "new" price and tax will always be the same.
When there is price change, there will be some difference between the "original" and the "new" price and tax.
If paymentMethod in the request is 5(MoR)the MoR currency will be returned and amount in “VendorFare” and it’s paymentFee in cardChargeList. The paymentFee amount will not be added to the “VendorFare”.
If paymentMethod in the request is 3(VCC Passthrough)the VCC Passthrough currency will be returned and amount in “VendorFare” and it’s paymentFee in cardChargeList (if any). The paymentFee amount will be added to the “VendorFare”.
Endpoint: https://sandbox.atriptech.com/verify.do
application/jsonapplication/jsongzip<YOUR_CLIENT_ID><YOUR_CLIENT_SECRET>TheroutingIdentifierfrom search response.
The interface timeout(in milliseconds), with a default of 5000ms. Note: Due to the influence of network transmission and computational performance, the client may still receive a normal result (instead of a timeout) when the response duration exceeds. This time is used to control the overall response duration of the interface within a certain range, and the error generally will not exceed several hundred milliseconds. If you have strict requirements for the timeout time, it is recommended that you set the timeout time of your HTTP tool library. If the HTTP tool library you use does not support this capability, you may need to use other tools to achieve it, and most programming languages provide relevant capabilities.
15000The tag to identify which channel does this traffic come from. For example: SkyScanner,Google,Oganic search,etc…
POST /verify.do HTTP/1.1
Accept: text
Accept-Encoding: text
x-atlas-client-id: text
x-atlas-client-secret: text
Content-Type: application/json
Content-Length: 769
{
"routingIdentifier": "TE9OX1BBUl8yXzIwMjUwODE4XzIwMjUwODIwXzFfMF8wfHR2aWluNjU0Mjh8MnwyMzIuMzhfMjMyLjM4XzYwLjE5XzQuMDBfNTI4Ljk1X1VTRHxMT05fUEFSXzFfMjAyNTA4MThfXzFfMF8wXkxHVy1VMjg0MDUtLUNERy0yMDI1MDgxODE2NDAtMjAyNTA4MTgxODU1LVN0YW5kYXJkLTEtXjE3MC4xNV8xNzAuMTVfMzUuMTZfMi4wMF8zNzcuNDZeQUVDQUVVUl9BRUNeXkFFQzFMT05QQVIyMDAyMDI1MDgxOF5HQlBeMTI1LjMwXjEyNS4zMF4yNS44OV4xJFBBUl9MT05fMl8yMDI1MDgyMF9fMV8wXzBeQ0RHLVUyODQxMC0tTEdXLTIwMjUwODIwMTkxMC0yMDI1MDgyMDE5MjAtU3RhbmRhcmQtMS1eNjIuMjNfNjIuMjNfMjUuMDNfMi4wMF8xNTEuNDleQUVDQUVVUl9BRUNeXkFFQzFQQVJMT04yMDAyMDI1MDgyMF5FVVJeNTMuMTJeNTMuMTJeMjEuMzZeMXwwfDIwMjUwODE2MTUyNzU2fDB8MTc1NTMyOTI3MTAyNFJ2VzdJfHx8fDF8Mi4wMHwzfDB8fG5vcm1hbHxmYWxzZQ==.zkLMRkU3ohHS9/5p28KK1Jw4PTWTsICx24yIQoygMMw=",
"maxResponseTime": null,
"requestSource": null
}{
"status": 0,
"msg": "success",
"sessionId": "a39fc063-3192-4058-b179-998ebfb2fed8",
"maxSeats": 9,
"routing": {
"routingIdentifier": "TE9OX1BBUl8yXzIwMjUwODE4XzIwMjUwODIwXzFfMF8wfHR2aWluNjU0Mjh8MXwyNDIuMTRfMjQyLjE0XzY0LjE3XzIuMDBfNTUwLjQ1X1VTRHxMT05fUEFSXzFfMjAyNTA4MThfMjAyNTA4MjBfMV8wXzBeTEdXLVUyODQwNS0tQ0RHLTIwMjUwODE4MTY0MC0yMDI1MDgxODE4NTUtU3RhbmRhcmQtMS0jQ0RHLVUyODQxMC0tTEdXLTIwMjUwODIwMTkxMC0yMDI1MDgyMDE5MjAtU3RhbmRhcmQtMi1eMjQyLjE0XzI0Mi4xNF82NC4xN18yLjAwXzU1MC40NV5BRUNBRVVSX0FFQ15eQUVDMkxPTlBBUjIwMDIwMjUwODE4MjAyNTA4MjBeR0JQXjE3OC4zMl4xNzguMzJeNDcuMjVeMHwwfDIwMjUwODE2MTU1NzQ1fDB8MTc1NTMzMTA2NTU0MkJOYm1HfHx8fHwyLjAwfDN8MHx8bm9ybWFsfGZhbHNl.5FDcOQsu5zTUOBN/jPsM23gT5WuaPAs7g8AmH8q/m0U=",
"supportCreditTransPayment": "0",
"supportPaymentMethods": [
1,
5
],
"currency": "USD",
"adultPrice": 242.14,
"adultTax": 0,
"adultDetails": [
{
"code": "farePrice",
"type": "base",
"amount": 242.14,
"description": ""
},
{
"code": "tax",
"type": "tax",
"amount": 0,
"description": ""
}
],
"childPrice": 242.14,
"childTax": 0,
"childDetails": [
{
"code": "farePrice",
"type": "base",
"amount": 242.14,
"description": ""
},
{
"code": "tax",
"type": "tax",
"amount": 0,
"description": ""
}
],
"infantPrice": 64.17,
"infantTax": 0,
"infantDetails": [
{
"code": "farePrice",
"type": "base",
"amount": 64.17,
"description": ""
},
{
"code": "tax",
"type": "tax",
"amount": 0,
"description": ""
}
],
"infantAllowed": true,
"childMandatorySeatingFee": null,
"transactionFeePerPax": 2,
"transactionFee": 2,
"transactionFeeMode": "PER_PAX",
"fromSegments": [
{
"segmentIndex": 1,
"carrier": "U2",
"flightNumber": "U28405",
"depAirport": "LGW",
"depTime": "202508181640",
"arrAirport": "CDG",
"arrTime": "202508181855",
"stopCities": null,
"duration": 75,
"codeShare": false,
"cabin": "",
"cabinClass": 1,
"seatCount": 9,
"aircraftCode": "",
"depTerminal": "",
"arrTerminal": "",
"operatingCarrier": "",
"operatingFlightnumber": "",
"fareFamily": "Standard"
}
],
"retSegments": [
{
"segmentIndex": 2,
"carrier": "U2",
"flightNumber": "U28410",
"depAirport": "CDG",
"depTime": "202508201910",
"arrAirport": "LGW",
"arrTime": "202508201920",
"stopCities": null,
"duration": 70,
"codeShare": false,
"cabin": "",
"cabinClass": 1,
"seatCount": 9,
"aircraftCode": "",
"depTerminal": "",
"arrTerminal": "",
"operatingCarrier": "",
"operatingFlightnumber": "",
"fareFamily": "Standard"
}
],
"rule": {
"hasBaggage": 1,
"baggageElements": [
{
"segmentNo": 1,
"baggageType": "CabinBaggageUnderSeat",
"passengerType": 0,
"baggagePiece": 1,
"baggageWeight": 15,
"baggageSize": "45*36*20cm"
},
{
"segmentNo": 1,
"baggageType": "StandardCheckInBaggage",
"passengerType": 0,
"baggagePiece": 0,
"baggageWeight": 0,
"baggageSize": ""
},
{
"segmentNo": 2,
"baggageType": "CabinBaggageUnderSeat",
"passengerType": 0,
"baggagePiece": 1,
"baggageWeight": 15,
"baggageSize": "45*36*20cm"
},
{
"segmentNo": 2,
"baggageType": "StandardCheckInBaggage",
"passengerType": 0,
"baggagePiece": 0,
"baggageWeight": 0,
"baggageSize": ""
}
],
"refundRules": [
{
"refundType": 0,
"refundStatus": "T",
"refundMethod": "CASH_BACK_TO_ORIGINAL_PAYMENT",
"refundFee": 0,
"currency": "GBP",
"refNoshow": "T",
"refNoShowCondition": 0,
"refNoshowFee": 0,
"ruleDetailList": [
{
"status": "T",
"refundMethod": "CashBackToOriginalPayment",
"startMinute": 525600,
"endMinute": 0,
"amount": 0,
"currency": "GBP"
},
{
"status": "T",
"refundMethod": "CashBackToOriginalPayment",
"startMinute": 0,
"endMinute": -525600,
"amount": 0,
"currency": "GBP"
}
]
},
{
"refundType": 0,
"refundStatus": "T",
"refundMethod": "CASH_BACK_TO_ORIGINAL_PAYMENT",
"refundFee": 0,
"currency": "GBP",
"refNoshow": "T",
"refNoShowCondition": 0,
"refNoshowFee": 0,
"ruleDetailList": [
{
"status": "T",
"refundMethod": "CashBackToOriginalPayment",
"startMinute": 525600,
"endMinute": 0,
"amount": 0,
"currency": "GBP"
},
{
"status": "T",
"refundMethod": "CashBackToOriginalPayment",
"startMinute": 0,
"endMinute": -525600,
"amount": 0,
"currency": "GBP"
}
]
}
],
"changesRules": [
{
"changesType": 0,
"changesStatus": "T",
"changesFee": 0,
"currency": "GBP",
"revNoshow": "T",
"revNoShowCondition": 0,
"revNoshowFee": 0,
"ruleDetailList": [
{
"status": "H",
"startMinute": 525600,
"endMinute": 86400,
"amount": 30,
"currency": "GBP"
},
{
"status": "H",
"startMinute": 86400,
"endMinute": 120,
"amount": 49,
"currency": "GBP"
},
{
"status": "T",
"startMinute": 120,
"endMinute": 0,
"amount": 0,
"currency": "GBP"
},
{
"status": "T",
"startMinute": 0,
"endMinute": -525600,
"amount": 0,
"currency": "GBP"
}
]
},
{
"changesType": 0,
"changesStatus": "T",
"changesFee": 0,
"currency": "GBP",
"revNoshow": "T",
"revNoShowCondition": 0,
"revNoshowFee": 0,
"ruleDetailList": [
{
"status": "H",
"startMinute": 525600,
"endMinute": 86400,
"amount": 30,
"currency": "GBP"
},
{
"status": "H",
"startMinute": 86400,
"endMinute": 120,
"amount": 49,
"currency": "GBP"
},
{
"status": "T",
"startMinute": 120,
"endMinute": 0,
"amount": 0,
"currency": "GBP"
},
{
"status": "T",
"startMinute": 0,
"endMinute": -525600,
"amount": 0,
"currency": "GBP"
}
]
}
],
"serviceElements": [
{
"hasFreeSeat": 0,
"hasFreeMeal": 0
},
{
"hasFreeSeat": 0,
"hasFreeMeal": 0
}
]
},
"ancillaryProductElements": [
{
"ancillaryCode": "CBOL_1PC_15KG_MAXIMUM SIZE 56 X 45 X 25 CM",
"auxBaggageElement": {
"piece": 1,
"weight": 15,
"isAllWeight": true,
"size": "Maximum Size 56 x 45 x 25 cm"
},
"canPurchaseWithTicket": 1,
"canPurchasePostTicket": 0,
"categoryCode": "CabinBaggageOverheadLocker",
"clientTechnicalServiceFee": 0,
"currency": "USD",
"maxQty": 1,
"minQty": 1,
"price": 26.57,
"productCode": "CBOL_1PC_15KG_MAXIMUM SIZE 56 X 45 X 25 CM",
"segmentIndex": 1,
"vendorPrice": 19.56,
"vendorCurrency": "GBP"
},
{
"segmentIndex": 1,
"productCode": "SCI_BAG_1PC_15KG",
"canPurchaseWithTicket": 1,
"canPurchasePostTicket": 0,
"price": 27.12,
"currency": "USD",
"vendorPrice": 19.97,
"vendorCurrency": "GBP",
"clientTechnicalServiceFee": 0,
"auxBaggageElement": {
"piece": 1,
"weight": 15,
"isAllWeight": true,
"size": ""
},
"maxQty": 1,
"minQty": 1,
"categoryCode": "StandardCheckInBaggage",
"ancillaryCode": "SCI_BAG_1PC_15KG"
},
{
"segmentIndex": 1,
"productCode": "SCI_BAG_2PC_30KG",
"canPurchaseWithTicket": 1,
"canPurchasePostTicket": 0,
"price": 39.95,
"currency": "USD",
"vendorPrice": 29.42,
"vendorCurrency": "GBP",
"clientTechnicalServiceFee": 0,
"auxBaggageElement": {
"piece": 2,
"weight": 30,
"isAllWeight": true,
"size": ""
},
"maxQty": 1,
"minQty": 1,
"categoryCode": "StandardCheckInBaggage",
"ancillaryCode": "SCI_BAG_2PC_30KG"
},
{
"segmentIndex": 2,
"productCode": "CBOL_1PC_15KG_MAXIMUM SIZE 56 X 45 X 25 CM",
"canPurchaseWithTicket": 1,
"canPurchasePostTicket": 0,
"price": 41.67,
"currency": "USD",
"vendorPrice": 30.69,
"vendorCurrency": "GBP",
"clientTechnicalServiceFee": 0,
"auxBaggageElement": {
"piece": 1,
"weight": 15,
"isAllWeight": true,
"size": "Maximum Size 56 x 45 x 25 cm"
},
"maxQty": 1,
"minQty": 1,
"categoryCode": "CabinBaggageOverheadLocker",
"ancillaryCode": "CBOL_1PC_15KG_MAXIMUM SIZE 56 X 45 X 25 CM"
},
{
"segmentIndex": 2,
"productCode": "SCI_BAG_1PC_15KG",
"canPurchaseWithTicket": 1,
"canPurchasePostTicket": 0,
"price": 31.09,
"currency": "USD",
"vendorPrice": 22.9,
"vendorCurrency": "GBP",
"clientTechnicalServiceFee": 0,
"auxBaggageElement": {
"piece": 1,
"weight": 15,
"isAllWeight": true,
"size": ""
},
"maxQty": 1,
"minQty": 1,
"categoryCode": "StandardCheckInBaggage",
"ancillaryCode": "SCI_BAG_1PC_15KG"
},
{
"segmentIndex": 2,
"productCode": "SCI_BAG_2PC_30KG",
"canPurchaseWithTicket": 1,
"canPurchasePostTicket": 0,
"price": 74.57,
"currency": "USD",
"vendorPrice": 54.91,
"vendorCurrency": "GBP",
"clientTechnicalServiceFee": 0,
"auxBaggageElement": {
"piece": 2,
"weight": 30,
"isAllWeight": true,
"size": ""
},
"maxQty": 1,
"minQty": 1,
"categoryCode": "StandardCheckInBaggage",
"ancillaryCode": "SCI_BAG_2PC_30KG"
}
],
"vendorFare": null,
"links": [],
"separateBookings": false,
"refreshTime": null,
"expireTime": null,
"ancillarySupported": [
"seat",
"luggage"
],
"cardChargeList": [
{
"cardType": "Visa",
"percentage": 0.03,
"charge": null,
"currency": ""
},
{
"cardType": "MasterCard",
"percentage": 0.03,
"charge": null,
"currency": ""
}
]
},
"bookingRequirement": {
"passenger": {
"cardIssuePlace": {
"required": false
},
"birthday": {
"required": true
},
"cardNum": {
"required": false
},
"passengerType": {
"required": true
},
"nationality": {
"required": false
},
"gender": {
"required": true
},
"cardExpired": {
"required": false
},
"cardType": {
"required": false
},
"name": {
"required": true
}
}
},
"priceChange": {
"isPriceChange": true,
"originalAdultPrice": 232.38,
"originalAdultTax": 0,
"originalChildPrice": 232.38,
"originalChildTax": 0,
"originalInfantPrice": 60.19,
"originalInfantTax": 0,
"newAdultPrice": 242.14,
"newAdultTax": 0,
"newChildPrice": 242.14,
"newChildTax": 0,
"newInfantPrice": 64.17,
"newInfantTax": 0
}
}Last updated
Was this helpful?

