Actions9
Overview
This node integrates with the Jegy.hu ticketing API to perform various ticket-related operations. Specifically, the 'Add Ticket to Basket' operation allows users to add one or more tickets to a shopping basket for a specified venue, event, and program. This is useful in scenarios where automated ticket purchasing workflows are needed, such as event management systems or automated booking services. For example, a user can add multiple tickets with different prices, seat IDs, and sectors to a basket in preparation for checkout.
Use Case Examples
- Adding multiple tickets to a basket for a concert at a specific venue and event.
- Automating ticket selection and basket creation for an event booking system.
Properties
| Name | Meaning |
|---|---|
| Venue ID | The ID of the venue where the event is held. |
| Net Event ID | The network event ID associated with the tickets to be added. |
| Net Program ID | The network program ID related to the event. |
| Tickets | An array of tickets to add to the basket, each including price, price category ID, quantity, seat ID (optional for seated events), and sector ID. |
Output
JSON
json- The JSON response from the Jegy.hu API after adding tickets to the basket, containing details about the basket and tickets added.
Dependencies
- Requires an API key credential for the Jegy.hu API, including a base URL for API requests.
Troubleshooting
- Common issues include invalid or missing venue, event, or program IDs, which will cause the API to reject the request.
- Incorrect ticket details such as invalid seat or sector IDs may result in errors from the API.
- Network or authentication errors if the API key credential is not properly configured.
- Error messages from the API are captured and returned in the node output if 'Continue On Fail' is enabled, otherwise they cause the node to fail.