Comments (9)
Are you asking if Amadeus supports it or if my library supports it?
I haven't looked much into fare families yet, so I couldn't yet tell you what Amadeus supports so far. But if you tell me what kind of message you'd like to send with what kind of option, I can implement it - or at least investigate.
from amadeus-ws-client.
They do support them, it is matter of sending it in the request.
<fareFamilies>
<familyInformation>
<fareFamilyname>ECO</fareFamilyname>
<hierarchy>200</hierarchy>
</familyInformation>
<familyCriteria>
<cabinProduct>
<cabinDesignator>Y</cabinDesignator>
</cabinProduct>
</familyCriteria>
</fareFamilies>
<fareFamilies>
<familyInformation>
<fareFamilyname>BIS</fareFamilyname>
<hierarchy>100</hierarchy>
</familyInformation>
<familyCriteria>
<cabinProduct>
<cabinDesignator>C</cabinDesignator>
</cabinProduct>
</familyCriteria>
</fareFamilies>
Fare_MasterPricerTravelBoardSearch - AFF - Combining Cabin classes - SOAP 4.0.txt
You could also give me some hints and I could try to imlement it, however I started coding in php only few days ago to implement your lib to translate soap into json for our internal project.
from amadeus-ws-client.
Ok, I see. For Fare_MasterPricerTravelBoardSearch
it could be implemented by providing a new array property fareFamilies
in Amadeus\Client\RequestOptions\FareMasterPricerTbSearch
- and then in Amadeus\Client\Struct\Fare\MasterPricerTravelBoardSearch
we'd have to construct the correct message structure when the fareFamilies property is being used.
But that will only be step one I assume. There is an Amadeus Web Services Implementation Guide for Fare Families which explains the booking process: implementing a booking flow with Fare Families requires more than just adapting the MasterPricer call: See this screenshot from the guide:
So yeah, I can implement the MasterPricer changes, but it'll take me a little more time to implement all these extra messages. But if I know people are interested in using those messages, I don't mind adding support for them.
from amadeus-ws-client.
Can you check if you'll be needing all the messages above (or not), so that I can prioritize implementing them?
from amadeus-ws-client.
There are 2 things, what I am talking about I believe is parameterized Fare Families and it is only in MasterPricecTBSearch. What you posted is probably implementation for Airlines fare families.
Also, about Upsell option, I asked our Amadeus contact and they said it is still experimental and the wouldn't recommend it but rather using parameterized Fare Families.
When you send in request content that I posted before, it will return you just more specific recommendations and link them together.
So if you got L class and asked for fare families with parameters, it will return you other fares connected to this recommendation.
from amadeus-ws-client.
@DerMika Thanks for helping with it :) If we would get master search to support it, would be great!
from amadeus-ws-client.
Ok, thanks for explaining it to me, that saves me some time in researching :)
I'll try to implement the option in the MasterPricer call as soon as possible - probably some time this week.
from amadeus-ws-client.
If you would have some question about parameterized fare families, please shoot :) I read it already few times to see if we can achieve upselling with it 👍
And thanks again!
from amadeus-ws-client.
Hi @bimusiek
I've now added support for parametrized Fare Families. Please see the samples at https://github.com/amabnl/amadeus-ws-client/blob/master/docs/samples/masterpricertravelboard.rst#parametrized-fare-families
You can test it out by composer-installing dev-master
until I release v.1.2.0.
If you encounter any issues with it, feel free to open a new issue!
from amadeus-ws-client.
Related Issues (20)
- How can I make requests to be stateful? HOT 2
- 11 | Session HOT 5
- Air_MultiAvailability excluded connections question HOT 3
- ADD CONTACT IN SSR CTCM CTCE HOT 1
- Ticket_IgnoreRefund
- Ticket_IgnoreRefund : DOMDocument::loadXML() Empty string supplied as input HOT 2
- How to add Passengers Title
- Create Form of payment after PNR_AddMultiElements
- Ticket_RebookAndRepricePNR
- Booking seat for stops [PNR_AddMultiElements].
- psr/log version conflict with Laravel 10 HOT 2
- 11|Session - Hosting based restrictions HOT 1
- Ticket_CreateTSTFromPricing not group TST by type passenger
- airRetrieveSeatMap error processingLevel 1
- How to add Tax Info in MPTB request HOT 1
- Help for startup
- Processing ERROR for Rail PNR in Amadeus
- PNR status issue
- Unable to install Amadeus library HOT 1
- Fxq HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amadeus-ws-client.