Open Shazad0304 opened 1 year ago
Same issue :(
Input params {
"legs": [
{
"from": "IEV",
"to": "NYC",
"departureDate": "2023-01-20"
}
],
"passengers": {
"ADT": 1
},
"cabins": [
"Economy"
],
"requestId": "4e2fd1f8-2221-4b6c-bb6e-cf05c367cf60",
"maxJourneyTime": 300,
"pricing": {
"currency": "USD"
}
}
Request URL: https://emea.universal-api.pp.travelport.com/B2BGateway/connect/uAPI/AirService
Request XML:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
any update on this issue?
Hello @MohammaedAlani, thank you for your request!
I've checked the documentation, and it still states, PreferredCabins requests availability for the selected cabin classes. Only one cabin can be requested. If that class is not available, an alternate cabin may be returned. Depending on availability and processing, either a cabin downgrade or upgrade may be offered
So, we're still waiting for the multiple cabins to be allowed for the availability request.
Write me back if you have any other questions. Thank you, and have a nice day!
payload :
HotelService.search({ code: 'DXB', location : 'DXB', startDate: '2023-03-01', endDate: '2023-03-20', currency: 'USD', MaxWait: 30000, MaxProperties: 9999, rooms: [{ adults: 1, }, { adults: 2, }], rating: [3, 5], }).then( resp => res.status(200).json(resp), err => console.log(err) )
Response SOAP: <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
Actually in PreferredCabins tags only support one child tag (CabinClass) Like
Service :
AirService.availability({ legs: [{ from: 'KHI', to: 'DXB', departureDate: '2023-01-10' }], passengers: { ADT: 1, INF: 0, CNN: 0, }, cabins: ['Business', 'Economy'], allowDirectAccess: false,
});
Response:
Response SOAP: <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">