General Purpose
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
ONLY packages are with condition market segment "Internet" and segment source "Direct" will be fetch from EHORS
Request Parameter
Variable Name | Variable Type | Explain | Example |
---|---|---|---|
dateOfSales | Date(YYYY-mm-dd) | Date of sales, by given which date of sales to collect available package(s) list defined by customer at EHORS system with market segment "Internet" and segment source "Direct" | 2021-11-23 |
Sample Request with JS
$(document).ready(function(){ $.ajax({ url:"https://api.ehors.com", method:'POST', dataType:'xml', data:{ accessID:'ABC123', accessKey:'XYZ576abc', moduleCode:'TicketSales', command:'G_ATT_Package', dateOfSales:'2021-11-23' }, success:function(response){ console.log(response); } }) });
Respond XML Sample
Success XML Sample
<?xml version="1.0" encoding="utf-8"?> <SCRIPT_RESULT> <RESULT> <PACKAGES packageID="BB5548" packageName="H2O - CORP OCEANS 5 (IN-HOUSE GUEST)" BDIIDs="BB11|BB12|BB10|BB600" packageSummary="------------------------ PACKAGE ITEMS ------------------------ 1 - TRAILS TO ANTARCTICA 2 - SYMPHONY EVENING SHOW 3 - OCEANARIUM 4 - AR|AUGMENTED REALITY p500 fy2019 ------------------------ Total Value / pax = 500.00"/> ... SUPPRESSED DATA ... <PACKAGES packageID="BB5549" packageName="H2O - SEA BREEZE EXPRESS 12 (IN-HOUSE GUEST)" BDIIDs="BB12|CB70|BB17|BB16|BB10|CB49|BB13|BB514|CB11|CB13|BB25|BB23" packageSummary="------------------------ PACKAGE ITEMS ------------------------ 1 - SYMPHONY EVENING SHOW 2 - STC|SUPER TOY COLLECTION 3 - SEA LION SHOW 4 - PENGUIN TALK SHOW 5 - OCEANARIUM 6 - NEONC|NEON CARS 7 - FISH SPA 8 - CREEPY CRAWLIES 9 - BY|BARNYARD 10 - BHF|BIRD HOUSE w/ BIRD FEEDING 11 - BACK OF THE HOUSE 12 - ALL STAR BIRDS SHOW p720 fy2018 ------------------------ Total Value / pax = 720.00"/> </RESULT> <SCRIPT_STATUS>SUCCESS</SCRIPT_STATUS> </SCRIPT_RESULT>