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 headerDescriptionData typeOptional / Mandatory
voucherVoucher code to pass to cinema website (if required and enabled) – can be alphanumeric. Contact your account manager for further details.StringOptional

Sent Arguments

Sent argumentDescriptionData typeOptional / Mandatory
cinema_idThe MovieGlu numeric internal cinema ID. IntegerMandatory
film_idThe MovieGlu numeric internal film IDIntegerMandatory
dateShowtime Date in format YYYY-MM-DDDateMandatory
timeShowtime Time in format hh:mm (24hr)TimeMandatory

Caching

The returned data should not be cached.

Returned data

Returned KeyDescription
film_idThe MovieGlu numeric internal film ID
film_nameThe film name
dateDate requested in format yyyy-mm-dd
timeThe time of the showing in format hh:mm
cinema_idThe MovieGlu numeric internal cinema ID
cinema_nameThe Cinema name
movietickets_affiliateIndicates whether the cinema is a member of the movietickets.com affiliate scheme. 0 = Yes, 1 = No
urlURL of deep link
dl_statusPlease 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"
    }
}