GetEventByID

Description

Gets the event by ID.

Url Template

https://api.seatwave.com/v2/discovery/event/{eventId}?apikey={apiKey}&siteId={siteid}

Sample URL

https://api.seatwave.com/v2/discovery/event/520365?apikey=4739E4694D0E482A92C9D0B478D83934

Authentication

Supply a valid API key via the apikey query string.

Parameters

  • eventId ID of event group
  • apiKey Valid API key required for authentication
  • siteId Detemines the language and currency of the data in the response

Response

EventResponse

JSON
{"Status":{"Version":"2.0","TimeStampUtc":"\/Date(1524252739000+0100)\/","Code":0,"Message":"Success","Details":""},"Event":{"Id":520365,"Date":"\/Date(1340550000000+0100)\/","EventGroupName":"Red Hot Chili Peppers","VenueName":"Sunderland Stadium Of Light","Town":"Sunderland","Country":"UK","TicketCount":0,"Currency":"GBP","MinPrice":0,"SwURL":"http:\/\/www.seatwave.com\/red-hot-chilli-peppers-tickets\/sunderland-stadium-of-light-tickets\/24-june-2012\/perf\/520365?affid=167&appid=20115826","EventGroupImageURL":"http:\/\/stwv-s3.global.ssl.fastly.net\/filestore\/season\/image\/redhotchilipeppers_702_1_1_20161124161537.jpg","LayoutId":7913,"EventGroupId":702,"VenueId":7089,"OnSaleDate":"\/Date(1320224444000+0000)\/","SwSellURL":"http:\/\/www.seatwave.com\/sellticketdetails?performanceId=520365&affid=167&appid=20115826"}}
XML

  • Event
    • Id The id
    • Date Date and time of the event
    • EventGroupName The name of the artist, performer, sports team etc.
    • Details Additional details such as the name of the support act or in the case of a sports event Team A vs Team B
    • VenueName Name of the venue
    • Town The venue town
    • Country The venue country
    • TicketCount The number of available tickets
    • Currency The minimum price currency (standard 3 letter code)
    • MinPrice The mininum price price of a ticket
    • SwURL URL of the Seatwave event page. This will redirect via an affiliate platform when one has been specified.
    • EventGroupImageURL Artist or performer image URL
    • LayoutId ID of the seating layout
    • EventGroupId ID of the parent event group
    • VenueID ID of the venue
  • Status A status object is returned with every response. It contains details of the success or failure of the request.
    • Version API version
    • TimeStampUtc UTC time stamp
    • Code Error code, 0 indicates success
      = 0: Success
      = 1: Missing / Invalid Version Number
      = 10: Missing / Invalid API Key
      = 11: Missing / Invalid Time Stamp
      = 12: Missing / Invalid Token
      = 20: Authorisation Error
      = 21: Not authorised to access purchase
      = 22: Not authorised to access posting
      = 30: Invalid Input
      = 31: Invalid Client Delivery Details
      = 100: Unable to hold tickets
      = 101: Unable to confirm tickets
      = 200: Unable to hold tickets
      = 1000: API Error
    • Message Code description
    • DelegateAuthorisationCode Error code, 0 indicates success
    • DelegateAuthorisationMessage Authorisation code description
    • Details Further details of the error