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=20161129&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
urlURL of deep link
film_idThe MovieGlu numeric internal film ID
film_nameThe film name
other_titles
XXOther titles that may exist, for example in another language
XX denotes ISO language code, eg EN, FR or ES
dateDate requested in format yyyymmdd
timeThe time of the showing in format hh:mm
cinema_idThe MovieGlu numeric internal cinema ID
cinema_nameThe Cinema name
dl_statusPlease ignore – for internal use only

Example response


{
    "film_id": 227902,
    "film_name": "The Predator",
    "other_titles": {
        "EN": "The Predator"
    },
    "date": "2018-09-14",
    "time": "17:05",
    "cinema_id": 8941,
    "cinema_name": "Vue Cinemas - Reading",
    "movietickets_affiliate": 0,
    "url": "https://www.myvue.com/book-tickets/summary/10020/200941/271899?SC_CMP=AFF_CINON",
    "dl_status": null,
    "status": {
        "count": 1,
        "state": "OK",
        "method": "purchaseConfirmation",
        "message": null,
        "request_method": "GET",
        "version": "MGv200",
        "territory": "UK",
        "device_datetime_sent": "2018-09-14T15:00:04.617Z",
        "device_datetime_used": "2018-09-14 15:00:04"
    }
}