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.

Address

The address 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.

Attachment

The link to the attachment

string

None.

AttachmentContentType

Type of attachment

string

None.

AttachmentPhotographer

Name of the photographer

string

None.

AttachmentDescription

Short description of the attachment

string

None.

Meta

Provides list of meta data about the entity

Dictionary of string [key] and string [value]

None.

LastUpdated

When is this entry updated

date

None.

Response Formats

application/json, text/json

Sample:
{
  "VenueId": 1,
  "Name": "Ahoy Stadium",
  "Address": null,
  "City": "Rotterdam",
  "Area": "Netherlands",
  "CountryCode": "NLD",
  "Attachment": null,
  "AttachmentContentType": null,
  "AttachmentPhotographer": null,
  "AttachmentDescription": null,
  "Meta": null,
  "LastUpdated": "0001-01-01T00:00:00"
}

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">
  <Address i:nil="true" />
  <Area>Netherlands</Area>
  <Attachment i:nil="true" />
  <AttachmentContentType i:nil="true" />
  <AttachmentDescription i:nil="true" />
  <AttachmentPhotographer i:nil="true" />
  <City>Rotterdam</City>
  <CountryCode>NLD</CountryCode>
  <LastUpdated>0001-01-01T00:00:00</LastUpdated>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <Name>Ahoy Stadium</Name>
  <VenueId>1</VenueId>
</VenueViewModel>