Ticket pricing
Default ticket pricing
Each ticket for each session has a default price which can be configured by the standard price card structures in Vista. This pricing is available on the GetTicketsForSession or CinemaBatchData end-points.
GET: /restdata.svc/cinemas//sessions//tickets
{
"ResponseCode": 0,
"ErrorDescription": null,
"Tickets": [
{
"CinemaId": "0000000001",
"TicketTypeCode": "0001",
"AreaCategoryCode": "0000000001",
"Description": "Adult",
"IsComplimentaryTicket": false,
"PriceInCents": 1000
}]
}
Purchasing a ticket for the default price can be achieved by providing the ticket price returned from GetTicketsForSession or simply omitting the ticket price from the AddTickets or SetTickets request. The following example uses AddTickets to purchase a ticket at the default price.
POST: /RESTTicketing.svc/order/tickets
{
"UserSessionId": "a53ac319775849499dd04fd23a6c867b",
"CinemaId": "0000000001",
"SessionId": "1253",
"TicketTypes": [
{
"TicketTypeCode": "0001"
}
],
"BookingMode": 0,
"ReturnOrder": true
}
##Overriding Ticket Pricing
If the calling client has suitable permissions the default price can be overriden by providing a new price in the AddTickets request.
POST: /RESTTicketing.svc/order/tickets
{
"UserSessionId": "a53ac319775849499dd04fd23a6c867b",
"CinemaId": "0000000001",
"SessionId": "1253",
"TicketTypes": [
{
"TicketTypeCode": "0001",
"PriceInCents":500
}
],
"BookingMode": 0,
"ReturnOrder": true
}
##Ticket Price Modifier Order
The following table describes the order in which price modification/rules are applied to the original price of a ticket.
Order | Modification | Example | Modification | Resulting Price |
---|---|---|---|---|
1 | Original Price | 10 dollars | $10.00 | $10.00 |
2 | Deal | 50% off | -$5.00 | $5.00 |
3 | Discount | 2 dollars off | -$2.00 | $3.00 |
- Note any promotion/deal which sets a price explicitly (rather than applying discount) cannot be combined and the best of these prices will be applied