GET api/v{version}/venue/details?id={id}

Get the details of a venue.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The id of the venue. The ids are returned by the api/v2/venue call.

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Returns the name, city and country. If the venue isn't found a 404 is returned.

VenueViewModel
NameDescriptionTypeAdditional information
VenueId

Unique id.

integer

None.

Name

Name of the venue.

string

None.

City

The location of the venue.

string

None.

Area

The country of the venue.

string

None.

CountryCode

A three letter country code.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "VenueId": 1,
  "Name": "Ahoy Stadium",
  "City": "Rotterdam",
  "Area": "Netherlands",
  "CountryCode": "NLD"
}

application/xml, text/xml

Sample:
<VenueViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <Area>Netherlands</Area>
  <City>Rotterdam</City>
  <CountryCode>NLD</CountryCode>
  <Name>Ahoy Stadium</Name>
  <VenueId>1</VenueId>
</VenueViewModel>