GetLayoutByID

Description

Gets the layout by ID.

Url Template

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

Sample URL

https://api.seatwave.com/v2/discovery/layout/2592?apikey=4739E4694D0E482A92C9D0B478D83934

Authentication

Supply a valid API key via the apikey query string.

Parameters

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

Response

LayoutResponse

JSON
{"Status":{"Version":"2.0","TimeStampUtc":"\/Date(1537372265000+0100)\/","Code":0,"Message":"Success","Details":""},"Layout":{"Id":2592,"Name":"The O2 Arena_Seating (no blocks D)_SVG","SeatMapUrl":"http:\/\/stwv-s3.global.ssl.fastly.net\/filestore\/layout\/image\/theo2arena_endstageseating_svg_2592_10_1_20150306162910.gif","SeatBlocks":[{"BlockId":275690,"Description":"A1","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275691,"Description":"B1","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275692,"Description":"C1","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275693,"Description":"C3","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275694,"Description":"C2","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275695,"Description":"B3","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275696,"Description":"B2","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275697,"Description":"A3","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275698,"Description":"A2","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275699,"Description":"422","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275700,"Description":"410","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275701,"Description":"421","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275702,"Description":"411","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275703,"Description":"402","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275704,"Description":"401","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275705,"Description":"407","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275706,"Description":"404","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275707,"Description":"405","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275708,"Description":"409","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275709,"Description":"403","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275710,"Description":"408","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275711,"Description":"417","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275712,"Description":"415","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275713,"Description":"413","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275714,"Description":"419","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275715,"Description":"414","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275716,"Description":"420","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275717,"Description":"416","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275718,"Description":"406","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275719,"Description":"418","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275720,"Description":"412","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275721,"Description":"104","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275722,"Description":"109","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275723,"Description":"106","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275724,"Description":"105","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275725,"Description":"102","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275726,"Description":"101","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275727,"Description":"116","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275728,"Description":"108","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275729,"Description":"111","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275730,"Description":"110","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275731,"Description":"113","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275732,"Description":"112","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275733,"Description":"117","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275734,"Description":"115","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275735,"Description":"103","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275736,"Description":"107","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275737,"Description":"114","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275738,"Description":"118","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null},{"BlockId":275739,"Description":"stage","XCoordinate":0,"YCoordinate":0,"ThreeDViewUrl":null}],"VenueId":427}}
XML

  • Layout A layout describes a particular seating arrangement within a venue
    • Id The id.
    • Name The name.
    • SeatMapUrl Seat map image URL, showing the arrangement of seats within the venue
    • SeatBlocks A list of the seat blocks within the venue.
    • VenueId The venue id
  • 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