This module code allow third party to make ticket sales transaction over EHORS system with customer plan board, mapped packages.
Tip |
---|
Please notice EHORS ticket sales have a back-end time out of 30 minutes, if the reservation from "add" until payment confirm are more than 30 minutes, reservation will be cancelled in the back-end. Thus third party may need to re-book again with payment details if confirmation come after 30 minutes. |
Basic Flow
draw.io Diagram |
---|
border | false |
---|
viewerToolbar | true |
---|
| |
---|
fitWindow | false |
---|
diagramDisplayName | API - TICKET SALES COMMAND FLOW |
---|
lbox | false |
---|
revision | 34 |
---|
diagramName | API - TICKET SALES COMMAND FLOW |
---|
simpleViewer | true |
---|
width | |
---|
links | auto |
---|
tbstyle | top |
---|
diagramWidth | 766 |
---|
|
...
"command" | Data Direction | Function | Function Use forOn Success Return |
---|
G_ATT_Planboard | Retrieve | Retrieve available plan board | List of available attractions and sessions with venue hosting the attractions, maximum pax and available left by given date |
G_IND_Attractions | Retrieve | Retrieve available individual attractions | List of available individual attractions by given date with sessions, and individual price |
G_ATT_Package | Retrieve | Retrieve available package | List of available package by given date created and mapped to market segment "Internet" and segment source "Direct" |
G_PKG_Details | Retrieve | Retrieve details of given package ID | List of attractions and sessions bundled and designed within the given packageID |
P_TKT_NewSales | Send | Create new ticket sales | Success with reservationID which will be use for later payment or reservation cancellation or verification |
P_TKT_CancelSales | Send | Cancel ticket sales | Success with cancellation status, ONLY success if booking aren't cancel yet |
P_TKT_ConfirmSales | Send | Confirm ticket sales with payment details | Success with list of reserved tickets / wristband number and booking status |
G_TKT_VerifySales | Retrieve | Verify if the booking have confirmed | Success if confirmed with reserved tickets / wristband numbers, else may be back-end cancellation time out or cancelled. |