GET api/v{version}/venue?page={page}&pageSize={pageSize}

Get all the venues from the system.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
page

integer

Default value is 0

pageSize

integer

Default value is 0

version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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.

Url

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VenueId": 1,
    "Name": "sample string 2",
    "Address": "sample string 3",
    "City": "sample string 4",
    "Area": "sample string 5",
    "CountryCode": "sample string 6",
    "Meta": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "LastUpdated": "2023-12-07T06:45:34.7828243+01:00",
    "Url": "sample string 12"
  },
  {
    "VenueId": 1,
    "Name": "sample string 2",
    "Address": "sample string 3",
    "City": "sample string 4",
    "Area": "sample string 5",
    "CountryCode": "sample string 6",
    "Meta": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "LastUpdated": "2023-12-07T06:45:34.7828243+01:00",
    "Url": "sample string 12"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVenueViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <VenueViewModel>
    <Address>sample string 3</Address>
    <Area>sample string 5</Area>
    <Attachment>sample string 7</Attachment>
    <AttachmentContentType>sample string 8</AttachmentContentType>
    <AttachmentDescription>sample string 10</AttachmentDescription>
    <AttachmentPhotographer>sample string 9</AttachmentPhotographer>
    <City>sample string 4</City>
    <CountryCode>sample string 6</CountryCode>
    <LastUpdated>2023-12-07T06:45:34.7828243+01:00</LastUpdated>
    <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Meta>
    <Name>sample string 2</Name>
    <Url>sample string 12</Url>
    <VenueId>1</VenueId>
  </VenueViewModel>
  <VenueViewModel>
    <Address>sample string 3</Address>
    <Area>sample string 5</Area>
    <Attachment>sample string 7</Attachment>
    <AttachmentContentType>sample string 8</AttachmentContentType>
    <AttachmentDescription>sample string 10</AttachmentDescription>
    <AttachmentPhotographer>sample string 9</AttachmentPhotographer>
    <City>sample string 4</City>
    <CountryCode>sample string 6</CountryCode>
    <LastUpdated>2023-12-07T06:45:34.7828243+01:00</LastUpdated>
    <Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </Meta>
    <Name>sample string 2</Name>
    <Url>sample string 12</Url>
    <VenueId>1</VenueId>
  </VenueViewModel>
</ArrayOfVenueViewModel>