GetVenueByID

Description

Gets the venue by ID.

Url Template

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

Sample URL

https://api.seatwave.com/v2/discovery/venue/427?apikey=4739E4694D0E482A92C9D0B478D83934

Authentication

Supply a valid API key via the apikey query string.

Parameters

  • venueId ID of venue
  • apiKey Valid API key required for authentication
  • siteId Detemines the language and currency of the data in the response

Response

VenueResponse

JSON
{"Status":{"Version":"2.0","TimeStampUtc":"\/Date(1542361056000+0000)\/","Code":0,"Message":"Success","Details":""},"Venue":{"Id":427,"Name":"The O2 Arena","Address":{"Line1":"Millennium Way","Line2":"Greenwich","Town":"London","County":"Greater London","PostCode":"SE10      ","Country":"UK"},"Lat":51.496845,"Long":0.005295,"SwURL":"https:\/\/www.seatwave.com\/the-o2-arena-tickets\/venue?affid=167&appid=20115826","ImageURL":"https:\/\/f.stwv.im\/filestore\/venue\/image\/theo2arena_427_8_1_20121206105948.gif"}}
XML

  • Venue
    • Id The id
    • Name The name
    • Address The address.
    • Lat Latitude
    • Long Longitude
    • SwURL URL of the Seatwave venue page. This will redirect via an affiliate platform when one has been specified.
    • ImageURL The venue image URL.
  • 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