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
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

Example response


{
  "film_id": 222426,
  "film_name": "Alien: Covenant",
  "date": "2017-05-23",
  "time": "15:50",
  "cinema_id": 8805,
  "cinema_name": "Cineworld Hemel Hempstead",
  "movietickets_affiliate": 0,
  "url": "https://booking.cineworld.co.uk/booking/8111/21139&afid=MVGUK2",
  "status": {
    "state": "OK",
    "code": 1,
    "method": "purchaseConfirmation",
    "message": null,
    "request_method": "GET",
    "version": "MGv102",
    "auth_type": "d"
  }
}