Countries

A collection of deprecated endpoints for countries.

Search events in countryDeprecated

Response only contains events with a status of ONLINE.

Request
path Parameters
countryId
required
integer (Country ID)

The country's numeric ID.

query Parameters
limit
integer <= 100
Default: 10

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

Using a value greater than the maximum is ignored and the maximum number of possible results is used instead.

offset
integer >= 0
Default: 0

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

priority_city
integer (City ID) >= 1

Sort results so that activities which belong to the requested city appear first.

Returns a 400 status code response if the city does not belong to the country.

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-Market
string (Musement market)
Default: us

Musement markets contain a modified catalog of activities and prices. Partners are expected to use their assigned market code to view their customized catalog.

An invalid X-Musement-Market value will return a 400 status code response.

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

Events in country

400

Bad request: there are errors in the request

401

Unauthorized: token is not valid

404

Resource not found

503

Service unavailable

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