Variables
Version 1.0 August 2020
About Variables
Variables are used in schemes (emails) and templates. One example of usage is if you need to add the booking reference or a flight number to an email, then there are variables that will pick this up from the booking and add it to the email.
Variables per different types of emails and templates and actions
- Scheme mail variables
- Back office scheme emails
- Optimization scheme emails
- Support variables
Preview
Preview is available for emails and email- and support templates. Please note that some live data might not show in preview.
In the email/template, either choose a PNR record locator from the list (random examples) or enter a specific record locator, then click Preview. Example:
Variable tooltips
To see a short description or instructions you can mouse over the variable and a tool tip will be displayed. Example:
Names, descriptions and examples of the variables
System
Variable name | Variable format | Example | Notes/instructions |
---|---|---|---|
LocalDateShort | [LocalDateShort] | 28/05/2020 | |
LocalDateLong | [LocalDateLong] | 28 May 2020 | |
LocalDateTimeShort | [LocalDateTimeShort] | 28/05/2020 14:49 | |
LocalDateTimeLong | [LocalDateTimeLong] | 28 May 2020 14:49 | |
LocalDateTimeIso | [LocalDateTimeIso] | 2020-05-28T14:55:06.4345540 | |
UtcDateShort | [UtcDateShort] | 28/05/2020 | |
UtcDateLong | [UtcDateLong] | 28 May 2020 | |
UtcDateTimeShort | [UtcDateTimeShort] | 28/05/2020 13:55 | |
UtcDateTimeLong | [UtcDateTimeLong] | 28 May 2020 13:55 | |
UtcDateTimeIso | [UtcDateTimeIso] | 2020-05-28T13:55:06.4353760Z |
PNR
Variable name | Variable format | Example | Notes/instructions |
---|---|---|---|
BookCreatedDate | [BookCreatedDate] | 07/02/2020 | |
BookCreatedTime | [BookCreatedTime] | 16:47 | |
BookCreatedDateTime | [BookCreatedDateTime] | 07/02/2020 16:47 | |
BookDepartureDate | [BookDepartureDate] | 01/07/2020 | |
BookDepartureTime | [BookDepartureTime] | 06:00 | |
BookReturnDate | [BookReturnDate] | 01/07/2020 | |
OriginCity | [OriginCity] | Stockholm | See Chapter CLUPST how you can format the output |
OriginCityCode | [OriginCityCode] | STO | |
OriginAirport | [OriginAirport] | Stockholm-Arlanda flygplats | See Chapter CLUPST how you can format the output |
OriginAirportCode | [OriginAirportCode] | ARN | |
DestinationCity | [DestinationCity] | Tokyo | See Chapter CLUPST how you can format the output |
DestinationCityCode | [DestinationCityCode] | TYO | |
DestinationAirport | [DestinationAirport] | Narita International Airport | See Chapter CLUPST how you can format the output |
DestinationAirportCode | [DestinationAirportCode] | NRT | |
PNR | [PNR] | MZ701X | |
AirlineReferences | [AirlineReferences] | United Airlines (TYV70P), TAP Portugal (WRHKRU) | Airline record locator. To view it as a list instead, add (list) to the variable. Example: [AirlineReferences(list)] = United Airlines (TYV70P) TAP Portugal (WRHKRU) |
Officed | [OfficeId] | 4P76 | Sabre PCC Amadeus OfficeID Travelport PCC |
PassengerNames | [PassengerNames] | John Doe, Jane Doe | The passenger names as per the booking. You can update the Source for other formats. View as a list: <span contenteditable=“false”>[PassengerNames(list)]</span> Result: John Doe Jane Doe Any character between the names, for example: a dot (.) between the first and lastname: <span contenteditable=“false”>[PassengerNames(.)]</span> Result: John.Doe |
FrequentFlyers | [FrequentFlyers] | EBS010123123 | The frequent flyer information in the booking. To view it as a list: [FrequentFlyers(list)] |
BookingAdminReferenceLink | [BookingAdminReferenceLink]Booking Admin Reference [/BookingAdminReferenceLink] | Booking Admin Reference | The text you enter between the tags will appear in the email with a URL/link to the specific booking in the Dashboard. See Chapter CLUPST how you can format the output |
PaxTixTable | [PaxTixTable] | John Doe (016-3392599890), Jane Doe (016-3392599891) | Shows table of passenger names and ticket numbers. To view it as a list instead, add (list) to the variable. Example: [PaxTixTable(list)] |
Variable Name: TicketsTable Variable Format: [TicketsTable] Example: ![]() You can display this list in different ways, to update the variable go into Source and update the html accordingly. Example of how to display the list in different ways. Displayed as list in column: [TicketsTable(list)] : ![]() Ticket and Segments, Name, Date of Issue, can be used to display in any given order: T - ticket number TS - ticket number with a route N - passenger name D - issue date C - carrier Example: Modified variable: [TicketsTable(TS,N,D)] ![]() You can also combine any of these with list; [TicketsTable(list,N,C,TS)] |
|||
PnrEmail | [PnrEmail]Pnr Email[/PnrEmail] | Pnr Email | Link to the email in the email-section of the booking. Click the text and it launches the email application with the email address prefilled. See Chapter CLUPST how you can format the output |
PaxCount | [PaxCount] | 2 | Number of passengers in the booking |
PnrPhone | [PnrPhone] | OSL 047 176100102 | Phone number in the booking. See Chapter CLUPST how you can format the output |
GDSLeadPaxFirstName | [GDSLeadPaxFirstName] | John | First name of the lead passenger. See Chapter CLUPST how you can format the output |
GDSLeadPaxLastName | [GDSLeadPaxLastName] | Doe | Last name of the lead passenger. See Chapter CLUPST how you can format the output |
ItineraryCarriers | [ItineraryCarriers] | TAP Portugal operated by Portugalia, United Airlines | Airlines in the itinerary View as a list add (list) to the variable. Example: [ItineraryCarriers(list)] See Chapter CLUPST how you can format the output |
ItineraryCarriersCodes | [ItineraryCarriersCodes] | TP, NI, UA | Airlines’ codes in the itinerary, can be used with (list). Example: [ItineraryCarriersCodes(list)] |
MarketingCarriers | [MarketingCarriers] | TAP Portugal, United Airlines | Marketing airlines in the itinerary. Example: [MarketingCarriers(list)] See Chapter CLUPST how you can format the output |
MarketingCarriersCodes | [MarketingCarriersCodes] | TP, UA | Marketing airlines’ codes in the itinerary. Can be used with (list). Example: [MarketingCarriersCodes(list)] |
OperatingCarriers | [OperatingCarriers] | TAP Portugal, Portugalia, United Airlines | Operating airlines in the itinerary. Can be used with (list). Example: [OperatingCarriers(list)] See Chapter CLUPST how you can format the output |
OperatingCarriersCodes | [OperatingCarriersCodes] | TP, NI, UA | OperatingCarriersCodes [OperatingCarriersCodes] TP, NI, UA Operating airlines in the itinerary. Can be used with (list). Example: [OperatingCarriersCodes(list)] |
RefundWaiverCode | [RefundWaiverCode] | FULL REFUND DUE TO CORONA CNL | Taken from the carrier profile in the system, see field “Refund waiver codes” https://xyz.traveknowledgy.com/en-GB/carriers Used mostly for processing refunds and not in the email itself. If multiple waiver codes apply, use a new line for each code. Sub-code used in “Full refund” step of the scheme can be specified before the waiver code. Example: XX:ABCD, where ABCD is the waiver code and XX is the sub - code used in the “Full refund” step of a scheme. |
IssuingCarriers | [IssuingCarriers] | United Airlines | Issuing airline.Can be used with (list) as well, see example above. See Chapter CLUPST how you can format the output |
IssuingCarriersCodes | [IssuingCarriersCodes] | UA | Issuing airline’s code. Can be used with (list). |
OnlineCheckInStart | [OnlineCheckInStart] | 23 hours | When online check-in becomes available. Time taken from airline (carriers) settings; https://xyz.traveknowledgy.com/en-GB/carriers/TP |
TimeBeforeCheckin | [TimeBeforeCheckin] | 32 days and 16 hours | How many days and hours until check-in opens |
IssuingCarrierLogo | [IssuingCarrierLogo] | ![]() | Logo taken from airline (carriers) settings; https://xyz.traveknowledgy.com/en-GB/carriers/UA |
Variable Name: TicketCouponsTable Variable Format: [TicketCouponsTable] Example: ![]() To modify the order of the columns and/or which ones to display, you update the variable or the Source code. Columns: 1: Travel date 2: Flight number 3: Class of service 4: Departure city 5: Arrival city 6: Carrier/Airline 7: Departure time 8: Fare basis 9: Seat status (eg Flight status) 10: Coupon status 11: Baggage Example to view only columns and in order 2, 1, 10, 3, 5, in the variable: [TicketCouponsTable(2,1,10,3,5)] Result: ![]() Only tickets with at least one coupon with status Open will show. If you wish to show all tickets regardless of the coupon status, add “all” modifier at the end and all tickets will be displayed. Example: [TicketCouponsTable(all)] |
|||
Variable Name: TicketCouponsTableCodes Variable Format: [TicketCouponsTableCodes] Example: ![]() To modify the order of the columns and/or which ones to display, you update the variable or the Source code. Columns: 1: Travel date 2: Flight number 3: Class of service 4: Departure city 5: Arrival city 6: Carrier/Airline 7: Departure time 8: Fare basis 9: Seat status (eg Flight status) 10: Coupon status 11: Baggage Example to view only columns and in order 2, 1, 10, 3, 5, in the variable: [TicketCouponsTableCodes(2,1,10,3,5)] Result: ![]() Only tickets with at least one coupon with status Open will show. If you wish to show all tickets regardless of the coupon status, add “all” modifier at the end and all tickets will be displayed. Example: [TicketCouponsTableCodes(all)] |
|||
Variable Name: BookingSegmentsTable Variable Format: [BookingSegmentsTable] Example: ![]() To modify the order of the columns and/or which ones to display, you update the variable or the Source code. Columns: 1: Travel date 2: Flight number and equipment 3: Departure city 4: Arrival city 5: Carrier/Airline 6: Departure time 7: Fare basis 8: Seat status (eg Flight status) 9: Baggage In the variable: [BookingSegmentsTable(2,1,9,3,5)] Example, columns modified: ![]() |
|||
Variable Name: BookingSegmentsTableCodes Variable Format: [BookingSegmentsTableCodes] Example: ![]() To modify the order of the columns and/or which ones to display, you update the variable or the Source code. Columns: 1: Travel date 2: Flight number and equipment 3: Departure city 4: Arrival city 5: Carrier/Airline 6: Departure time 7: Fare basis 8: Seat status (eg Flight status) 9: Baggage In the variable: [BookingSegmentsTableCodes(2,1,9,3,5)] Example, columns modified: ![]() |
|||
TtlDateTime | [TtlDateTime] | 10/02/2020 00:00 | Ticket time limit in agency time zone |
TtlDateTimeISO | [TtlDateTimeISO] | 2020-05-30T22:00:00.0 000000Z | Ticket time limit in Zulu time zone |
TtlInfo | [TtlInfo] | ADTK1GTOAT BY 30MAY 2300 LIS TIME ZONE OTHERWISE WILL BE XLD | Ticket time limit information |
SSRs | [SSRs] | 1A ADTK 1GTOAT BY 30MAY 2300 LIS TIME ZONE OTHERWISE WILL BE XLD 1A OTHS ATCANCELLATION DUE TO NO TICKET | Messages/information in the SSR/Vendor Remarks-section of a booking. |
Gds | [Gds] | Amadeus | Which booking system the PNR originates from (Amadeus, Apollo, Sabre, Travelport (Worldspan, Galileo) etc) |
OSIs | [OSIs] | AT X/CTCT LIS 238 2613221 AT X/CTCT LIS 238 9286055 AT X/NXTM TL-18JUL 1G SNC RLOC 1A UVCCYZ | Messages/information in the OSI-section of a booking |
RemarkVariable | [RemarkVariable] | 101-COSTC-ABC123 | Used to read data from pre-defined remarks in a booking and display in the email. Example: 101-COSTC-ABC123 = Where 101-COSTC- in this example is what is predefined to interpret which remark to read, and then it reads what comes after 101-COSTC-. Must follow the same format with [VariableName]-[TextToAppear] The remarkVariable is setup in settings: https://xyz.traveknowledgy.com/en-GB/variables See Chapter CLUPST how you can format the output |
PNRCurrentCost | [PNRCurrentCost] | EUR456,10 | Total cost of all tickets in the PNR |
TicketsCost | [TicketsCost] | EUR1,367.02 | Cost of all tickets in the booking |
OBFees | [OBFees] | An OB Fee defined by IATA as the industry standard for ticketing and for the application of form of payment fees, including credit card fees. The OB Fee is reported as tax code OB by IATA assignment. | |
CurrentFareRules | [CurrentFareRules] | Amadeus only. MiniRules need to be enabled in the OfficeID to display this info. | |
LowerFareRules | [LowerFareRules] | Amadeus only. MiniRules need to be enabled in the OfficeID to display this info. |
Processor
Variable name | Variable format | Example | Notes/instructions |
---|---|---|---|
ErrorMessage | [ErrorMessage] | Used to display a GDS error message |
Backoffice
Variable name | Variable format | Example | Notes/instructions |
---|---|---|---|
BackofficeBookingNumber | [BackofficeBookingNumber] | 123456 | |
BackofficeBookingPnr | [BackofficeBookingPnr] | CJ401P,CNJ44U | |
BackofficeBookingCreatedDate | [BackofficeBookingCreatedDate] | 2020-03-01 | |
BackofficeBookingCreatedTime | [BackofficeBookingCreatedTime] | 13:46 | |
BackofficeBookingDateTime | [BackofficeBookingCreatedDateTime] | 2020-03-01 13:46 | |
BackofficeBookingDepartureDateTime | [BackofficeBookingDepartureDateTime] | 2020-06-27 16:25 | |
BackofficeBookingFirstName | [BackofficeBookingFirstName] | John | |
BackofficeBookingLastName | [BackofficeBookingLastName] | Doe | |
BackofficeBookingAddress | [BackofficeBookingAddress] | Kungsgatan 10 | |
BackofficeBookingCity | [BackofficeBookingCity] | Stockholm | |
BackofficeBookingZip | [BackofficeBookingZip] | 104 10 | |
BackofficeBookingCountryCode | [BackofficeBookingCountryCode] | SE | |
BackofficeBookingCountry | [BackofficeBookingCountry] | Sweden | |
BackofficeBookingPhone | [BackofficeBookingPhone] | +4689876543 | |
BackofficeBookingEmail | [BackofficeBookingEmail] Client e-mail address [/BackofficeBookingEmail] | Client e-mail address | The text you enter between the tags will appear in the email with a URL/link to the customer´s email address in the back office. See Chapter CLUPST how you can format the output |
BackofficeBookingDestinationCode | [BackofficeBookingDestinationCode] | HEL | |
BackofficeBookingDestination | [BackofficeBookingDestination] | Helsinki | |
BackofficeBookingCarrierCode | [BackofficeBookingCarrierCode] | AY | |
BackofficeBookingCarrierName | [BackofficeBookingCarrierName] | Finnair | |
BackofficeBookingBrandName | [BackofficeBookingBrandName] | Company/agency name | |
BackofficeBookingBrandSiteUrl | [BackofficeBookingBrandSiteUrl] Brand homepage URL [/BackofficeBookingBrandSiteUrl] | Brand homepage URL | URL to for example the company/agency |
BackofficeBookingBrandImage | [BackofficeBookingBrandImage] | Company/agency logo/image | |
BackofficeBookingBrandEmail | [BackofficeBookingBrandEmail] | Company/agency email address |
Optimizer
Variable name | Variable format | Example | Notes/instructions |
---|---|---|---|
LastAutoRebookProfit | [LastAutoRebookProfit] | SEK202 | Total profit (eg not per ticket/passenger) after last rebook |
LastAutoRebookDetails | [LastAutoRebookDetails] | 23/03/2020 03:02 (23/03/2020 02:02:20 UTC) Rebooking completed successfully in '52QN'.New value is SEK8,340 against the previous SEK9,340 with a profit of SEK1,000. Or 21/03/2020 17:05 (21/03/2020 16:05:23 UTC) Rebook is successfully committed in the PCC 1F6Y (GB) and new FF was created in the PCC 59UN (SE). | Details of the last rebooking |
PossibleCostImproverDelta | [PossibleCostImprovementDelta] | SEK13,905 | The difference between the booked total and the lowest available total |
PossibleCostImprovement | [PossibleCostImprovement] | SEK16,398 → SEK2,493 (SEK13,905) | The booked total vs the lowest available total, and the difference between those |
PossibleCostImprovementDetails | [PossibleCostImprovementDetails] | Possible to improve total value by split of: Split is possible in PCC 19ZT for SEK13,905 (SEK16,398→SEK2,493) Value changes: ADT*1: Base: → DKK1,264 Equiv: → SEK1,855 Tax: → SEK638 Pax Total: → SEK2,493 Segment changes: ADT*1: Pricing parameters: PCC: 19ZT (SE) Fare type: Any Pricing PAX: Use PAX type:ADT [ZSVL6BBAAA/BdmG3RKAAAA==] SANNA JOHANZEN (ADT) Enforced carrier: DY …etc | Details/instructions how to achieve the lowest available total |
PublishedFareTotal | [PublishedFareTotal] | SEK3,552 | Lowest available Published Fare |
TomorrowFare | [TomorrowFare] | SEK17,203 | Close to midnight it´s sometimes possible to check available fare as priced the next day. |
URLs
Variable name | Variable format | Example | Notes/instructions |
---|---|---|---|
CarrierInfoUrls | [CarrierInfoUrls] | Information for TAP Portugal Wikipedia link Home page link Contacts page link Online check-in page link Checked baggage allowance page link Hand baggage allowance page link etc… | All links (URLs) stored in the carriers page under Settings (for example https://xxxx.traveknowledgy.com/sv-SE/carriers/TP) See Chapter CLUPST how you can format the output |
DeparturePlaceUrls | [DeparturePlaceUrls] | Wikipedia link | Link to departure city information in Wikipedia. See Chapter CLUPST how you can format the output |
DestinationPlaceUrls | [DestinationPlaceUrls] | Wikipedia link | Link to destination city information in Wikipedia. See Chapter CLUPST how you can format the output |
TransitPlaceUrls | [TransitPlaceUrls] | Wikipedia link | Link to transit city/cities information in Wikipedia. See Chapter CLUPST how you can format the output |
IssuingCarrierHomeUrl | [IssuingCarrierHomeUrl] Airline Carrier Home Page [/IssuingCarrierHomeUrl] | Airline Carrier Home Page | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start-and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierPetsUrl | [IssuingCarrierPetsUrl] Airline Carrier Pets Info [/IssuingCarrierPetsUrl] | Airline Carrier Pets Info | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierMealsUrl | [IssuingCarrierMealsUrl] Airline Meal Info [/IssuingCarrierMealsUrl] | Airline Meal Info | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierSeatMapUrl | [IssuingCarrierSeatMapUrl] Airline Seat Map [/IssuingCarrierSeatMapUrl] | Airline Seat Map | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierCustomLink1Url to IssuingCarrierCustomLink3Url | [IssuingCarrierCustomLink1Url] Airline Custom Link 1 [/IssuingCarrierCustomLink1Url] | Airline Custom Link 1 | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierContactsUrl | [IssuingCarrierContactsUrl] Airline Contact Page [/IssuingCarrierContactsUrl] | Airline Contact Page | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierOnlineCheckinUrl | [IssuingCarrierOnlineCheckinUrl] Airline Check-in Page [/IssuingCarrierOnlineCheckinUrl] | Airline Check-in Page | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierCheckedBaggageAllowanceUrl | [IssuingCarrierCheckedBaggageAllowanceUrl] Airline Checked Baggage Allowance Page [/IssuingCarrierCheckedBaggageAllowanceUrl] | Airline Checked Baggage Allowance Page | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierHandBaggageAllowanceUrl | [IssuingCarrierHandBaggageAllowanceUrl] Airline Hand Baggage Allowance Page [/IssuingCarrierHandBaggageAllowanceUrl] | Airline Hand Baggage Allowance Page | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierExcessBaggageUrl | [IssuingCarrierExcessBaggageUrl] Airline Excess Bagage Page [/IssuingCarrierExcessBaggageUrl] | Airline Excess Bagage Page | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierSpecialBaggageUrl | [IssuingCarrierSpecialBaggageUrl] Airline Special Baggage Page [/IssuingCarrierSpecialBaggageUrl] | Airline Special Baggage Page | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierBaggageClaimUrl | [IssuingCarrierBaggageClaimUrl] Airline Baggage Claim Page [/IssuingCarrierBaggageClaimUrl] | Airline Baggage Claim Page | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
IssuingCarrierDisabilityAssistanceUrl | [IssuingCarrierDisabilityAssistanceUrl] Airline Disability Assistance Page [/IssuingCarrierDisabilityAssistanceUrl] | Airline Disability Assistance Page | Enter a text that links to a predefined URL web page in Settings ⇒ Carriers. Enter the text between the start- and end tag. See Chapter CLUPST how you can format the output |
URLs, Customer Support specific
Variable name | Variable format | Example | Notes/instructions |
---|---|---|---|
BookingReferenceLink | [BookingReferenceLink] Booking Reference Link [/BookingReferenceLink] | Booking Reference Link | Enter a text that when clicked opens the client’s online itinerary. Note: Requires modules Client Module and Customer Support to be active. |
BookingReferenceLinkWithCurrentIssue | [BookingReferenceLinkWithCurrentIssue] Booking Reference Link With Current Issue [/BookingReferenceLinkWithCurrentIssue] | Booking Reference Link With Current Issue | Enter a text that when clicked opens the client’s online itinerary and displays the current issue/inquiry. Note: Requires modules Client Module and Customer Support to be active |
BookingReferenceLinkWithFAQ | [BookingReferenceLinkWithFaq] Booking Reference Link With FAQ [/BookingReferenceLinkWithFaq] | Booking Reference Link With FAQ | Enter a text that when clicked opens the client’s online itinerary and displays the FAQ page. Note: Requires modules Client Module and Customer Support to be active. |
Agent
Variable name | Variable format | Example | Notes/instructions |
---|---|---|---|
TravelAgentName | [TravelAgentName] | Email of the agent who made the booking. The agent needs to be setup in Settings ⇒ Offices ⇒ OfficeID/PCC (example: https://xyz.traveknowledgy.com/en-GB/offices ) | |
TravelAgentEmail | [TravelAgentEmail] | Email of the agent who made the booking. The agent needs to be setup in Settings ⇒ Offices ⇒ OfficeID/PCC (example: https://xyz.traveknowledgy.com/en-GB/offices ) | |
TravelAgentPhone | [TravelAgentPhone] | Email of the agent who made the booking. The agent needs to be setup in Settings ⇒ Offices ⇒ OfficeID/PCC (example: https://xyz.traveknowledgy.com/en-GB/offices ) |
Custom
Variable name | Variable format | Example | Notes/instructions |
---|---|---|---|
TravelAgencyName (example, can be named almost anything) | {TravelAgencyName} | AGENCY ABC | Custom variables are created in Settings ⇒ Variables (https://xyz.traveknowledgy.com/en-GB/variables). The variable is setup to read data from the booking and then use it in an email, http-notification, remark etc. Regular expressions can be used. |
Custom variables, where regular expressions can be used, are setup in Settings ⇒ Variables. Examples and how to create regular expressions: https://regexr.com/
Customer Support
Variable name | Variable format | Example | Notes/instructions |
---|---|---|---|
ClientLoginPage | [ClientLoginPage] Client Login page [/ClientLoginPage] | Client Login page | Enter a text that when clicked opens the Client Module login page (for online itinerary). Note: Requires modules Client Module and Customer Support to be active |
ClientLoginPageWithCurrentIssue | [ClientLoginPageWithCurrentIssue] Client Login page With Current Issue [/ClientLoginPageWithCurrentIssue] | Client Login page With Current Issue | Enter a text that when clicked opens the client’s online itinerary and displays the current issue/inquiry. Note: Requires modules Client Module and Customer Support to be active |
LastClientMessage | [LastSupportMessage] | Great, thank you! | |
LastSupportMessageTopic | [LastSupportMessageTopic] | General Question |
CLUPST
Clupst formatting may be used for modification of the text string output. See example below for formatting variables through Source code.
C = First Letter Of Each Word In The String Will Be In Capital.
L = all text will be in lower case.
U = ALL TEXT WILL BE IN UPPER CASE.
P = Only the first letter of the string will be in capital.
S = Will show URL for the link.
T = Will show URL for the link as text (non-HTML).
Example:
[GDSLeadPaxFirstName]
Output: Melanie
Vs
[GDSLeadPaxFirstName_U]
Output: MELANIE
Variables per output option
CLUPST
Comma separated
Additional fields
Columns order
DA formatting
Variable name | In drop down menu | CLUPST | Comma separated | Additional fields | Columns order | DA formatting |
---|---|---|---|---|---|---|
OriginCity | PNR | Y | ||||
OriginAirport | PNR | Y | ||||
DestinationCity | PNR | Y | ||||
DestinationAirport | PNR | Y | ||||
BookingAdminReferenceLink | PNR | Y | ||||
PnrEmail | PNR | Y | ||||
PnrPhone | PNR | Y | ||||
GDSLeadPaxFirstName | PNR | Y | ||||
GDSLeadPaxLastName | PNR | Y | ||||
ItineraryCarriers | PNR | Y | ||||
MarketingCarriers | PNR | Y | ||||
OperatingCarriers | PNR | Y | ||||
IssuingCarriers | PNR | Y | ||||
SSRs | PNR | Y | ||||
RemarkVariable | PNR | Y | ||||
CarrierInfoUrls | URL | Y | ||||
DeparturePlaceUrls | URL | Y | ||||
DestinationPlaceUrls | URL | Y | ||||
TransitPlaceUrls | URL | Y | ||||
IssuingCarrierHomeUrl | URL | Y | ||||
IssuingCarrierPetsUrl | URL | Y | ||||
IssuingCarrierMealsUrl | URL | Y | ||||
IssuingCarrierSeatMapUrl | URL | Y | ||||
IssuingCarrierCustomLink1Url | URL | Y | ||||
IssuingCarrierCustomLink2Url | URL | Y | ||||
IssuingCarrierCustomLink3Url | URL | Y | ||||
IssuingCarrierContactsUrl | URL | Y | ||||
IssuingCarrierOnlineCheckinUrl | URL | Y | ||||
IssuingCarrierCheckedBaggageAllowanceUrl | URL | Y | ||||
IssuingCarrierHandBaggageAllowanceUrl | URL | Y | ||||
IssuingCarrierExcessBaggageUrl | URL | Y | ||||
IssuingCarrierSpecialBaggageUrl | URL | Y | ||||
IssuingCarrierBaggageClaimUrl | URL | Y | ||||
IssuingCarrierDisabilityAssistanceUrl | URL | Y | ||||
PassengerNames | PNR | Y | ||||
TicketsTable | PNR | Y | ||||
TicketCouponsTable | PNR | Y | ||||
TicketCouponsTableCodes | PNR | Y | ||||
BookingSegmentsTable | PNR | Y | ||||
BookingSegmentsTableCode | PNR | Y | ||||
LastAutoRebookProfit | Optimizer | Y | ||||
PossibleCostImproverDelta | Optimizer | Y | ||||
PublishedFareTotal | Optimizer | Y |
Available Action variables
Remark variables
OSI variables
Http Notification variables
Variable name | Variable format | In Action/s |
---|---|---|
Current UTC date & time (GDS format) | [UtcDateTimeGDS] | Write remark, Enter OSI message |
Current UTC date & time (short format) | [UtcDateTimeShort] | Write remark, Enter OSI message |
Current UTC date (GDS format) | [UtcDateGDS] | Write remark, Enter OSI message |
Current UTC date (short format) | [UtcDateShort] | Write remark, Enter OSI message |
Current local date & time (GDS format) | [LocalDateTimeGDS] | Write remark, Enter OSI message |
Current local date & time (short format) | [LocalDateTimeShort] | Write remark, Enter OSI message |
Current local date (GDS format) | [LocalDateGDS] | Write remark, Enter OSI message |
Current local date (short format) | [LocalDateShort] | Write remark, Enter OSI message |
Booking current costs | [PNRCurrentCost] | Write remark, Enter OSI message |
Destination airport code | [DestinationAirportCode] | Write remark, Enter OSI message |
Destination city code | [DestinationCityCode] | Write remark, Enter OSI message |
Home office id | [OfficeId] | Write remark, Enter OSI message |
List of codes for all carriers in the itinerary | [ItineraryCarriersCodes] | Write remark, Enter OSI message |
List of codes for all marketing carriers in the itinerary | [MarketingCarriersCodes] | Write remark, Enter OSI message |
List of codes for all operating carriers in the itinerary | [OperatingCarriersCodes] | Write remark, Enter OSI message |
List of codes for issuing carriers | [IssuingCarriersCodes] | Write remark, Enter OSI message |
List of issuing carriers | [IssuingCarriers] | Write remark, Enter OSI message |
Origin airport code | [OriginAirportCode] | Write remark, Enter OSI message |
Origin city code | [OriginCityCode] | Write remark, Enter OSI message |
Original departure date | [BookDepartureDate] | Write remark, Enter OSI message |
Original departure time | [BookDepartureTime] | Write remark, Enter OSI message |
PNR creation date | [BookCreatedDate] | Write remark, Enter OSI message |
PNR creation date & time | [BookCreatedDateTime] | Write remark, Enter OSI message |
PNR creation time | [BookCreatedTime] | Write remark, Enter OSI message |
PNR reference code | [PNR] | Write remark, Enter OSI message, Http Notification |
Return date (if applicable) | [BookReturnDate] | Write remark, Enter OSI message |
Ticket time limit date and time | [TtlDateTime] | Write remark, Enter OSI message |
Waiver code from booking issuing carrier | [RefundWaiverCode] | Write remark, Enter OSI message |
Processing error message | [ErrorMessage] | Write remark, Enter OSI message |
Amount of the last achieved fare improvement | [LastAutoRebookProfit] | Write remark, Enter OSI message |
Possible total fare improvement amount | [PossibleCostImprovementDelta] | Write remark, Enter OSI message |
TravelAgencyName | {TravelAgencyName} | Write remark, Enter OSI message, Http Notification |
TestBuildInVariable | {TestBuildInVariable} | Place to queue |
Source examples
Example when you use the variables Email and PNR in an URL or to prepopulate an email. Here the end user will see the text Click Here and when he/she clicks the text.
A scheme email with some passenger- and booking details