Method name
- Quick start guide
- Troubleshooting
- Headers and Responses
- Sample code
- GET filmsNowShowing
- GET filmsComingSoon
- GET filmLiveSearch
- GET cinemaLiveSearch
- GET filmDetails
- GET cinemaDetails
- GET cinemasNearby
- GET cinemaShowTimes
- GET filmShowTimes
- GET closestShowing
- GET purchaseConfirmation
- GET images
- GET trailers
GET purchaseConfirmation
Description
Returns a URL deep link that links directly to cinema websites, with film, time and date selected.
Example request
purchaseConfirmation/?cinema_id=42824&film_id=188115&date=2016-11-29&time=20:45
Required headers
Sent header | Description | Data type | Optional / Mandatory |
---|---|---|---|
voucher | Voucher code to pass to cinema website (if required and enabled) – can be alphanumeric. Contact your account manager for further details. | String | Optional |
Sent Arguments
Sent argument | Description | Data type | Optional / Mandatory |
---|---|---|---|
cinema_id | The MovieGlu numeric internal cinema ID. | Integer | Mandatory |
film_id | The MovieGlu numeric internal film ID | Integer | Mandatory |
date | Showtime Date in format YYYY-MM-DD | Date | Mandatory |
time | Showtime Time in format hh:mm (24hr) | Time | Mandatory |
Caching
The returned data should not be cached.
Returned data
Returned Key | Description |
---|---|
film_id | The MovieGlu numeric internal film ID |
film_name | The film name |
date | Date requested in format yyyy-mm-dd |
time | The time of the showing in format hh:mm |
cinema_id | The MovieGlu numeric internal cinema ID |
cinema_name | The Cinema name |
movietickets_affiliate | Indicates whether the cinema is a member of the movietickets.com affiliate scheme. 0 = Yes, 1 = No |
url | URL of deep link |
dl_status | Please ignore – for internal use only |
Example response
{
"film_id": 251463,
"film_name": "Mamma Mia: Here We Go Again!",
"date": "2020-05-05",
"time": "16:40",
"cinema_id": 8881,
"cinema_name": "Empire - High Wycombe",
"movietickets_affiliate": 0,
"url": "http://www.empirecinemas.co.uk/nowshowing/empire_high_wycombe/t2/",
"dl_status": null,
"status": {
"count": 1,
"state": "OK",
"method": "purchaseConfirmation",
"message": null,
"request_method": "GET",
"version": "NITS_UKv200",
"territory": "UK",
"device_datetime_sent": "2020-05-05T14:28:21.438Z",
"device_datetime_used": "2020-05-05 14:28:21"
}
}