...
Variable Name | Mandatory | Variable Type | Example | Parent Variable | Explain |
---|---|---|---|---|---|
dateOfSales | Yes | Date(YYYY-mm-dd) | 2020-10-17 | - | Date of the ticket sales, it'll also be use as ticket valid on date |
packageID | No | Varchar(255) | ABC123 | - | Package ID retrieve from [ G_ATT_Package ] Get Available Attraction Package, If package are selected ( selectedPckgAttr == "1" ) this variable are mandatory, else can be '' (Blank) or not set. |
noPax | Yes | Num(9) | 10 | - | Number of pax / guests multiple with selected package and / or selected individual attraction' session |
selectIndvAttr | Yes | Enum(0,1) | 1 | - | "0" mean not being selected or no individual attraction / sessions selected "1" mean have individual attractions / sessions selected more than 0, at least 1 should trigger and set to "1" |
selectPckgAttr | Yes | Enum(0,1) | 1 | - | "0" mean no package selected or chosen to book "1" mean at most only 1 package been chosen or used, ONLY 1 (one) package can be set to use here |
numAttrIndvSelected | Yes | Num(9) | 3 | - | Cannot be blank, at least 0 even nothing been selected for individual attraction, this is the total of attraction(s) been selected |
numAttrPckgSelected | Yes | Num(9) | 6 | - | Cannot be blank, at least 0 even nothing been selected for selected package, this is the total attraction in the package |
attrSelectedIndv_{x0} | No | Varchar(255) | ABC123 | numAttrIndvSelected numAttrIndvSelected | Selected attraction (BDI ID / Attraction ID / Item ID), loop start from 1 until parent variable x, replacing the number of Example: |
attrSelectedPckg_{x0} | No | Varchar(255) | ABC123 | numAttrPckgSelected | All package' attractions within selected package referring to [ G_PKG_Details ] Get Package Details, loop start from 1 until parent variable x, replacing the number of Example: |
attrPriceIndv_{x0} | No | Double(10.2) | 1234.56 | numAttrIndvSelected numAttrIndvSelected | Price / Amount referring to [ G_IND_Attractions ] Get Individual Attractions Price, XML node of Example: |
attrPricePckg_{x0} | No | Double(10.2) | 0.00 | numAttrPckgSelected
| Price / Amount referring to [ G_PKG_Details ] Get Package Details, XML node of Example: |
numAttrSessIndvSelected_{x0} | No | Num(9) | 2 | numAttrIndvSelected | This is to use for selected individual attraction Number of the session selected for the selected individual attractions if non-selected for the attractions, it should be "0". The number cannot be more than available sessions for the attraction from [ G_IND_Attractions ] Get Individual Attractions Price. Loop start from 1 until maximum number of parent variable of Example: |
numAttrSessPckgSelected_{x0} | No | Num(9) | 1 | numAttrPckgSelected | Number of the session selected for the selected individual attractions if non-selected for the attractions, it should be "0". The number cannot be more than available sessions for the attraction from [ G_IND_Attractions ] Get Individual Attractions Price. Loop start from 1 until maximum number of parent variable of
Example: |
selectedIndvSessionID_{x0}_{x1} | No | Varchar(255) | ABC123 | numAttrIndvSelected | |
selectedPckgSessionID_{x0}_{x1} | No | Varchar(255) | ABC123 |
|
Sample Request with JS
...