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 Name | String in URL parameter | Parameter Type | Required | Description | Example/Expected Value |
Language | lang | Booking | Yes | ISO 639-1 (2 letter) Language Code | en = English; fr = French |
Round Trip | chkRoundTrip | Booking | Yes | This is a checkbox that indicates to the system if the flight is a round trip, and should return two sets of travel options and fares | HTML Boolean: either the string “ON” or blank |
Origin Airport | lstOrigAP | Booking | Yes | The departure IATA airport code | YYZ, YSJ, etc |
Destination Airport | lstDestAP | Booking | Yes | The departure IATA airport code. This must be a different value from the origin airport. | YYZ, YSJ, etc |
Departure Date | dlstDepDate | Booking | Yes | Departure date in ISO 8601 (yyyy-MM-dd) format. | 2015-12-30 |
Departure Date Range | lstDepDateRange | Booking | Yes | The number of days in either direction to return from the travel options. | Numeric value from 0 to 2 days |
Return Date | dlstRetDate | Booking | Yes | Return 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 Range | lstRetDateRange | Booking | Yes | The number of days in either direction to return from the travel options. | Numeric value from 0 to 2 days |
Level of Service | lstLvlService | Booking | Yes | Level 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 |
Currency | lstCurrency | Booking | Yes | Currency Code to use for displaying fare and fee amounts. The code is expected to be in ISO 4217 format | CAD |
Number of Adults | txtNumAdults | Booking | Yes | The number of adults on the requested flight. | Digit from 0-99 |
Lowest Fares | blnFares | Booking | Yes | This checkbox enables/disables the “low fare finder” view | HTML Boolean: either the string “ON” or blank |
Number of Children | txtNumChildren | Booking | No | The number of children on the requested flight | Digit from 0-99. An empty return value is also valid, and is equivalent to returning 0 |
Number of Infants | txtNumInfants | Booking | No | The number of infants on the requested flight | Digit from 0-99. An empty return value is also valid, and is equivalent to returning 0 |
Promo Code | txtPromoCode | Booking | No | A promo code to be validated and applied to fare results | Alphanumeric value |
User Profile ID | txtPublicUserID | User Profile Login | No | Email address or LoyaltyID (if feature is used) of the profile | Valid email address or LoyaltyID |
User Profile Password | txtPublicUserPswd | User Profile Password | No | String containing password | A valid string value. |
Travel Agent UserId | txtAgentID | Travel Agent Login | No | Travel Agent username | Valid amelia username |
Travel Agent Password | txtAgentPswd | Travel Agent Password | No | String containing password | A valid string value |
Corporate Agent UserId | txtCorpAgentID | Corporate Agent Login | No | Corporate Agent username | Valid amelia username |
Corporate Agent Password | txtCorpAgentPswd | Corporate Agent Password | No | String containing password | A valid string value |
First Name On Reservation | txtSearchResFName | Modify Booking | No | String containing First Name On Reservation | A valid string value. |
Last Name On Reservation | txtSearchResLName | Modify Booking | No | String containing Last Name On Reservation | A valid string value. |
Reservation Number | txtSearchResNum | Modify Booking | No | String containing Reservation Number | A valid string value. |