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); } }) });