Venues

A collection of deprecated endpoints for venues.

Search events in venueDeprecated

Response only contains activities with a status of ONLINE.

Request
path Parameters
venueId
required
integer

Numeric ID for venue

query Parameters
category
integer (Category ID) >= 1

Filter results by category.

city
integer (City ID) >= 1

The numeric ID of the city.

flavour
integer >= 1

Filter results by flavour. Parameter expects a single flavour ID.

limit
integer [ 1 .. 100 ]
Default: 10

Limit the maximum number of activities to include in the response.

offset
integer >= 0
Default: 0

Exclude the first N results from the response, where N is the specified integer value.

vertical
integer (Vertical ID) >= 1
Deprecated

The numeric ID of the vertical.

header Parameters
Accept-Language
string (Language code)
Default: en-US

The value of this parameter might affect the language of the content in the response, provided a translation in the requested language is available.

X-Musement-Application
string (Application value)

A partner's application value, used for analyzing API usage and to identify areas of improvement.

X-Musement-Currency
string (Currency code)
Default: USD

A valid currency code from the /currencies endpoint. Default value may vary depending on the X-Musement-Market header value.

X-Musement-Version
string^[0-9]+?.[0-9]+?.[0-9]+?$

The API version to use for the request.

When absent, the latest version is used by default, however the latest version may not be stable. Partners are encouraged to use the latest stable version: 3.4.0.

Example: 3.4.0
Responses
200

Activities in venue

302

Found: when the limit parameter is greater than the maximum, the endpoint is redirected with limit={maximum}

401

Unauthorized: token is not valid

404

Resource not found

503

Service unavailable

get/venues/{venueId}/events
Request samples
curl -i -X GET \
  'https://sandbox.musement.com/api/v3/venues/{venueId}/events?category=1&city=1&flavour=1&limit=10&offset=0&vertical=1' \
  -H 'Accept-Language: en-US' \
  -H 'X-Musement-Application: string' \
  -H 'X-Musement-Currency: USD' \
  -H 'X-Musement-Version: 3.4.0'
Response samples
application/json
[
  • {
    }
]