Question: CancelHotel API: The API is implemented by the Hotel provider. It accepts as input: ReservationNumber ( string ) . It returns as output: CancelationConfirmation (
CancelHotel API: The API is implemented by the Hotel provider. It
accepts as input: ReservationNumber string It returns as output:
CancelationConfirmation TrueFalse CancellationFees number
PayCreditCard API: The API is implemented by the Credit Card provider.
It accepts as input: CreditCardNumber string ExpirationDate date
Amount number It returns as output: PaymentConfirmation
TrueFalse Comment string
TA also provides the following API to be consumed by third parties TA
Clients This API uses XML
BuyTravelPackageAPI: The API is implemented by the TA and consumed
by external partners. It accepts as input: FromAirportCode string
ToAirportCode string DepartureDate date ReturnDate date
checkin date checkout date It returns as output:
ReservationConfirmation TrueFalse ReservationNumber string It
returns as output: Airline, DepartureTimeFrom string ArrivalTime
To string DepartureTimeTostring ArrivalTimeFrom string
HotelID string
For each API, provide the following:
a The protocol used GET or POST Explain in a couple of
sentences why is GET or POST more appropriate
b The URL you do not need to give actual URL. You can simply
put URL URL etc.
c A short text description one or two sentences of what the
API does.
d The structure of the input message sent to the API as
request and output message result sent back by the API
e Who implements the API
f Who invokes the AP
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
