Returns all SubAreas in the system.

GET /api/subareas HTTP/1.1
Host: event.stockholmpride.org
Accept: application/json, text/json

Request Information

Path Parameters

No parameters

Body Parameters

None


Response Information

Resource Description

Collection of SubArea

Name Description
ID Area ID
Name Area name (short)
FullName Full name of the area
Color HTML color code
Location Location name (if the area only consist of one location)
Address Address from the location (if the area only consist of one location)
Info Short description
ExternalUrl External URL for more information about the area
EventCount Number of events in the area
OccationCount Number of event occations in the area
Days The days when events take place in the area

Response Formats

application/json (.json) text/json
[
  {
    "id": 1,
    "name": "sample string 2",
    "fullName": "sample string 3",
    "color": "sample string 4",
    "location": "sample string 5",
    "address": "sample string 6",
    "info": {
      "en": "english string 7",
      "sv": "swedish string 7"
    },
    "externalUrl": "sample string 8",
    "eventCount": 1,
    "occationCount": 1,
    "days": [
      {
        "date": "2019-09-17",
        "name": "tisdag 17 september",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "priceInfo": "sample string 2",
        "occationCount": 3
      },
      {
        "date": "2019-09-17",
        "name": "tisdag 17 september",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "priceInfo": "sample string 2",
        "occationCount": 3
      }
    ]
  },
  {
    "id": 1,
    "name": "sample string 2",
    "fullName": "sample string 3",
    "color": "sample string 4",
    "location": "sample string 5",
    "address": "sample string 6",
    "info": {
      "en": "english string 7",
      "sv": "swedish string 7"
    },
    "externalUrl": "sample string 8",
    "eventCount": 1,
    "occationCount": 1,
    "days": [
      {
        "date": "2019-09-17",
        "name": "tisdag 17 september",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "priceInfo": "sample string 2",
        "occationCount": 3
      },
      {
        "date": "2019-09-17",
        "name": "tisdag 17 september",
        "opens": "00:00:00",
        "closes": "00:00:00",
        "ticketOpens": "00:00:00",
        "ticketCloses": "00:00:00",
        "priceInfo": "sample string 2",
        "occationCount": 3
      }
    ]
  }
]