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(1531972446000+0100)\/","Code":1000,"Message":"API Error","Details":""}}
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