IBE AmeliaPOST

If you wish to call our amelia Web booking engine from HTML you create, you often use the POST form type (GET form type can also be made available; ask your account manager for details.), and you can post to the following form.

The form’s ACTION URL will often look something like this: https://book.clientshortname.ca/AmeliaPost.aspx.    

(This URL is specific to each airline.) 

Although we do server-side validation against the values you submit, you will be responsible for creating client-side validation code in your form. Although we will make every effort to trap, handle, and correct incorrect data submissions, InteliSys cannot be held responsible for damage caused by malformed data submitted to the amelia web booking engine. Only one of the Booking or User Profile requests can be posted at one time. Posting all parameters for both items may result in an error.


Field NameString in URL parameterParameter TypeRequiredDescriptionExample/Expected Value

Language

lang

BookingYesISO 639-1 (2 letter) Language Codeen = English; fr = French
Round TripchkRoundTripBookingYesThis is a checkbox that indicates to the system if the flight is a round trip, and should return two sets of travel options and faresHTML Boolean: either the string “ON” or blank
Origin AirportlstOrigAPBookingYesThe departure IATA airport codeYYZ, YSJ, etc
Destination AirportlstDestAPBookingYesThe departure IATA airport code. This must be a different value from the origin airport.YYZ, YSJ, etc
Departure DatedlstDepDateBookingYesDeparture date in ISO 8601 (yyyy-MM-dd) format.2015-12-30
Departure Date RangelstDepDateRangeBookingYesThe number of days in either direction to return from the travel options.Numeric value from 0 to 2 days
Return DatedlstRetDateBookingYesReturn trip date in ISO 8601 (yyyy-MM-dd) format. This field is required if the Round Trip field is set to “on”. This date must be the same or a later date than the departure flight date.2015-12-31
Return Date RangelstRetDateRangeBookingYesThe number of days in either direction to return from the travel options.Numeric value from 0 to 2 days
Level of ServicelstLvlServiceBookingYesLevel of service for the flight, such as Economy, Business, and so on. This is dependent on the internal database ID of the desired level of service.Economy is 1 and Business is 2
CurrencylstCurrencyBookingYesCurrency Code to use for displaying fare and fee amounts. The code is expected to be in ISO 4217 formatCAD
Number of AdultstxtNumAdultsBookingYesThe number of adults on the requested flight.Digit from 0-99

Lowest Fares

blnFaresBookingYesThis checkbox enables/disables the “low fare finder” viewHTML Boolean: either the string “ON” or blank
Number of ChildrentxtNumChildrenBookingNoThe number of children on the requested flightDigit from 0-99.  An empty return value is also valid, and is equivalent to returning 0
Number of InfantstxtNumInfantsBookingNoThe number of infants on the requested flightDigit from 0-99.  An empty return value is also valid, and is equivalent to returning 0

Promo Code

txtPromoCodeBookingNoA promo code to be validated and applied to fare resultsAlphanumeric value
User Profile IDtxtPublicUserIDUser Profile LoginNoEmail address or LoyaltyID (if feature is used) of the profileValid email address or LoyaltyID
User Profile PasswordtxtPublicUserPswdUser Profile PasswordNoString containing passwordA valid string value.
Travel Agent UserIdtxtAgentIDTravel Agent LoginNoTravel Agent usernameValid amelia username
Travel Agent PasswordtxtAgentPswdTravel Agent PasswordNoString containing passwordA valid string value
Corporate Agent UserIdtxtCorpAgentIDCorporate Agent LoginNoCorporate Agent usernameValid amelia username
Corporate Agent PasswordtxtCorpAgentPswdCorporate Agent PasswordNoString containing passwordA valid string value
First Name On ReservationtxtSearchResFNameModify BookingNoString containing First Name On ReservationA valid string value.
Last Name On ReservationtxtSearchResLNameModify BookingNoString containing Last Name On ReservationA valid string value.
Reservation NumbertxtSearchResNumModify BookingNoString containing Reservation NumberA valid string value.

Related Pages