Transfer Booking
POST https://test.api.amadeus.com/v1/ordering/transfer-orders?offerId={{transferOfferId}}
Handling booking confirmations from different providers can be tricky as there is no standard format used across the industry. The Trip Parser API makes it easy to extract information from different booking confirmation emails and compile it into a single structured JSON itinerary. The API can parse information from flight, hotel, rail and rental car confirmation mails. The API has three endpoints - the first creates a parsing request, the second checks the request status and the third retrieves the parsing results.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
offerId | string | transfer offer id from shopping/transfer-offers response |
Request Body
{"data"=>{"note"=>"Note to driver", "passengers"=>[{"firstName"=>"John", "lastName"=>"Doe", "title"=>"MR", "contacts"=>{"phoneNumber"=>"+33123456789", "email"=>"user@email.com"}, "billingAddress"=>{"line"=>"Avenue de la Bourdonnais, 19", "zip"=>"75007", "countryCode"=>"FR", "cityName"=>"Paris"}}], "agency"=>{"contacts"=>[{"email"=>{"address"=>"abc@test.com"}}]}, "payment"=>{"methodOfPayment"=>"CREDIT_CARD", "creditCard"=>{"number"=>"4111111111111111", "holderName"=>"JOHN DOE", "vendorCode"=>"VI", "expiryDate"=>"0928", "cvv"=>"111"}}, "extraServices"=>[{"code"=>"EWT", "itemId"=>"EWT0291"}], "equipment"=>[{"code"=>"BBS"}], "corporation"=>{"address"=>{"line"=>"5 Avenue Anatole France", "zip"=>"75007", "countryCode"=>"FR", "cityName"=>"Paris"}, "info"=>{"AU"=>"FHOWMD024", "CE"=>"280421GH"}}, "startConnectedSegment"=>{"transportationType"=>"FLIGHT", "transportationNumber"=>"AF380", "departure"=>{"uicCode"=>"7400001", "iataCode"=>"CDG", "localDateTime"=>"2023-03-27T20:03:00"}, "arrival"=>{"uicCode"=>"7400001", "iataCode"=>"CDG", "localDateTime"=>"2023-03-27T20:03:00"}}, "endConnectedSegment"=>{"transportationType"=>"FLIGHT", "transportationNumber"=>"AF380", "departure"=>{"uicCode"=>"7400001", "iataCode"=>"CDG", "localDateTime"=>"2023-03-27T20:03:00"}, "arrival"=>{"uicCode"=>"7400001", "iataCode"=>"CDG", "localDateTime"=>"2023-03-27T20:03:00"}}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |