GET ticket_services/Ticket?DepartmentID={DepartmentID}
This method returns general entry tickets. Pass department id if you want to get tickets in a particular department otherwise the method will return all tickets from all departments. There are two flags in the response - ShowTicket and CouponRequired:
When ShowTicket is false and CouponRequired is true then that ticket should be hidden until a valid coupon of type ‘Show’ is entered (refer to the ‘GET_coupon’ methods for further explanation).
When ShowTicket is true and CouponRequired is true then after applying a valid coupon, the ticket price will change to the coupon value.
Requires: HTTPS, Basic Auth.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| DepartmentID | Pass DepartmentID if you want to get tickets from a specific department otherwise the method will return all tickets from all departments. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
[
{
"TicketID": 1,
"TicketDescription": "sample string 2",
"DepartmentID": 3,
"DepartmentName": "sample string 4",
"TicketMinimumQuantity": 5,
"TicketMaximumQuantity": 6,
"TicketValidity": "2026-04-02T15:58:08.3862428-05:00",
"TicketNormalPrice": 8.0,
"TicketWebPrice": 9.0,
"TaxInclusive": true,
"TaxPercentage": 11.0,
"CouponRequired": true,
"ShowTicket": true
},
{
"TicketID": 1,
"TicketDescription": "sample string 2",
"DepartmentID": 3,
"DepartmentName": "sample string 4",
"TicketMinimumQuantity": 5,
"TicketMaximumQuantity": 6,
"TicketValidity": "2026-04-02T15:58:08.3862428-05:00",
"TicketNormalPrice": 8.0,
"TicketWebPrice": 9.0,
"TaxInclusive": true,
"TaxPercentage": 11.0,
"CouponRequired": true,
"ShowTicket": true
},
{
"TicketID": 1,
"TicketDescription": "sample string 2",
"DepartmentID": 3,
"DepartmentName": "sample string 4",
"TicketMinimumQuantity": 5,
"TicketMaximumQuantity": 6,
"TicketValidity": "2026-04-02T15:58:08.3862428-05:00",
"TicketNormalPrice": 8.0,
"TicketWebPrice": 9.0,
"TaxInclusive": true,
"TaxPercentage": 11.0,
"CouponRequired": true,
"ShowTicket": true
}
]