GetPriceBreakdown

Description

Gets the price breakdown.

Url Template

https://api.seatwave.com/v2/discovery/pricebreakdown/{ticketGroupId}/{quantity}/{currencyCode}/{countryCode}?apikey={apiKey}&siteId={siteid}

Sample URL

https://api.seatwave.com/v2/discovery/pricebreakdown/T7588670/2/GBP/GB?apikey=4739E4694D0E482A92C9D0B478D83934

Authentication

Supply a valid API key via the apikey query string.

Parameters

  • ticketGroupId ID of ticket group
  • quantity ticket quantity
  • currencyCode Standard 3 letter currency code representing the pricing currency, restricted to GBP, EUR, USD or CAD
  • countryCode Standard 2 letter currency code representing the delivery country.
  • apiKey Valid API key required for authentication
  • siteId Detemines the language and currency of the data in the response

Response

PriceBreakdownResponse

JSON
{"Status":{"Version":"2.0","TimeStampUtc":"\/Date(1524252734000+0100)\/","Code":1000,"Message":"API Error","Details":""}}
XML

  • PriceBreakdown
  • 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