Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This command are use to retrieve available package list from EHORS system define by customer by providing date of sales. 
One package can have 1 or more BDI or attractions sales, this command are ONLY use to list general package information, for package detail please refer to [ G_PKG_Details ] Get Package Details

Info

ONLY packages are with condition market segment "Internet" and segment source "Direct" will be fetch from EHORS

...

Code Block
languagexml
titleSample NO package available
linenumberstrue
<?xml version="1.0" encoding="utf-8"?>
<SCRIPT_RESULT>
  <RESULT/>
  <SCRIPT_STATUS>SUCCESS</SCRIPT_STATUS>
</SCRIPT_RESULT>

XML Node Explain

Node

Importance 

Explain

#PROPERTY_DISCOUNT
#PACKAGES
Low
High
This node are use to provide system discount from EHORS, can be ignore#PROPERTY_DISCOUNT@senDiscPercLowSenior citizen discount percentage setting from EHORS, can be ignore#PROPERTY_DISCOUNT@senDiscVatExemLowVAT Exemption setting from EHORS, cab be ignore#PROPERTY_DISCOUNT@pwdDiscPercLowPWD discount percentage setting from EHORS, can be ignore#PROPERTY_DISCOUNT@pwdDiscVatExemLowPWD discount shall be VAT exempted setting from EHORS, can be ignore#SPECIAL_VARIABLESMediumThis node use to contain some additional info for the result, like summary#SPECIAL_VARIABLES@totalBDICountMediumNumber of attractions found, can use to make looping count on attractions nodes#CONSTANTSLowThis node use to show additional settings from EHORS, can be ignore#CONSTANTS@modeLowSystem mode for ticket sales program, can be ignore#CONSTANTS@countryIDLowCountry ID use for ticket sales program, can be ignore#CONSTANTS@outletIDLowOutlet ID use for ticket sales program, can be ignore#ATTRACTION_ITEMSHighIndividual node for attraction, can be either attraction info or session details. Its a combinations use for attraction and session.
If sessionID is blank, its an attraction, else its session mapped with itemID#ATTRACTION_ITEMS@itemIDHighUnique ID of the attraction, this case it alias as BDIID or as attractionID, its use to map same #ATTRACTION_ITEMS node to map between attraction and session node#ATTRACTION_ITEMS@itemTypeLowUse by EHORS ticket sales program, can be ignore. It'll be fixed at "BDI" at the moment unless changes in future#ATTRACTION_ITEMS@itemNameHighIf not blank it'll indicate this node is an attractions and will be given a name of the attraction define by user#ATTRACTION_ITEMS@itemPriceLowIf blank indicated this node is session node, else if not blank its an attraction general price and use for EHORS ticket sales program, can be ignore#ATTRACTION_ITEMS@itemPrice_1HighThis attribute only valid on session node. It use for item price of the attraction' session, different session may have different price. The amount of price are in double precision, no thousand separator and amount are final selling amount inclusive tax. This will be the price linked with the sessionID / planBoardID
#ATTRACTION_ITEMS@sessionIDHighOnly valid for session node, attraction node will be blank. Unique ID of the session, each attraction may have more than 1 (one) session, this IS also may call or use as planBoardID#ATTRACTION_ITEMS@sessionHighSession in STRING format combined start time and end time of the session, may refer to [ G_ATT_Planboard ] Get Plan Board Availability for session time start and time end as well as session hosting venue#ATTRACTION_ITEMS@totalPriceLowUse by EHORS ticket sales program to calculate number of pax multiply by itemPrice_1 for the session, and sum for sessions selected for attraction node, can be ignore#ATTRACTION_ITEMS@option_1LowUse by EHORS ticket sales program to indicate if the session been selected, can be ignore#ATTRACTION_ITEMS@passLowUse by EHORS ticket sales program to make check sum of the validation of data, can be ignore#ATTRACTION_ITEMS@maxMediumIf Blank indicated attraction node. Maximum pax can be selected for this session, use by EHORS ticket sales program, can be ignore#ATTRACTION_ITEMS@autoAsignLowUse by EHORS ticket sales program to auto select in the program, absolutes feature, can be ignore#TAXESMediumTaxes element node mapped with BDIID which if #ATTRACTION_ITEMS@itemID same, mean this taxes node are belonging to the mapped attraction, each attraction can have more than 1 tax node #TAXES@BDIIDMediumUnique ID that use to map with #ATTRACTION_ITEMS@itemID to show the linkage between the attraction and #TAXES node#TAXES@taxServiceIDLowUnique ID from EHORS system for the tax, can be ignore#TAXES@taxServiceTypeMediumTax type of the node, can be vat / gt / sc, can be ignore#TAXES@accountIDMediumUnique ID from EHORS system that the tax charges will goes to which account ID, can be ignore#TAXES@descriptionMediumTax description, human readable text in STRING format define by customer for the tax#TAXES@percMediumPercentage use of the tax over the final attraction' session sales amount
Each node indicate a unique package 
#PACKAGES@packageIDHighUnique ID from EHORS system to identify the package if selected to use or sales, a MUST if guest wanted to book for a package
#PACKAGES@packageNameHighHuman readable package name defined by customer in EHORS system for the package name
#PACKAGES@BDIIDsLowBDIID(s) included in the package, use by EHORS ticket sales, can be ignore
#PACKAGES@packageSummaryHighPackage description define by customer in EHORS system to have it market the package, TEXT format ONLY

Sample availability in EHORS system