Developer portal

Inventory API

Get Event information

Get Events

related DTO

GET /Events

Returns all LIVE Events

Request

URI
GET https://api.londontheatredirect.com/rest/v2/Events
Request Headers
Api-Key: [YOUR API KEY]
Content-Type: application/json
Variables

No variables required

Response

Name Data type Additional information
Events Collection of EventInfo information about event (e.g. The Lion King, ...)
{
  "Events": [
    {
      "EventId": 9,
      "EventType": 1,
      "Name": "The Lion King",
      "Description": "<p>Set against the majesty of the Serengeti Plains to the evocative rhythms of Africa, this spectacular production...</p>\r\n",
      "VenueId": 9,
      "RunningTime": "2 hours 30 minutes",
      "MinimumAge": "Please note: Children under 3 years of age are not permitted to the Lyceum Theatre.  Recommended age 6+, parents may be asked to control or remove persistently noisy or rowdy children",
      "ImportantNotice": "Children under 3 years of age will not be admitted... ",
      "MainImageUrl": "https://ltdtest.londontheatredirect.com/images/Event/TheLionKing/The-Lion-King-10566.jpg",
      "SmallImageUrl": "https://ltdtest.londontheatredirect.com/ShowImage.aspx?w=150&h=100&f=%7e%2fimages%2fEvent%2fTheLionKing%2fThe-Lion-King-10566.jpg",
      "SpecialGraphics": "1",
      "ShortOfferText": "",
      "LongOfferText": "<p> </p>\r\n\r\n<p> </p>\r\n",
      "CurrentPrice": 0,
      "OfferPrice": 0,
      "StartDate": "2015-01-01T14:30:00",
      "EndDate": "2017-07-09T14:30:00",
      "EventMinimumPrice": 35,
      "Images": [
        {
          "Width": 504,
          "Height": 336,
          "Url": "https://ltdtest.londontheatredirect.com/images/Event/TheLionKing/The-Lion-King-6828.jpg"
        }
		...
      ],
      "MultimediaContent": [
        {
          "Type": 0,
          "Url": "https://www.youtube.com/embed/e0TK1zfGV_U?autoplay=true"
        }
		...
      ],
      "EventDetailUrl": "https://www.ltdtickets.com/musical/9/The-Lion-King-tickets.aspx",
      "TagLine": "Disney’s award-winning musical, now in its 16th year at London’s Lyceum Theatre",
      "PrintAtHomeTicketsEnabled": true
    },
	{
      "EventId": 1017,
      "EventType": 1,
      "Name": "Mamma Mia!",
      "Description": "<p>Set on a Greek island paradise, a story of love, friendship and identity is cleverly told through the timeless songs of ABBA...</p>\r\n",
      "VenueId": 76,
      "RunningTime": "2 hours 35 minutes including interval",
      "MinimumAge": "5+",
      "ImportantNotice": "Monday to Saturday at 7.45pm. Thursday and Saturday at 3pm",
      "MainImageUrl": "https://ltdtest.londontheatredirect.com/images/Event/MammaMia/Mamma-Mia-10568.jpg",
      "SmallImageUrl": "https://ltdtest.londontheatredirect.com/ShowImage.aspx?w=150&h=100&f=%7e%2fimages%2fEvent%2fMammaMia%2fMamma-Mia-10568.jpg",
      "SpecialGraphics": "1",
      "ShortOfferText": "",
      "LongOfferText": "<p> </p>\r\n\r\n<p> </p>\r\n\r\n<p> </p>\r\n",
      "CurrentPrice": 0,
      "OfferPrice": 0,
      "StartDate": "2015-01-01T19:45:00",
      "EndDate": "2017-10-14T19:45:00",
      "EventMinimumPrice": 18,
      "Images": [
        {
          "Width": 801,
          "Height": 534,
          "Url": "https://ltdtest.londontheatredirect.com/images/Event/MammaMia/Mamma-Mia-10079.jpg"
        }
		...
      ],
      "MultimediaContent": [
        {
          "Type": 0,
          "Url": "https://www.youtube.com/embed/S2B2ml7i4ts?autoplay=true"
        }
      ],
      "EventDetailUrl": "https://www.ltdtickets.com/musical/1017/Mamma-Mia--tickets.aspx",
      "TagLine": "Join the ultimate feel-good party at the world’s sunniest and most exhilarating smash-hit musical!",
      "PrintAtHomeTicketsEnabled": false
    }
	...
  ]
}

Get Events by Type

related DTO

GET /Events?type={eventTypeId}

Returns all LIVE events of provided type. See EventType enumeration definition for possible values.

Request

URI
GET https://api.londontheatredirect.com/rest/v2/Events?type={eventTypeId}
Request Headers
Api-Key: [YOUR API KEY]
Content-Type: application/json
Variables
Variable Requirement Data type Example Additional information
EventTypeId required Integer 1 event type identifier

Response

Name Data type Additional information
Events Collection of EventInfo information about event (e.g. The Lion King, ...)
{
  "Events": [
    {
      "EventId": 2228,
      "EventType": 2,
      "Name": "Lady Day At Emerson's Bar & Grill",
      "Description": "<p>1959, in a small, intimate bar in Philadelphia, Holiday puts on...</p>\r\n",
      "VenueId": 27,
      "RunningTime": "TBC",
      "MinimumAge": "",
      "ImportantNotice": "",
      "MainImageUrl": "https://ltdtest.londontheatredirect.com/images/Event/LadyDayAtEmersonsBarGrill/Lady-Day-At-Emersons-Bar-Grill-8170.jpg",
      "SmallImageUrl": "https://ltdtest.londontheatredirect.com/ShowImage.aspx?w=150&h=100&f=%7e%2fimages%2fEvent%2fLadyDayAtEmersonsBarGrill%2fLady-Day-At-Emersons-Bar-Grill-8170.jpg",
      "SpecialGraphics": "1",
      "ShortOfferText": "",
      "LongOfferText": "",
      "CurrentPrice": 0,
      "OfferPrice": 0,
      "StartDate": "2017-06-17T19:45:00",
      "EndDate": "2017-09-09T19:45:00",
      "EventMinimumPrice": 0,
      "Images": [
        {
          "Width": 3960,
          "Height": 2640,
          "Url": "https://ltdtest.londontheatredirect.com/images/Event/LadyDayAtEmersonsBarGrill/Lady-Day-At-Emersons-Bar-Grill-8174.jpg"
        }
		...
      ],
      "MultimediaContent": [],
      "EventDetailUrl": "https://www.ltdtickets.com/play/2228/Lady-Day-At-Emerson-s-Bar---Grill-tickets.aspx",
      "TagLine": "“Mesmerizing! Pouring her heart into her voice, Audra McDonald breathes life into Billie Holiday’s greatest songs.”  The New York Times",
      "PrintAtHomeTicketsEnabled": false
    },
    {
      "EventId": 2536,
      "EventType": 2,
      "Name": "Don Juan in Soho starring David Tennant",
      "Description": "<p><em>“Please don’t be charmed, he’s not a lovable rogue...”</em></p></p>\r\n",
      "VenueId": 27,
      "RunningTime": "TBC",
      "MinimumAge": "16+",
      "ImportantNotice": " Contains scenes of sexual nature. Contains strong language. ",
      "MainImageUrl": "https://ltdtest.londontheatredirect.com/images/Event/DonJuaninSohostarringDavidTennant/Don-Juan-in-Soho-starring-David-Tennant-10788.jpg",
      "SmallImageUrl": "https://ltdtest.londontheatredirect.com/ShowImage.aspx?w=150&h=100&f=%7e%2fimages%2fEvent%2fDonJuaninSohostarringDavidTennant%2fDon-Juan-in-Soho-starring-David-Tennant-10788.jpg",
      "SpecialGraphics": "1",
      "ShortOfferText": "",
      "LongOfferText": "",
      "CurrentPrice": 0,
      "OfferPrice": 0,
      "StartDate": "2017-03-17T19:30:00",
      "EndDate": "2017-06-10T19:30:00",
      "EventMinimumPrice": 0,
      "Images": [
        {
          "Width": 600,
          "Height": 365,
          "Url": "https://ltdtest.londontheatredirect.com/images/Event/DonJuaninSohostarringDavidTennant/Don-Juan-in-Soho-starring-David-Tennant-10787.jpg"
        }
		...
      ],
      "MultimediaContent": [
        {
          "Type": 0,
          "Url": "https://youtu.be/hsv130q9OvQ"
        }
      ],
      "EventDetailUrl": "https://www.ltdtickets.com/play/2536/Don-Juan-in-Soho-starring-David-Tennant-tickets.aspx",
      "TagLine": "David Tennant stars in Don Juan in Soho for a strictly limited run at London's Wyndhams Theatre",
      "PrintAtHomeTicketsEnabled": false
    }
	...
  ]
}

Get Event detail

related DTO

GET /Events/{eventId}

Returns information about specified event

Request

URI
GET https://api.londontheatredirect.com/rest/v2/Events/{eventId}
Request Headers
Api-Key: [YOUR API KEY]
Content-Type: application/json
Variables
Variable Requirement Data type Example Additional information
EventId required Integer 9 event identifier

Response

Name Data type Additional information
Event EventInfo information about event (e.g. The Lion King, ...)
{
  "Event": {
    "EventId": 9,
    "EventType": 1,
    "Name": "The Lion King",
    "Description": "Set against the majesty of the Serengeti Plains to the evocative rhythms of Africa, this spectacular production explodes with glorious colours, stunning effects...",
    "VenueId": 9,
    "RunningTime": "2 hours 30 minutes",
    "MinimumAge": "Please note: Children under 3 years of age are not permitted to the Lyceum Theatre.  Recommended age 6+, parents may be asked to control or remove persistently noisy or rowdy children",
    "ImportantNotice": "Children under 3 years of age will not be admitted to performances of Disney's The Lion King at the Lyceum Theatre and all children under the age of 16 must be accompanied by an adult. Recommended age 6+, parents may be asked to control or remove persistently noisy or rowdy children.\r\n\r\nStrobe lighting is used several times during the performance.\r\nPlease note, we sell tickets for the LONDON production of the show.\r\nThe seats offered on our website do not include access for patrons using wheelchairs. Please call 0845 505 8500 for wheelchair access. ",
    "MainImageUrl": "https://ltdtest.londontheatredirect.com/images/Event/TheLionKing/The-Lion-King-10566.jpg",
    "SmallImageUrl": "https://ltdtest.londontheatredirect.com/ShowImage.aspx?w=150&h=100&f=%7e%2fimages%2fEvent%2fTheLionKing%2fThe-Lion-King-10566.jpg",
    "SpecialGraphics": "1",
    "ShortOfferText": "",
    "LongOfferText": " > ",
    "CurrentPrice": 0,
    "OfferPrice": 0,
    "StartDate": "2015-01-01T14:30:00",
    "EndDate": "2017-07-09T14:30:00",
    "EventMinimumPrice": 35,
    "Images": [
      {
        "Width": 504,
        "Height": 336,
        "Url": "https://ltdtest.londontheatredirect.com/images/Event/TheLionKing/The-Lion-King-6828.jpg"
      },
	  ...
    ],
    "MultimediaContent": [
      {
        "Type": 0,
        "Url": "https://www.youtube.com/embed/e0TK1zfGV_U?autoplay=true"
      },
	  ...
    ],
    "EventDetailUrl": "https://www.ltdtickets.com/musical/9/The-Lion-King-tickets.aspx",
    "TagLine": "Disney’s award-winning musical, now in its 16th year at London’s Lyceum Theatre",
    "PrintAtHomeTicketsEnabled": true
  }
}

Get Event Performances

related DTO

GET Events/{eventId}/Performances

Returns all performances for a specified event

Request

URI
GET https://api.londontheatredirect.com/rest/v2/Events/{eventId}/Performances
Request Headers
Api-Key: [YOUR API KEY]
Content-Type: application/json
Variables
Variable Requirement Data type Example Additional information
EventId required Integer 9 event identifier

Response

Name Data type Additional information
EventId Integer event identifier
Performances Collection of PerformanceInfo contains information about a performance
{
  "EventId": 9,
  "Performances": [
    {
      "PerformanceId": 338153,
      "PerformanceDate": "2017-02-21T19:30:00",
      "TicketCount": 10,
      "TotalAvailableTickesCount": 87,
      "ContainsDiscountOfferTickets": false,
      "ContainsNoFeeOfferTickets": false,
      "MinimumTicketPrice": 0,
      "MaximumConsecutiveSeatsCount": 12,
      "EventId": 9
    },
    {
      "PerformanceId": 338154,
      "PerformanceDate": "2017-02-22T14:30:00",
      "TicketCount": 10,
      "TotalAvailableTickesCount": 57,
      "ContainsDiscountOfferTickets": false,
      "ContainsNoFeeOfferTickets": false,
      "MinimumTicketPrice": 0,
      "MaximumConsecutiveSeatsCount": 10,
      "EventId": 9
    },
    {
      "PerformanceId": 338155,
      "PerformanceDate": "2017-02-22T19:30:00",
      "TicketCount": 10,
      "TotalAvailableTickesCount": 139,
      "ContainsDiscountOfferTickets": false,
      "ContainsNoFeeOfferTickets": false,
      "MinimumTicketPrice": 0,
      "MaximumConsecutiveSeatsCount": 8,
      "EventId": 9
    }
	...
  ]
}

Get Performances for multiple Events

related DTO

GET /Events/{eventIds}/Performances

Returns all performances for provided events

Request

URI
GET https://api.londontheatredirect.com/rest/v2/Events/{eventIds}/Performances
Request Headers
Api-Key: [YOUR API KEY]
Content-Type: application/json
Variables
Variable Requirement Data type Example Additional information
EventIds required String 9,12,16 comma-separated list of event identifiers

Response

Name Data type Additional information
Events Collection of EventPerformances contains information about event performances
{
  "Events": [
    {
      "EventId": 9,
      "Performances": [
        {
          "PerformanceId": 349561,
          "PerformanceDate": "2017-10-01T14:30:00",
          "IsUnreserved": false
        },
        {
          "PerformanceId": 349560,
          "PerformanceDate": "2017-09-30T19:30:00",
          "IsUnreserved": false
        },
        {
          "PerformanceId": 349559,
          "PerformanceDate": "2017-09-30T14:30:00",
          "IsUnreserved": false
        }
		...
	  ]
	},
	{
      "EventId": 1017,
      "Performances": [
        {
          "PerformanceId": 347868,
          "PerformanceDate": "2017-10-14T19:45:00",
          "IsUnreserved": false
        },
        {
          "PerformanceId": 347867,
          "PerformanceDate": "2017-10-14T15:00:00",
          "IsUnreserved": false
        },
        {
          "PerformanceId": 347866,
          "PerformanceDate": "2017-10-13T19:45:00",
          "IsUnreserved": false
        }
		...
	  ]
	}
  ]
}

Get Event Performances by Date

related DTO

GET /Events/{eventId}/Performances?dateFrom={dateFrom}&dateTo={dateTo}

Returns the same result as GET Events/{eventId}/Performances, but performances are filtered by a specified date range

Request

URI
GET https://api.londontheatredirect.com/rest/v2/Events/{eventId}/Performances?dateFrom={dateFrom}&dateTo={dateTo}
Request Headers
Api-Key: [YOUR API KEY]
Content-Type: application/json
Variables
Variable Requirement Data type Example Additional information
EventId required Integer 9 event identifier
DateFrom required DateTime 2017-02-24 minimal acceptable date and time of any performance’s occurrence
DateTo required DateTime 2017-02-28 maximal acceptable date and time of any performance’s occurrence

Response

Name Data type Additional information
EventId Integer unique event identifier
Performances Collection of PerformanceInfo contains information about a performance
{
  "EventId": 9,
  "Performances": [
    {
      "PerformanceId": 338153,
      "PerformanceDate": "2017-02-21T19:30:00",
      "TicketCount": 10,
      "TotalAvailableTickesCount": 83,
      "ContainsDiscountOfferTickets": false,
      "ContainsNoFeeOfferTickets": false,
      "MinimumTicketPrice": 0,
      "MaximumConsecutiveSeatsCount": 12,
      "EventId": 9
    },
    {
      "PerformanceId": 338154,
      "PerformanceDate": "2017-02-22T14:30:00",
      "TicketCount": 10,
      "TotalAvailableTickesCount": 60,
      "ContainsDiscountOfferTickets": false,
      "ContainsNoFeeOfferTickets": false,
      "MinimumTicketPrice": 0,
      "MaximumConsecutiveSeatsCount": 10,
      "EventId": 9
    },
    {
      "PerformanceId": 338155,
      "PerformanceDate": "2017-02-22T19:30:00",
      "TicketCount": 10,
      "TotalAvailableTickesCount": 139,
      "ContainsDiscountOfferTickets": false,
      "ContainsNoFeeOfferTickets": false,
      "MinimumTicketPrice": 0,
      "MaximumConsecutiveSeatsCount": 8,
      "EventId": 9
    },
    {
      "PerformanceId": 338156,
      "PerformanceDate": "2017-02-23T19:30:00",
      "TicketCount": 10,
      "TotalAvailableTickesCount": 83,
      "ContainsDiscountOfferTickets": false,
      "ContainsNoFeeOfferTickets": false,
      "MinimumTicketPrice": 0,
      "MaximumConsecutiveSeatsCount": 9,
      "EventId": 9
    }
	...
  ]
}

Get Tickets for Event

related DTO

GET /Events/{eventid}/AvailableTickets

Returns a specified event with all performances within specified date range that contain required amount of tickets available

In case required amount of tickets (i.e. nbOfTickets) is greater than zero, a result contains an event with performances having consecutive required amount of tickets available

In case required amount of tickets (i.e. nbOfTickets) equals to zero, a result contains an event with performances having any ticket available. Also, found tickets may not be consecutive

If no available ticket can be found at all, result object contains a null reference in property called AvailableEvent

Request

URI
GET https://api.londontheatredirect.com/rest/v2/Events/{id}/AvailableTickets?dateFrom={dateFrom}&dateTo={dateTo}&nbOfTickets={nbOfTickets}
Request Headers
Api-Key: [YOUR API KEY]
Content-Type: application/json
Variables
Variable Requirement Data type Example Additional information
EventId required Integer 9 event identifier
DateFrom required DateTime 2017-02-24 minimal valid date and time of performances
DateTo required DateTime 2017-02-28 maximal valid date and time of performances
NbOfTickets required Integer 2 number of required tickets

Response

Name Data type Additional information
AvailableEvent AvailableEventInfo contains available event information
{
  "AvailableEvent": {
    "EventName": "The Lion King",
    "EventId": 9,
    "AvailablePerformanceInfos": [
      {
        "PerformanceId": 338153,
        "PerformanceDate": "2017-02-21T19:30:00",
        "MinimumTicketPrice": 0,
        "AvailableTicketInfos": null,
        "AvailableTicketsBlockInfos": []
      },
      {
        "PerformanceId": 338154,
        "PerformanceDate": "2017-02-22T14:30:00",
        "MinimumTicketPrice": 105,
        "AvailableTicketInfos": null,
        "AvailableTicketsBlockInfos": [
          {
            "AreaName": "Stalls",
            "SellingPrice": 150,
            "FacePrice": 125,
            "AvailableTicketsInfos": [
              {
                "VenueId": 9,
                "VenueName": "Lyceum Theatre",
                "VenueAddress": "21 Wellington Street",
                "VenueCity": "London",
                "TicketName1": "K",
                "TicketName2": "16",
                "AdjacencyIndex": 16,
                "FaceValue": 125,
                "SellingPrice": 150,
                "DirectBookingUrl": "https://ltdtest.londontheatredirect.com/DirectBooking.ashx?performanceId=338154&nbTickets={0}",
                "TicketArea": "Stalls",
                "TicketId": 137583772,
                "IsRestrictedView": false,
                "RestrictionDescription": null
              },
              {
                ...
                "TicketName1": "K",
                "TicketName2": "17",
                ...
              },
              {
                ...
                "TicketName1": "K",
                "TicketName2": "18",
                ...
              },
              {
                ...
                "TicketName1": "K",
                "TicketName2": "19",
                ...
              },
              {
                ...
                "TicketName1": "K",
                "TicketName2": "20",
                ...
              }
            ]
          }
		  ...
        ]
      }
    ]
  }
}

Get Tickets for multiple Events

related DTO

GET /Events/{eventids}/AvailableTickets

Returns a set of required events. Result set has size which equals to size of a parsed eventIds parameter. If some event has no available tickets nor any performance within specified date range is found, event instance on specific index is null reference

In case required amount of tickets (i.e. nbOfTickets) is greater than zero, a result contains events with performances having consecutive required amount of tickets available

In case required amount of tickets (i.e. nbOfTickets) equals to zero, a result contains events with performances having any ticket available. Also, found tickets may not be consecutive

Request

URI
GET https://api.londontheatredirect.com/rest/v2/Events/{eventids}/AvailableTickets?dateFrom={dateFrom}&dateTo={dateTo}&nbOfTickets={nbOfTickets}&consecutiveSeatsOnly={consecutiveSeatsOnly}
Request Headers
Api-Key: [YOUR API KEY]
Content-Type: application/json
Variables
Variable Requirement Data type Example Additional information
EventIds required String 9,12,16 list of event identifiers
DateFrom required DateTime 2017-02-24 minimal valid date and time of performances
DateTo required DateTime 2017-02-28 maximal valid date and time of performances
NbOfTickets required Integer 2 number of required tickets
ConsecutiveSeatsOnly required Boolean true flag indicating whether you are Interested only in immediately consecutive seats; parameter is ignored if nbOfTickets equals to zero

Response

Name Data type Additional information
AvailableEvents Collection of AvailableEventInfo contains information about an available event
{
  "AvailableEvents": [
    {
      "EventName": "The Lion King",
      "EventId": 9,
      "AvailablePerformanceInfos": [
        {
          "PerformanceId": 338153,
          "PerformanceDate": "2017-02-21T19:30:00",
          "MinimumTicketPrice": 105,
          "AvailableTicketInfos": null,
          "AvailableTicketsBlockInfos": [
            {
              "AreaName": "Stalls",
              "SellingPrice": 105,
              "FacePrice": 87.5,
              "AvailableTicketsInfos": [
                {
                  "VenueId": 9,
                  "VenueName": "Lyceum Theatre",
                  "VenueAddress": "21 Wellington Street",
                  "VenueCity": "London",
                  "TicketName1": "S",
                  "TicketName2": "3",
                  "AdjacencyIndex": 3,
                  "FaceValue": 87.5,
                  "SellingPrice": 105,
                  "DirectBookingUrl": "https://ltdtest.londontheatredirect.com/DirectBooking.ashx?performanceId=338153&nbTickets={0}",
                  "TicketArea": "Stalls",
                  "TicketId": 137584736,
                  "IsRestrictedView": false,
                  "RestrictionDescription": null
                },
                {
                  ...
                  "TicketName1": "S",
                  "TicketName2": "4",
                  ...
                }
              ]
            },
            {
              "AreaName": "Royal Circle",
              ...
            }
			...
          ]
        }
      ]
    },
	{
      "EventName": "Mamma Mia!",
      "EventId": 1017,
      "AvailablePerformanceInfos": [
        {
          "PerformanceId": 324130,
          "PerformanceDate": "2017-02-20T19:45:00",
          "MinimumTicketPrice": 18,
          "AvailableTicketInfos": null,
          "AvailableTicketsBlockInfos": [
            {
              "AreaName": "Stalls",
              "SellingPrice": 93,
              "FacePrice": 77.5,
              "AvailableTicketsInfos": [
                {
                  "VenueId": 76,
                  "VenueName": "Novello Theatre",
                  "VenueAddress": "Aldwych",
                  "VenueCity": "London",
                  "TicketName1": "J",
                  "TicketName2": "2",
                  "AdjacencyIndex": 2,
                  "FaceValue": 77.5,
                  "SellingPrice": 93,
                  "DirectBookingUrl": "https://ltdtest.londontheatredirect.com/DirectBooking.ashx?performanceId=324130&nbTickets={0}",
                  "TicketArea": "Stalls",
                  "TicketId": 134359078,
                  "IsRestrictedView": false,
                  "RestrictionDescription": "Premium Tickets"
                },
                {
				  ...
                  "TicketName1": "J",
                  "TicketName2": "3",
                  ...
                }
              ]
            },
            {
              "AreaName": "Stalls",
              ...
            }
		  ]
        }
      ]
	}
  ]
}

Get Preliminary Booking information

related DTO

GET /Events/{eventId}/PreliminaryBookingInfo

Returns a preliminary booking information of all performances for a specified event. Requires number of tickets requested to properly return minimum and maximum ticket price

Request

URI
GET https://api.londontheatredirect.com/rest/v2/Events/{eventId}/PreliminaryBookingInfo?dateFrom={dateFrom}&dateTo={dateTo}&nbOfTickets={nbOfTickets}&consecutiveSeatsOnly={consecutiveSeatsOnly}
Request Headers
Api-Key: [YOUR API KEY]
Content-Type: application/json
Variables
Variable Requirement Data type Example Additional information
EventId required Integer 9 event identifier
DateFrom required DateTime 2017-02-24 minimal valid date and time of performances
DateTo required DateTime 2017-02-28 maximal valid date and time of performances
NbOfTickets required Integer 2 maximal valid date and time of performances
ConsecutiveSeatsOnly required Boolean true flag indicating whether you are interested only in immediately consecutive seats

Response

Name Data type Additional information
Performances Collection of PreliminaryPerformanceInfo preliminary performance information
{
  "Performances": [
    {
      "PerformanceId": 338153,
      "PerformanceDate": "2017-02-21T19:30:00",
      "MinimalTicketPrice": 105,
      "MaximalTicketPrice": 150
    },
    {
      "PerformanceId": 338154,
      "PerformanceDate": "2017-02-22T14:30:00",
      "MinimalTicketPrice": 57.5,
      "MaximalTicketPrice": 150
    },
    {
      "PerformanceId": 338155,
      "PerformanceDate": "2017-02-22T19:30:00",
      "MinimalTicketPrice": 105,
      "MaximalTicketPrice": 150
    },
    {
      "PerformanceId": 338156,
      "PerformanceDate": "2017-02-23T19:30:00",
      "MinimalTicketPrice": 47.5,
      "MaximalTicketPrice": 150
    }
  ]
}

Get Event Reviews

related DTO

GET Events/{eventId}/Reviews

Returns reviews for a specified event. By default it returns 10 reviews ordered by created datetime descending

Request

URI
GET https://api.londontheatredirect.com/rest/v2/Events/{eventId}/Reviews?order={reviewsOrder}&count={nbOfReviews}&from={nbFrom}
Request Headers
Api-Key: [YOUR API KEY]
Content-Type: application/json
Variables
Variable Requirement Data type Example Additional information
EventId required Integer 9 event identifier
ReviewsOrder not required Integer 2 Enum ReviewsOrder (0 - DateDescending is set by default)
NbOfReviews not required Integer 20 count of reviews returned (10 is set by default)
NbFrom not required Integer 20 count of reviews skipped (0 is set by default)

Response

Name Data type Additional information
Reviews Collection of Review contains information about a review
ReviewsCount Integer reviews count
AverageRating Decimal number average rating
HighestPossibleRating Integer highest possible rating
CurrentReviewsCount Integer selected reviews count
CurrentReviewsFrom Integer selected reviews skipped
{
  "Reviews": [
    {
      "ConsumerName": "Di Virgin",
      "Stars": 5,
      "CreatedAt": "2017-02-05T17:25:20.87",
      "Content": "what an amazing show, it gave me goosebumps"
    },
    {
      "ConsumerName": "Emily Whiteley",
      "Stars": 5,
      "CreatedAt": "2017-02-05T10:47:00.527",
      "Content": "This production was amazing. I couldn't get over how much the stage moves through each scene! I took my 8 year old daughter to see this and she was in awe. It is definately one u would see again"
    },
    {
      "ConsumerName": "James Matthews",
      "Stars": 5,
      "CreatedAt": "2017-02-05T10:27:31.27",
      "Content": "We took our 2 teenage granddaughters to see this show and we all thoroughly enjoyed it. The girls were wowed. It was absolutely brilliant and a great afternoon."
    }
  ],
  "ReviewsCount": 3043,
  "AverageRating": 4.7,
  "HighestPossibleRating": 5,
  "CurrentReviewsCount": 3,
  "CurrentReviewsFrom": 0
}